Show More
@@ -1381,7 +1381,8 b' def debugbuilddag(ui, repo, text=None,' | |||
|
1381 | 1381 | at = -1 |
|
1382 | 1382 | atbranch = 'default' |
|
1383 | 1383 | nodeids = [] |
|
1384 | ui.progress(_('building'), 0, unit=_('revisions'), total=total) | |
|
1384 | id = 0 | |
|
1385 | ui.progress(_('building'), id, unit=_('revisions'), total=total) | |
|
1385 | 1386 | for type, data in dagparser.parsedag(text): |
|
1386 | 1387 | if type == 'n': |
|
1387 | 1388 | ui.note('node %s\n' % str(data)) |
@@ -86,18 +86,19 b' glog' | |||
|
86 | 86 | o 0: r0 [] @ 0.00 |
|
87 | 87 | |
|
88 | 88 | |
|
89 | overwritten files | |
|
89 | overwritten files, starting on a non-default branch | |
|
90 | 90 | |
|
91 | 91 | $ rm -r .hg |
|
92 | 92 | $ hg init |
|
93 |
$ hg debugbuilddag ' |
|
|
93 | $ hg debugbuilddag '@start.@default.:f +3:p2 @temp <f+4 @default /p2 +2' -q -o | |
|
94 | 94 | tags |
|
95 | 95 | $ cat .hg/localtags |
|
96 | 2a8ed67d317e370eac733dccc501b12d7b9c441a f | |
|
97 | 4226a30965b7af58f94d0cda7e6c2c9c63e6bf90 p2 | |
|
96 | f778700ebd50fcf282b23a4446bd155da6453eb6 f | |
|
97 | bbccf169769006e2490efd2a02f11c3d38d462bd p2 | |
|
98 | 98 | dag |
|
99 | 99 | $ hg debugdag -t -b |
|
100 | +2:f | |
|
100 | @start+1 | |
|
101 | @default+1:f | |
|
101 | 102 | +3:p2 |
|
102 | 103 | @temp*f+3 |
|
103 | 104 | @default*/p2+2:tip |
@@ -128,7 +129,7 b' glog' | |||
|
128 | 129 | |/ |
|
129 | 130 | o 1: r1 [] @ 1.00 |
|
130 | 131 | | |
|
131 | o 0: r0 [] @ 0.00 | |
|
132 | o 0: r0 [start] @ 0.00 | |
|
132 | 133 | |
|
133 | 134 | glog of |
|
134 | 135 | $ hg glog --template '{rev}: {desc} [{branches}]\n' of |
@@ -154,13 +155,13 b' glog of' | |||
|
154 | 155 | |/ |
|
155 | 156 | o 1: r1 [] |
|
156 | 157 | | |
|
157 | o 0: r0 [] | |
|
158 | o 0: r0 [start] | |
|
158 | 159 | |
|
159 | 160 | tags |
|
160 | 161 | $ hg tags -v |
|
161 |
tip 11: |
|
|
162 |
p2 4: |
|
|
163 |
f 1: |
|
|
162 | tip 11:9ffe238a67a2 | |
|
163 | p2 4:bbccf1697690 local | |
|
164 | f 1:f778700ebd50 local | |
|
164 | 165 | cat of |
|
165 | 166 | $ hg cat of --rev tip |
|
166 | 167 | r11 |
General Comments 0
You need to be logged in to leave comments.
Login now