2015-10-06 21:48:22 +03:00
|
|
|
$ extpath=`dirname $TESTDIR`
|
2018-01-03 17:15:47 +03:00
|
|
|
$ cp $extpath/hgext/remotenames.py $TESTTMP # use $TESTTMP substitution in message
|
2015-10-06 21:48:22 +03:00
|
|
|
$ cat >> $HGRCPATH << EOF
|
|
|
|
> [extensions]
|
2018-01-03 17:15:47 +03:00
|
|
|
> remotenames=
|
2015-10-06 21:48:22 +03:00
|
|
|
> EOF
|
|
|
|
|
|
|
|
Setup repo
|
|
|
|
|
|
|
|
$ hg init repo
|
|
|
|
$ cd repo
|
|
|
|
$ echo 'foo' > a.txt
|
|
|
|
$ hg add a.txt
|
|
|
|
$ hg commit -m 'a'
|
|
|
|
|
|
|
|
Testing bookmark options without args
|
|
|
|
$ hg bookmark a
|
|
|
|
$ hg bookmark b
|
|
|
|
$ hg bookmark -v
|
|
|
|
a 0:2dcb9139ea49
|
|
|
|
* b 0:2dcb9139ea49
|
|
|
|
$ hg bookmark --track a
|
|
|
|
$ hg bookmark -v
|
|
|
|
a 0:2dcb9139ea49
|
|
|
|
* b 0:2dcb9139ea49 [a]
|
|
|
|
$ hg bookmark --untrack
|
|
|
|
$ hg bookmark -v
|
|
|
|
a 0:2dcb9139ea49
|
|
|
|
* b 0:2dcb9139ea49
|