tests/test-remove-new.t
author Patrick Mezard <patrick@mezard.eu>
Mon, 30 Apr 2012 17:05:19 +0200
branchstable
changeset 16555 4955e7bf085c
parent 12327 92e30e135581
permissions -rw-r--r--
subrepo/svn: cache _wcrev() value in merge()

test that 'hg commit' does not crash if the user removes a newly added file

  $ hg init
  $ echo This is file a1 > a
  $ hg add a
  $ hg commit -m "commit #0"
  $ touch b
  $ hg add b
  $ rm b
  $ hg commit -A -m"comment #1"
  removing b
  nothing changed
  [1]