mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +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.
21 lines
322 B
Perl
21 lines
322 B
Perl
Minimal hgk check
|
|
|
|
$ echo "[extensions]" >> $HGRCPATH
|
|
$ echo "hgk=" >> $HGRCPATH
|
|
$ hg init repo
|
|
$ cd repo
|
|
$ echo a > a
|
|
$ hg ci -Am adda
|
|
adding a
|
|
$ hg debug-cat-file commit 0
|
|
tree a0c8bcbbb45c
|
|
parent 000000000000
|
|
author test 0 0
|
|
committer test 0 0
|
|
revision 0
|
|
branch default
|
|
|
|
adda
|
|
|
|
$ cd ..
|