mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
fa1c4e5ebe
Many tests didn't change back from subdirectories at the end of the tests ... and they don't have to. The missing 'cd ..' could always be added when another test case is added to the test file. This change do that tests (99.5%) consistently end up in $TESTDIR where they started, thus making it simpler to extend them or move them around.
18 lines
354 B
Perl
18 lines
354 B
Perl
$ rm -rf a
|
|
$ hg init a
|
|
$ cd a
|
|
$ echo a > a
|
|
$ hg ci -Am0
|
|
adding a
|
|
$ hg tag t1 # 1
|
|
$ hg tag --remove t1 # 2
|
|
|
|
$ hg co 1
|
|
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
|
|
$ hg tag -f -r0 t1
|
|
$ hg tags
|
|
tip 3:a49829c4fc11
|
|
t1 0:f7b1eb17ad24
|
|
|
|
$ cd ..
|