##// END OF EJS Templates
mq: prevent the creation of a queue whose name is already taken...
mq: prevent the creation of a queue whose name is already taken Each check is moved under the code handling the relevant option, and a new one is added for --create. This fixes duplicated entries being added to the queues list.

File last commit:

r11271:d1aca086 default
r11271:d1aca086 default
Show More
test-mq-qqueue.out
36 lines | 899 B | text/plain | TextLexer
/ tests / test-mq-qqueue.out
Henrik Stuart
mq: support multiple patch queues using qqueue
r11229 %% 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
Cédric Duval
mq: prevent the creation of a queue whose name is already taken...
r11271 %% fail creating queue with already existing name
abort: queue "foo" already exists
foo (active)
patches
Henrik Stuart
mq: support multiple patch queues using qqueue
r11229 %% 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)
Henrik Stuart
mq: fix naming issues for qqueue directories
r11270 %% tricky cases
patches
store (active)
popping test
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 ":\/."