view tests/test-remove-new.t @ 12182:1121af239761

tests: extend get-with-headers to support cache testing
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Wed, 08 Sep 2010 15:11:35 +0200
parents 4c94b6d0fb1c
children 4134686b83e1
line wrap: on
line source

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
  $ exit 0