Mercurial > hg
diff tests/test-import @ 6520:ba0b2dacc623
fix import with -p0
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Sat, 12 Apr 2008 22:41:07 -0400 |
parents | bace1990ab12 |
children | 87c704ac92d4 |
line wrap: on
line diff
--- a/tests/test-import Sat Apr 12 21:08:03 2008 +0200 +++ b/tests/test-import Sat Apr 12 22:41:07 2008 -0400 @@ -244,3 +244,20 @@ # and a2 should have duplicated it cat a2 cd .. + +echo % 'test -p0' +hg init p0 +cd p0 +echo a > a +hg ci -Am t +hg import -p0 - << EOF +foobar +--- a Sat Apr 12 22:43:58 2008 -0400 ++++ a Sat Apr 12 22:44:05 2008 -0400 +@@ -1,1 +1,1 @@ +-a ++bb +EOF +hg status +cat a +cd ..