##// END OF EJS Templates
convert/bzr: test tags conversion
Patrick Mezard -
r16062:718b81e8 default
parent child Browse files
Show More
@@ -218,6 +218,8 b' Multiple branches'
218 $ bzr add a
218 $ bzr add a
219 adding a
219 adding a
220 $ bzr ci -qm adda --commit-time '2012-01-01 00:00:01 +0000'
220 $ bzr ci -qm adda --commit-time '2012-01-01 00:00:01 +0000'
221 $ bzr tag trunk-tag
222 Created tag trunk-tag.
221 $ bzr switch -b branch
223 $ bzr switch -b branch
222 Tree is up to date at revision 1.
224 Tree is up to date at revision 1.
223 Switched to branch: *repo/branch/ (glob)
225 Switched to branch: *repo/branch/ (glob)
@@ -225,6 +227,8 b' Multiple branches'
225 $ bzr add b
227 $ bzr add b
226 adding b
228 adding b
227 $ bzr ci -qm addb --commit-time '2012-01-01 00:00:02 +0000'
229 $ bzr ci -qm addb --commit-time '2012-01-01 00:00:02 +0000'
230 $ bzr tag branch-tag
231 Created tag branch-tag.
228 $ bzr switch --force ../repo/trunk
232 $ bzr switch --force ../repo/trunk
229 Updated to revision 1.
233 Updated to revision 1.
230 Switched to branch: */repo/trunk/ (glob)
234 Switched to branch: */repo/trunk/ (glob)
@@ -239,10 +243,21 b' Multiple branches'
239 2 adda
243 2 adda
240 1 addb
244 1 addb
241 0 changea
245 0 changea
246 updating tags
242 $ (cd repo-bzr; glog)
247 $ (cd repo-bzr; glog)
248 o 3@default "update tags" files: .hgtags
249 |
243 o 2@default "changea" files: a
250 o 2@default "changea" files: a
244 |
251 |
245 | o 1@branch "addb" files: b
252 | o 1@branch "addb" files: b
246 |/
253 |/
247 o 0@default "adda" files: a
254 o 0@default "adda" files: a
248
255
256
257 Test tags (converted identifiers are not stable because bzr ones are
258 not and get incorporated in extra fields).
259
260 $ hg -R repo-bzr tags
261 tip 3:* (glob)
262 branch-tag 1:* (glob)
263 trunk-tag 0:* (glob)
General Comments 0
You need to be logged in to leave comments. Login now