tests/test-rebuildstate.t
author Christian Ebert <blacktrash@gmx.net>
Sun, 29 Dec 2013 13:54:04 +0000
changeset 20202 a6014018ec28
parent 16913 f2719b387380
child 23840 ddc17eaf0f1b
permissions -rw-r--r--
util: remove unused realpath (issue4063) util.realpath was in use for only 5 days from dbdb777502dc until it was backed out in c519cd8f0169 because it caused issue3077 and issue3071.

basic test for hg debugrebuildstate

  $ hg init repo
  $ cd repo

  $ touch foo bar
  $ hg ci -Am 'add foo bar'
  adding bar
  adding foo

  $ touch baz
  $ hg add baz
  $ hg rm bar

  $ hg debugrebuildstate

state dump after

  $ hg debugstate --nodates | sort
  n 644         -1 bar
  n 644         -1 foo

status

  $ hg st -A
  ! bar
  ? baz
  C foo

  $ cd ..