Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
6519:a7582980d654 | 6520:ba0b2dacc623 |
---|---|
242 cat a | 242 cat a |
243 echo % view a2 | 243 echo % view a2 |
244 # and a2 should have duplicated it | 244 # and a2 should have duplicated it |
245 cat a2 | 245 cat a2 |
246 cd .. | 246 cd .. |
247 | |
248 echo % 'test -p0' | |
249 hg init p0 | |
250 cd p0 | |
251 echo a > a | |
252 hg ci -Am t | |
253 hg import -p0 - << EOF | |
254 foobar | |
255 --- a Sat Apr 12 22:43:58 2008 -0400 | |
256 +++ a Sat Apr 12 22:44:05 2008 -0400 | |
257 @@ -1,1 +1,1 @@ | |
258 -a | |
259 +bb | |
260 EOF | |
261 hg status | |
262 cat a | |
263 cd .. |