view tests/test-mq-qqueue.out @ 12257:470e0b1ddc6e

tests: unify test-merge-internal-tools-pattern
author Adrian Buehlmann <adrian@cadifra.com>
date Sat, 11 Sep 2010 20:04:35 +0200
parents 6e3875a80533
children
line wrap: on
line source

%% default queue
patches (active)
%% applied patches in default queue
somestuff
%% try to change patch (create succeeds, switch fails)
abort: patches applied - cannot set new queue active
foo
patches (active)
%% empty default queue
popping somestuff
patch queue now empty
%% switch queue
foo (active)
patches
%% list queues, quiet
foo
patches
%% fail creating queue with already existing name
abort: queue "foo" already exists
foo (active)
patches
%% create new queue for rename
bar (active)
foo
patches
%% rename queue, same name
abort: can't rename "bar" to its current name
%% rename queue to existing
abort: queue "foo" already exists
%% rename queue
buz (active)
foo
patches
%% switch back to previous queue
foo (active)
patches
%% create queue for purge
foo
patches
purge-me (active)
%% create patch for purge
.hg/patches-purge-me
popping patch-purge-me
patch queue now empty
%% purge queue
foo (active)
patches
%% unapplied patches
%% fail switching back
abort: patches applied - cannot set new queue active
%% fail deleting current
abort: cannot delete currently active queue
%% switch back and delete foo
popping otherstuff
patch queue now empty
patches (active)
%% tricky cases
patches
store (active)
popping journal
patch queue now empty
somestuff
%% invalid names
abort: invalid queue name, may not contain the characters ":\/."
abort: invalid queue name, may not contain the characters ":\/."