# HG changeset patch # User Adrian Buehlmann # Date 1307036597 -7200 # Node ID 5a931246afc5fd8eae2620c170a3f9cf4f80169e # Parent 842a9179132c34f3b7c23edab67fcbb2f7bdd82b test-copy2: add case for moving a missing file diff -r 842a9179132c -r 5a931246afc5 tests/test-copy2.t --- a/tests/test-copy2.t Thu Jun 02 00:43:34 2011 +0300 +++ b/tests/test-copy2.t Thu Jun 02 19:43:17 2011 +0200 @@ -27,6 +27,13 @@ A foo $ hg commit -m1 +moving a missing file + $ rm foo + $ hg mv foo foo3 + foo: deleted in working copy + foo3 does not exist! + $ hg up -qC . + copy --after to a nonexistant target filename $ hg cp -A foo dummy foo: not recording copy - dummy does not exist