mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 17:27:53 +03:00
7fa918cefd
Summary: Also change the internal API so it no longer accepts the "heads" argument. Reviewed By: ryanmce Differential Revision: D6745865 fbshipit-source-id: 368742be49b192f7630421003552d0a10eb0b76d
39 lines
706 B
Perl
39 lines
706 B
Perl
https://bz.mercurial-scm.org/842
|
|
|
|
$ hg init
|
|
$ echo foo > a
|
|
$ hg ci -Ama
|
|
adding a
|
|
|
|
$ hg up -r0000
|
|
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
|
|
|
|
$ echo bar > a
|
|
|
|
Should issue new head warning:
|
|
|
|
$ hg ci -Amb
|
|
adding a
|
|
|
|
$ hg up -r0000
|
|
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
|
|
|
|
$ echo stuffy > a
|
|
|
|
Should not issue new head warning:
|
|
|
|
$ hg ci -q -Amc
|
|
|
|
$ hg up -r0000
|
|
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
|
|
|
|
$ echo crap > a
|
|
$ hg branch testing
|
|
marked working directory as branch testing
|
|
(branches are permanent and global, did you want a bookmark?)
|
|
|
|
Should not issue warning:
|
|
|
|
$ hg ci -q -Amd
|
|
|