tests/test-remove-new.t
author Mads Kiilerich <mads@kiilerich.com>
Fri, 26 Aug 2011 16:23:35 +0200
branchstable
changeset 15055 d629f1e89021
parent 12327 92e30e135581
permissions -rw-r--r--
subrepo: fix cloning of repos from urls without slash after host (issue2970) This fixes a regression introduced with the new url handling in 1.9. This should perhaps be fixed in the url class instead, but that might be too invasive for a stable bugfix.

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]