tests/test-rebuildstate.t
author Matt Mackall <mpm@selenic.com>
Fri, 31 Jul 2015 10:49:15 -0500
branchstable
changeset 25887 21aa1c313b05
parent 23840 ddc17eaf0f1b
child 27174 9fbe3545e4bd
permissions -rw-r--r--
i18n: fix unclosed inline span in pt_BR This was causing test-gendoc.t to complain: WARNING: Inline interpreted text or phrase reference start-string without end-string.

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 set                 bar
  n 644         -1 set                 foo

status

  $ hg st -A
  ! bar
  ? baz
  C foo

  $ cd ..