tests/test-dirstate-nonnormalset.t
author Valentin Gatien-Baron <vgatien-baron@janestreet.com>
Fri, 06 Aug 2021 16:17:17 -0400
changeset 47915 308e843f24b1
parent 45788 ed84a4d48910
permissions -rw-r--r--
test: reduce noise, so the important bits stand out Differential Revision: https://phab.mercurial-scm.org/D11264

  $ cat >> $HGRCPATH << EOF
  > [command-templates]
  > log="{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