mirror of
https://github.com/facebook/sapling.git
synced 2025-01-07 14:10:42 +03:00
30 lines
764 B
Perl
30 lines
764 B
Perl
$ extpath=`dirname $TESTDIR`
|
|
$ cp $extpath/hgext/remotenames.py $TESTTMP # use $TESTTMP substitution in message
|
|
$ cat >> $HGRCPATH << EOF
|
|
> [extensions]
|
|
> remotenames=
|
|
> 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
|