summaryrefslogtreecommitdiff
path: root/tests/test-remove-new.t
blob: fcc633a8288a61bd294b2f1eebb4261c03e40583 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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]