2016-08-11 20:43:06 +03:00
|
|
|
|
|
|
|
Set up
|
|
|
|
$ cat >> $HGRCPATH << EOF
|
|
|
|
> [experimental]
|
|
|
|
> evolution=all
|
|
|
|
> [extensions]
|
2018-01-09 14:06:09 +03:00
|
|
|
> fbamend=
|
|
|
|
> tweakdefaults=
|
2016-08-11 20:43:06 +03:00
|
|
|
> EOF
|
|
|
|
|
2016-08-15 20:45:19 +03:00
|
|
|
Test hg bookmark works with hidden commits
|
2016-08-11 20:43:06 +03:00
|
|
|
|
|
|
|
$ hg init repo1
|
|
|
|
$ cd repo1
|
|
|
|
$ touch a
|
|
|
|
$ hg commit -A a -m a
|
|
|
|
$ echo 1 >> a
|
|
|
|
$ hg commit a -m a1
|
|
|
|
$ hg prune da7a5140a611 -q
|
2017-09-27 16:43:51 +03:00
|
|
|
advice: 'hg hide' provides a better UI for hiding commits
|
2016-08-11 20:43:06 +03:00
|
|
|
$ hg bookmark b -r da7a5140a611 -q
|
|
|
|
|
|
|
|
Same test but with remotenames enabled
|
|
|
|
|
|
|
|
$ . $TESTDIR/require-ext.sh remotenames
|
|
|
|
$ hg bookmark b2 -r da7a5140a611 -q --config extensions.remotenames=
|