diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2011-10-01 20:49:36 +0000 |
---|---|---|
committer | Lorry <lorry@roadtrain.codethink.co.uk> | 2012-09-27 13:27:51 +0000 |
commit | 921ced43c48c1d170452a7b251b94cc96ec8dd44 (patch) | |
tree | 3c4a89176ea67fe4c7bf7b375488361a823c95fa /tests/test-remove-new.t | |
parent | 9039c805b0a7e36220101323f82735f08a104b37 (diff) | |
download | mercurial-tarball-921ced43c48c1d170452a7b251b94cc96ec8dd44.tar.gz |
Imported from /srv/lorry/lorry-area/mercurial-tarball/mercurial-1.9.3.tar.gz.HEADmercurial-1.9.3master
Diffstat (limited to 'tests/test-remove-new.t')
-rw-r--r-- | tests/test-remove-new.t | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/test-remove-new.t b/tests/test-remove-new.t new file mode 100644 index 0000000..fcc633a --- /dev/null +++ b/tests/test-remove-new.t @@ -0,0 +1,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] |