Mercurial > hg
comparison tests/test-mq @ 10149:fa7170d6529f
test-mq: better tests delimitation
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Tue, 29 Dec 2009 16:00:24 +0100 |
parents | 9e2ab10728a2 |
children | 8cb81d75730c |
comparison
equal
deleted
inserted
replaced
10148:fdeffbc9a6cc | 10149:fa7170d6529f |
---|---|
366 cat >>$HGRCPATH <<EOF | 366 cat >>$HGRCPATH <<EOF |
367 [diff] | 367 [diff] |
368 git = False | 368 git = False |
369 EOF | 369 EOF |
370 hg qdiff --git | 370 hg qdiff --git |
371 | 371 cd .. |
372 cd .. | 372 |
373 echo % test file addition in slow path | |
373 hg init slow | 374 hg init slow |
374 cd slow | 375 cd slow |
375 hg qinit | 376 hg qinit |
376 echo foo > foo | 377 echo foo > foo |
377 hg add foo | 378 hg add foo |
392 cat .hg/patches/bar | 393 cat .hg/patches/bar |
393 hg log -v --template '{rev} {file_copies}\n' -r . | 394 hg log -v --template '{rev} {file_copies}\n' -r . |
394 hg qrefresh | 395 hg qrefresh |
395 grep 'diff --git' .hg/patches/bar | 396 grep 'diff --git' .hg/patches/bar |
396 | 397 |
397 echo | 398 echo % test file move chains in the slow path |
398 hg up -C 1 | 399 hg up -C 1 |
399 echo >> foo | 400 echo >> foo |
400 hg ci -m 'change foo again' | 401 hg ci -m 'change foo again' |
401 hg up -C 2 | 402 hg up -C 2 |
402 hg mv bar quux | 403 hg mv bar quux |