mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
tests: unify test-hgk
This commit is contained in:
parent
8043d43725
commit
661bd03f12
@ -1,11 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "[extensions]" >> $HGRCPATH
|
||||
echo "hgk=" >> $HGRCPATH
|
||||
|
||||
hg init repo
|
||||
cd repo
|
||||
echo a > a
|
||||
hg ci -Am adda
|
||||
hg debug-cat-file commit 0
|
||||
|
@ -1,9 +0,0 @@
|
||||
adding a
|
||||
tree a0c8bcbbb45c
|
||||
parent 000000000000
|
||||
author test 0 0
|
||||
committer test 0 0
|
||||
revision 0
|
||||
branch default
|
||||
|
||||
adda
|
18
tests/test-hgk.t
Normal file
18
tests/test-hgk.t
Normal file
@ -0,0 +1,18 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user