tests/test-mq-qqueue.out
author Martin Geisler <mg@lazybytes.net>
Sun, 29 Aug 2010 23:56:19 +0200
changeset 12077 ff6f5310ad92
parent 11967 6e3875a80533
permissions -rw-r--r--
util: add optional path auditor argument to canonpath The canonpath function will default to creating its own path auditor, but in some cases it will be useful to use a specialized auditor, e.g., one that wont abort if a path lies within a subrepository.

%% 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 ":\/."