##// END OF EJS Templates
tests: prove that `hg init` works with Python 3...
tests: prove that `hg init` works with Python 3 The previous patch made `hg init` work!

File last commit:

r27591:127cc7f7 default
r31401:ed23f929 default
Show More
test-dirstate-nonnormalset.t
22 lines | 498 B | text/troff | Tads3Lexer
/ tests / test-dirstate-nonnormalset.t
Laurent Charignon
dirstate: add test for non-normal set consistency...
r27591 $ cat >> $HGRCPATH << EOF
> [ui]
> logtemplate="{rev}:{node|short} ({phase}) [{tags} {bookmarks}] {desc|firstline}\n"
> [extensions]
> dirstateparanoidcheck = $TESTDIR/../contrib/dirstatenonnormalcheck.py
> [experimental]
> nonnormalparanoidcheck = True
> [devel]
> all-warnings=True
> EOF
$ mkcommit() {
> echo "$1" > "$1"
> hg add "$1"
> hg ci -m "add $1"
> }
$ hg init testrepo
$ cd testrepo
$ mkcommit a
$ mkcommit b
$ mkcommit c
$ hg status