##// END OF EJS Templates
Added tests for qpush/qpop with index.
Thomas Arendsen Hein -
r3081:760414dc default
parent child Browse files
Show More
@@ -115,6 +115,19 b' hg push ../../k'
115 echo % qunapplied
115 echo % qunapplied
116 hg qunapplied
116 hg qunapplied
117
117
118 echo % qpush/qpop with index
119 hg qnew test1b.patch
120 echo 1b > 1b
121 hg add 1b
122 hg qrefresh
123 hg qpush 2
124 hg qpop 0
125 hg qpush test.patch+1
126 hg qpush test.patch+2
127 hg qpop test2.patch-1
128 hg qpop test2.patch-2
129 hg qpush test1b.patch+1
130
118 echo % push should succeed
131 echo % push should succeed
119 hg qpop -a
132 hg qpop -a
120 hg push ../../k
133 hg push ../../k
@@ -110,6 +110,19 b' pushing to ../../k'
110 abort: source has mq patches applied
110 abort: source has mq patches applied
111 % qunapplied
111 % qunapplied
112 test2.patch
112 test2.patch
113 % qpush/qpop with index
114 applying test2.patch
115 Now at: test2.patch
116 Now at: test.patch
117 applying test1b.patch
118 Now at: test1b.patch
119 applying test2.patch
120 Now at: test2.patch
121 Now at: test1b.patch
122 Now at: test.patch
123 applying test1b.patch
124 applying test2.patch
125 Now at: test2.patch
113 % push should succeed
126 % push should succeed
114 Patch queue now empty
127 Patch queue now empty
115 pushing to ../../k
128 pushing to ../../k
General Comments 0
You need to be logged in to leave comments. Login now