Mercurial > hg
comparison tests/test-mq @ 4862:cba10652a901
mq: improve qclone error handling when patch directory is not a repository.
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Tue, 10 Jul 2007 09:52:32 -0700 |
parents | 6cb5be6bd70f |
children | bbdcacf7cef8 |
comparison
equal
deleted
inserted
replaced
4861:01ba62729c60 | 4862:cba10652a901 |
---|---|
366 hg init qclonesource | 366 hg init qclonesource |
367 cd qclonesource | 367 cd qclonesource |
368 echo foo > foo | 368 echo foo > foo |
369 hg add foo | 369 hg add foo |
370 hg ci -m 'add foo' | 370 hg ci -m 'add foo' |
371 hg qinit -c | 371 hg qinit |
372 hg qnew patch1 | 372 hg qnew patch1 |
373 echo bar >> foo | 373 echo bar >> foo |
374 hg qrefresh -m 'change foo' | 374 hg qrefresh -m 'change foo' |
375 cd .. | |
376 | |
377 # repo with unversioned patch dir | |
378 hg qclone qclonesource failure | |
379 | |
380 cd qclonesource | |
381 hg qinit -c | |
375 hg qci -m checkpoint | 382 hg qci -m checkpoint |
376 qlog | 383 qlog |
377 cd .. | 384 cd .. |
378 | 385 |
379 # repo with patches applied | 386 # repo with patches applied |