changeset 5953 | e7f1be4bf40a |
parent 5937 | d8878742a924 |
child 6001 | 30d2fecaab76 |
--- a/tests/test-import Fri Jan 25 16:24:00 2008 -0800 +++ b/tests/test-import Fri Jan 25 19:49:15 2008 -0500 @@ -32,6 +32,13 @@ hg --cwd b import -mpatch ../tip.patch rm -r b +echo % import of plain diff with specific date and user +hg clone -r0 a b +hg --cwd a diff -r0:1 > tip.patch +hg --cwd b import -mpatch -d '1 0' -u 'user@nowhere.net' ../tip.patch +hg -R b tip -pv +rm -r b + echo % import of plain diff should be ok with --no-commit hg clone -r0 a b hg --cwd a diff -r0:1 > tip.patch