tests/test-dirstate-nonnormalset.t
author Augie Fackler <raf@durin42.com>
Wed, 01 Aug 2018 10:20:18 -0400
branchstable
changeset 38764 d55e53702ef9
parent 27591 127cc7f78475
child 45765 ed84a4d48910
permissions -rw-r--r--
Added tag 4.7 for changeset 33ac6a72308a

  $ 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