mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
e179789b7b
Summary: Treestate is the only supported dirstate format. Remove test cases about legacy dirstates. Reviewed By: DurhamG Differential Revision: D24340584 fbshipit-source-id: 2ebaa7d5aa9e8639e3ce4caa67c4f93155b52558
25 lines
502 B
Perl
25 lines
502 B
Perl
#chg-compatible
|
|
|
|
$ readconfig <<EOF
|
|
> [ui]
|
|
> logtemplate="{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
|