mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
98ed0fc5b0
Reviewed By: xavierd Differential Revision: D19888129 fbshipit-source-id: 947ea1bd9c5425fe3babcc60d6b885bde8fc4e2f
43 lines
704 B
Perl
43 lines
704 B
Perl
#chg-compatible
|
|
|
|
#chg-compatible
|
|
|
|
#chg-compatible
|
|
|
|
#testcases v0 v1 v2
|
|
|
|
#if v0
|
|
$ setconfig format.dirstate=0
|
|
#endif
|
|
|
|
#if v1
|
|
$ setconfig format.dirstate=1
|
|
#endif
|
|
|
|
#if v2
|
|
$ setconfig format.dirstate=2
|
|
#endif
|
|
|
|
$ readconfig <<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
|