##// END OF EJS Templates
commands: do all branch heads by default, demote topological to -t/--topo
Dirkjan Ochtman -
r10350:fd511e9e default
parent child Browse files
Show More
@@ -1388,27 +1388,24 b' def grep(ui, repo, pattern, *pats, **opt'
1388 def heads(ui, repo, *branchrevs, **opts):
1388 def heads(ui, repo, *branchrevs, **opts):
1389 """show current repository heads or show branch heads
1389 """show current repository heads or show branch heads
1390
1390
1391 With no arguments, show all repository head changesets.
1391 With no arguments, show all repository branch heads.
1392
1392
1393 Repository "heads" are changesets with no child changesets. They are
1393 Repository "heads" are changesets with no child changesets. They are
1394 where development generally takes place and are the usual targets
1394 where development generally takes place and are the usual targets
1395 for update and merge operations.
1395 for update and merge operations. Branch heads are changesets that have
1396
1396 no child changeset on the same branch.
1397 If one or more REV is given, the "branch heads" will be shown for
1397
1398 the named branch associated with the specified changeset(s).
1398 If one or more REVs are given, only branch heads on the branches
1399
1399 associated with the specified changesets are shown.
1400 Branch heads are changesets on a named branch with no descendants on
1401 the same branch. A branch head could be a "true" (repository) head,
1402 or it could be the last changeset on that branch before it was
1403 merged into another branch, or it could be the last changeset on the
1404 branch before a new branch was created. If none of the branch heads
1405 are true heads, the branch is considered inactive.
1406
1400
1407 If -c/--closed is specified, also show branch heads marked closed
1401 If -c/--closed is specified, also show branch heads marked closed
1408 (see hg commit --close-branch).
1402 (see hg commit --close-branch).
1409
1403
1410 If STARTREV is specified, only those heads that are descendants of
1404 If STARTREV is specified, only those heads that are descendants of
1411 STARTREV will be displayed.
1405 STARTREV will be displayed.
1406
1407 If -t/--topo is specified, named branch mechanics will be ignored and only
1408 changesets without children will be shown.
1412 """
1409 """
1413
1410
1414 if opts.get('rev'):
1411 if opts.get('rev'):
@@ -1416,35 +1413,34 b' def heads(ui, repo, *branchrevs, **opts)'
1416 else:
1413 else:
1417 start = None
1414 start = None
1418
1415
1419 closed = opts.get('closed')
1416 if opts.get('topo'):
1420 if not branchrevs:
1417 heads = [repo[h] for h in repo.heads(start)]
1421 heads = repo.heads(start)
1422
1423 else:
1418 else:
1424
1425 decode, encode = encoding.fromlocal, encoding.tolocal
1426 heads = []
1419 heads = []
1427 branches = set(repo[decode(br)].branch() for br in branchrevs)
1428 for b, ls in repo.branchmap().iteritems():
1420 for b, ls in repo.branchmap().iteritems():
1429 if b not in branches:
1430 continue
1431 if start is None:
1421 if start is None:
1432 heads += ls
1422 heads += [repo[h] for h in ls]
1433 continue
1423 continue
1434 startrev = repo.changelog.rev(start)
1424 startrev = repo.changelog.rev(start)
1435 descendants = set(repo.changelog.descendants(startrev))
1425 descendants = set(repo.changelog.descendants(startrev))
1436 descendants.add(startrev)
1426 descendants.add(startrev)
1437 heads += [h for h in ls if repo.changelog.rev(h) in descendants]
1427 rev = repo.changelog.rev
1428 heads += [repo[h] for h in ls if rev(h) in descendants]
1429
1430 if branchrevs:
1431 decode, encode = encoding.fromlocal, encoding.tolocal
1432 branches = set(repo[decode(br)].branch() for br in branchrevs)
1433 heads = [h for h in heads if h.branch() in branches]
1438
1434
1439 if not opts.get('closed'):
1435 if not opts.get('closed'):
1440 heads = [h for h in heads if not repo[h].extra().get('close')]
1436 heads = [h for h in heads if not h.extra().get('close')]
1441
1437
1442 if opts.get('active') and branchrevs:
1438 if opts.get('active') and branchrevs:
1443 dagheads = repo.heads(start)
1439 dagheads = repo.heads(start)
1444 heads = [h for h in heads if h in dagheads]
1440 heads = [h for h in heads if h.node() in dagheads]
1445
1441
1446 if branchrevs:
1442 if branchrevs:
1447 haveheads = set(repo[h].branch() for h in heads)
1443 haveheads = set(h.branch() for h in heads)
1448 if branches - haveheads:
1444 if branches - haveheads:
1449 headless = ', '.join(encode(b) for b in branches - haveheads)
1445 headless = ', '.join(encode(b) for b in branches - haveheads)
1450 msg = _('no open branch heads found on branches %s')
1446 msg = _('no open branch heads found on branches %s')
@@ -1455,7 +1451,7 b' def heads(ui, repo, *branchrevs, **opts)'
1455 if not heads:
1451 if not heads:
1456 return 1
1452 return 1
1457
1453
1458 heads = sorted((repo[h] for h in heads), key=lambda x: -x.rev())
1454 heads = sorted(heads, key=lambda x: -x.rev())
1459 displayer = cmdutil.show_changeset(ui, repo, opts)
1455 displayer = cmdutil.show_changeset(ui, repo, opts)
1460 for ctx in heads:
1456 for ctx in heads:
1461 displayer.show(ctx)
1457 displayer.show(ctx)
@@ -3499,6 +3495,7 b' table = {'
3499 "heads":
3495 "heads":
3500 (heads,
3496 (heads,
3501 [('r', 'rev', '', _('show only heads which are descendants of REV')),
3497 [('r', 'rev', '', _('show only heads which are descendants of REV')),
3498 ('t', 'topo', False, _('show topological heads only')),
3502 ('a', 'active', False,
3499 ('a', 'active', False,
3503 _('show active branchheads only [DEPRECATED]')),
3500 _('show active branchheads only [DEPRECATED]')),
3504 ('c', 'closed', False,
3501 ('c', 'closed', False,
@@ -2,7 +2,7 b''
2
2
3 heads()
3 heads()
4 {
4 {
5 hg heads --template '{rev}: {desc|firstline|strip}\n' "$@"
5 hg heads --template '{rev}: {desc|firstline|strip} ({branches})\n' "$@"
6 }
6 }
7
7
8 hg init a
8 hg init a
@@ -111,3 +111,6 b' done'
111
111
112 echo '======='
112 echo '======='
113 heads 0 1 2 3 4 5 6 7
113 heads 0 1 2 3 4 5 6 7
114
115 echo '% topological heads'
116 heads -t
@@ -1,154 +1,182 b''
1 0: Adding root node
1 0: Adding root node ()
2 -------
2 -------
3 0: Adding root node
3 0: Adding root node ()
4 =======
4 =======
5 marked working directory as branch a
5 marked working directory as branch a
6 1: Adding a branch
6 1: Adding a branch (a)
7 0: Adding root node ()
7 -------
8 -------
8 1: Adding a branch
9 1: Adding a branch (a)
9 =======
10 =======
10 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
11 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
11 marked working directory as branch b
12 marked working directory as branch b
12 created new head
13 created new head
13 2: Adding b branch
14 2: Adding b branch (b)
14 1: Adding a branch
15 1: Adding a branch (a)
16 0: Adding root node ()
15 -------
17 -------
16 2: Adding b branch
18 2: Adding b branch (b)
17 =======
19 =======
18 3: Adding b branch head 1
20 3: Adding b branch head 1 (b)
19 1: Adding a branch
21 1: Adding a branch (a)
22 0: Adding root node ()
20 -------
23 -------
21 3: Adding b branch head 1
24 3: Adding b branch head 1 (b)
22 =======
25 =======
23 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
26 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
24 created new head
27 created new head
25 4: Adding b branch head 2
28 4: Adding b branch head 2 (b)
26 3: Adding b branch head 1
29 3: Adding b branch head 1 (b)
27 1: Adding a branch
30 1: Adding a branch (a)
31 0: Adding root node ()
28 -------
32 -------
29 4: Adding b branch head 2
33 4: Adding b branch head 2 (b)
30 3: Adding b branch head 1
34 3: Adding b branch head 1 (b)
31 =======
35 =======
32 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
36 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
33 created new head
37 created new head
34 5: Adding b branch head 3
38 5: Adding b branch head 3 (b)
35 4: Adding b branch head 2
39 4: Adding b branch head 2 (b)
36 3: Adding b branch head 1
40 3: Adding b branch head 1 (b)
37 1: Adding a branch
41 1: Adding a branch (a)
42 0: Adding root node ()
38 -------
43 -------
39 5: Adding b branch head 3
44 5: Adding b branch head 3 (b)
40 4: Adding b branch head 2
45 4: Adding b branch head 2 (b)
41 3: Adding b branch head 1
46 3: Adding b branch head 1 (b)
42 =======
47 =======
43 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
48 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
44 (branch merge, don't forget to commit)
49 (branch merge, don't forget to commit)
45 6: Merging b branch head 2 and b branch head 3
50 6: Merging b branch head 2 and b branch head 3 (b)
46 3: Adding b branch head 1
51 3: Adding b branch head 1 (b)
47 1: Adding a branch
52 1: Adding a branch (a)
53 0: Adding root node ()
48 -------
54 -------
49 6: Merging b branch head 2 and b branch head 3
55 6: Merging b branch head 2 and b branch head 3 (b)
50 3: Adding b branch head 1
56 3: Adding b branch head 1 (b)
51 =======
57 =======
52 marked working directory as branch c
58 marked working directory as branch c
53 7: Adding c branch
59 7: Adding c branch (c)
54 3: Adding b branch head 1
60 6: Merging b branch head 2 and b branch head 3 (b)
55 1: Adding a branch
61 3: Adding b branch head 1 (b)
62 1: Adding a branch (a)
63 0: Adding root node ()
56 -------
64 -------
57 7: Adding c branch
65 7: Adding c branch (c)
58 =======
66 =======
59 no open branch heads found on branches c (started at 3)
67 no open branch heads found on branches c (started at 3)
60 1
68 1
61 -------
69 -------
62 7: Adding c branch
70 7: Adding c branch (c)
63 0
71 0
64 -------
72 -------
65 0 files updated, 0 files merged, 2 files removed, 0 files unresolved
73 0 files updated, 0 files merged, 2 files removed, 0 files unresolved
66 0
74 0
67 -------
75 -------
68 3: Adding b branch head 1
76 3: Adding b branch head 1 (b)
69 0
77 0
70 -------
78 -------
71 6: Merging b branch head 2 and b branch head 3
79 6: Merging b branch head 2 and b branch head 3 (b)
72 3: Adding b branch head 1
80 3: Adding b branch head 1 (b)
73 0
81 0
74 -------
82 -------
75 no open branch heads found on branches b (started at 7)
83 no open branch heads found on branches b (started at 7)
76 1
84 1
77 =======
85 =======
78 0 files updated, 0 files merged, 2 files removed, 0 files unresolved
86 0 files updated, 0 files merged, 2 files removed, 0 files unresolved
79 7: Adding c branch
87 7: Adding c branch (c)
80 3: Adding b branch head 1
88 6: Merging b branch head 2 and b branch head 3 (b)
81 1: Adding a branch
89 3: Adding b branch head 1 (b)
90 1: Adding a branch (a)
91 0: Adding root node ()
82 -------
92 -------
83 0: Adding root node
93 0: Adding root node ()
84 -------
94 -------
85 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
95 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
86 7: Adding c branch
96 7: Adding c branch (c)
87 3: Adding b branch head 1
97 6: Merging b branch head 2 and b branch head 3 (b)
88 1: Adding a branch
98 3: Adding b branch head 1 (b)
99 1: Adding a branch (a)
100 0: Adding root node ()
89 -------
101 -------
90 1: Adding a branch
102 1: Adding a branch (a)
91 -------
103 -------
92 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
104 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
93 7: Adding c branch
105 7: Adding c branch (c)
94 3: Adding b branch head 1
106 6: Merging b branch head 2 and b branch head 3 (b)
95 1: Adding a branch
107 3: Adding b branch head 1 (b)
108 1: Adding a branch (a)
109 0: Adding root node ()
96 -------
110 -------
97 6: Merging b branch head 2 and b branch head 3
111 6: Merging b branch head 2 and b branch head 3 (b)
98 3: Adding b branch head 1
112 3: Adding b branch head 1 (b)
99 -------
113 -------
100 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
114 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
101 7: Adding c branch
115 7: Adding c branch (c)
102 3: Adding b branch head 1
116 6: Merging b branch head 2 and b branch head 3 (b)
103 1: Adding a branch
117 3: Adding b branch head 1 (b)
118 1: Adding a branch (a)
119 0: Adding root node ()
104 -------
120 -------
105 6: Merging b branch head 2 and b branch head 3
121 6: Merging b branch head 2 and b branch head 3 (b)
106 3: Adding b branch head 1
122 3: Adding b branch head 1 (b)
107 -------
123 -------
108 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
124 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
109 7: Adding c branch
125 7: Adding c branch (c)
110 3: Adding b branch head 1
126 6: Merging b branch head 2 and b branch head 3 (b)
111 1: Adding a branch
127 3: Adding b branch head 1 (b)
128 1: Adding a branch (a)
129 0: Adding root node ()
112 -------
130 -------
113 6: Merging b branch head 2 and b branch head 3
131 6: Merging b branch head 2 and b branch head 3 (b)
114 3: Adding b branch head 1
132 3: Adding b branch head 1 (b)
115 -------
133 -------
116 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
134 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
117 7: Adding c branch
135 7: Adding c branch (c)
118 3: Adding b branch head 1
136 6: Merging b branch head 2 and b branch head 3 (b)
119 1: Adding a branch
137 3: Adding b branch head 1 (b)
138 1: Adding a branch (a)
139 0: Adding root node ()
120 -------
140 -------
121 6: Merging b branch head 2 and b branch head 3
141 6: Merging b branch head 2 and b branch head 3 (b)
122 3: Adding b branch head 1
142 3: Adding b branch head 1 (b)
123 -------
143 -------
124 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
144 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
125 7: Adding c branch
145 7: Adding c branch (c)
126 3: Adding b branch head 1
146 6: Merging b branch head 2 and b branch head 3 (b)
127 1: Adding a branch
147 3: Adding b branch head 1 (b)
148 1: Adding a branch (a)
149 0: Adding root node ()
128 -------
150 -------
129 6: Merging b branch head 2 and b branch head 3
151 6: Merging b branch head 2 and b branch head 3 (b)
130 3: Adding b branch head 1
152 3: Adding b branch head 1 (b)
131 -------
153 -------
132 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
154 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
133 7: Adding c branch
155 7: Adding c branch (c)
134 3: Adding b branch head 1
156 6: Merging b branch head 2 and b branch head 3 (b)
135 1: Adding a branch
157 3: Adding b branch head 1 (b)
158 1: Adding a branch (a)
159 0: Adding root node ()
136 -------
160 -------
137 7: Adding c branch
161 7: Adding c branch (c)
138 -------
162 -------
139 =======
163 =======
140 1: Adding a branch
164 1: Adding a branch (a)
141 -------
165 -------
142 6: Merging b branch head 2 and b branch head 3
166 6: Merging b branch head 2 and b branch head 3 (b)
143 3: Adding b branch head 1
167 3: Adding b branch head 1 (b)
144 -------
168 -------
145 7: Adding c branch
169 7: Adding c branch (c)
146 -------
170 -------
147 abort: unknown revision 'z'!
171 abort: unknown revision 'z'!
148 -------
172 -------
149 =======
173 =======
150 7: Adding c branch
174 7: Adding c branch (c)
151 6: Merging b branch head 2 and b branch head 3
175 6: Merging b branch head 2 and b branch head 3 (b)
152 3: Adding b branch head 1
176 3: Adding b branch head 1 (b)
153 1: Adding a branch
177 1: Adding a branch (a)
154 0: Adding root node
178 0: Adding root node ()
179 % topological heads
180 7: Adding c branch (c)
181 3: Adding b branch head 1 (b)
182 1: Adding a branch (a)
@@ -83,6 +83,24 b' user: test'
83 date: Thu Jan 01 00:00:06 1970 +0000
83 date: Thu Jan 01 00:00:06 1970 +0000
84 summary: Adding d branch
84 summary: Adding d branch
85
85
86 changeset: 6:589736a22561
87 branch: c
88 user: test
89 date: Thu Jan 01 00:00:05 1970 +0000
90 summary: Adding c branch
91
92 changeset: 5:d8cbc61dbaa6
93 branch: a
94 parent: 2:881fe2b92ad0
95 user: test
96 date: Thu Jan 01 00:00:04 1970 +0000
97 summary: Adding b branch head 2
98
99 changeset: 0:19709c5a4e75
100 user: test
101 date: Thu Jan 01 00:00:00 1970 +0000
102 summary: Adding root node
103
86 changeset: 10:bfbe841b666e
104 changeset: 10:bfbe841b666e
87 branch: b
105 branch: b
88 tag: tip
106 tag: tip
@@ -103,6 +121,24 b' user: test'
103 date: Thu Jan 01 00:00:06 1970 +0000
121 date: Thu Jan 01 00:00:06 1970 +0000
104 summary: Adding d branch
122 summary: Adding d branch
105
123
124 changeset: 6:589736a22561
125 branch: c
126 user: test
127 date: Thu Jan 01 00:00:05 1970 +0000
128 summary: Adding c branch
129
130 changeset: 5:d8cbc61dbaa6
131 branch: a
132 parent: 2:881fe2b92ad0
133 user: test
134 date: Thu Jan 01 00:00:04 1970 +0000
135 summary: Adding b branch head 2
136
137 changeset: 0:19709c5a4e75
138 user: test
139 date: Thu Jan 01 00:00:00 1970 +0000
140 summary: Adding root node
141
106 b 8:eebb944467c9
142 b 8:eebb944467c9
107 a branch name much longer than the default justification used by branches 7:10ff5895aa57
143 a branch name much longer than the default justification used by branches 7:10ff5895aa57
108 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
144 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
@@ -149,6 +185,24 b' user: test'
149 date: Thu Jan 01 00:00:06 1970 +0000
185 date: Thu Jan 01 00:00:06 1970 +0000
150 summary: Adding d branch
186 summary: Adding d branch
151
187
188 changeset: 6:589736a22561
189 branch: c
190 user: test
191 date: Thu Jan 01 00:00:05 1970 +0000
192 summary: Adding c branch
193
194 changeset: 5:d8cbc61dbaa6
195 branch: a
196 parent: 2:881fe2b92ad0
197 user: test
198 date: Thu Jan 01 00:00:04 1970 +0000
199 summary: Adding b branch head 2
200
201 changeset: 0:19709c5a4e75
202 user: test
203 date: Thu Jan 01 00:00:00 1970 +0000
204 summary: Adding root node
205
152 % branch default
206 % branch default
153 changeset: 0:19709c5a4e75
207 changeset: 0:19709c5a4e75
154 user: test
208 user: test
@@ -19,11 +19,6 b' adding file changes'
19 added 0 changesets with 0 changes to 4 files
19 added 0 changesets with 0 changes to 4 files
20 (run 'hg update' to get a working copy)
20 (run 'hg update' to get a working copy)
21 ====== Verify empty
21 ====== Verify empty
22 changeset: -1:000000000000
23 tag: tip
24 user:
25 date: Thu Jan 01 00:00:00 1970 +0000
26
27 checking changesets
22 checking changesets
28 checking manifests
23 checking manifests
29 crosschecking files in changesets and manifests
24 crosschecking files in changesets and manifests
@@ -217,6 +217,11 b' user: test'
217 date: Thu Jan 01 00:00:00 1970 +0000
217 date: Thu Jan 01 00:00:00 1970 +0000
218 summary: another change for branch stable
218 summary: another change for branch stable
219
219
220 changeset: 10:a7949464abda
221 user: test
222 date: Thu Jan 01 00:00:00 1970 +0000
223 summary: test
224
220
225
221 % same revision checked out in repo a and ua
226 % same revision checked out in repo a and ua
222 e8ece76546a6
227 e8ece76546a6
@@ -239,6 +244,11 b' user: test'
239 date: Thu Jan 01 00:00:00 1970 +0000
244 date: Thu Jan 01 00:00:00 1970 +0000
240 summary: another change for branch stable
245 summary: another change for branch stable
241
246
247 changeset: 10:a7949464abda
248 user: test
249 date: Thu Jan 01 00:00:00 1970 +0000
250 summary: test
251
242
252
243 % same revision checked out in repo a and ua
253 % same revision checked out in repo a and ua
244 e8ece76546a6
254 e8ece76546a6
@@ -261,6 +271,11 b' user: test'
261 date: Thu Jan 01 00:00:00 1970 +0000
271 date: Thu Jan 01 00:00:00 1970 +0000
262 summary: another change for branch stable
272 summary: another change for branch stable
263
273
274 changeset: 10:a7949464abda
275 user: test
276 date: Thu Jan 01 00:00:00 1970 +0000
277 summary: test
278
264
279
265 % branch stable is checked out
280 % branch stable is checked out
266 changeset: 13:0aae7cf88f0d
281 changeset: 13:0aae7cf88f0d
@@ -206,7 +206,7 b' debugstate: nodates'
206 debugsub: rev
206 debugsub: rev
207 debugwalk: include, exclude
207 debugwalk: include, exclude
208 grep: print0, all, follow, ignore-case, files-with-matches, line-number, rev, user, date, include, exclude
208 grep: print0, all, follow, ignore-case, files-with-matches, line-number, rev, user, date, include, exclude
209 heads: rev, active, closed, style, template
209 heads: rev, topo, active, closed, style, template
210 help:
210 help:
211 identify: rev, num, id, branch, tags
211 identify: rev, num, id, branch, tags
212 import: strip, base, force, no-commit, exact, import-branch, message, logfile, date, user, similarity
212 import: strip, base, force, no-commit, exact, import-branch, message, logfile, date, user, similarity
@@ -15,6 +15,11 b' user: test'
15 date: Thu Jan 01 00:00:00 1970 +0000
15 date: Thu Jan 01 00:00:00 1970 +0000
16 summary: change a
16 summary: change a
17
17
18 changeset: 0:1f0dee641bb7
19 user: test
20 date: Thu Jan 01 00:00:00 1970 +0000
21 summary: add a
22
18 % parents
23 % parents
19 changeset: 1:cd2a86ecc814
24 changeset: 1:cd2a86ecc814
20 branch: foo
25 branch: foo
@@ -63,6 +68,11 b' user: test'
63 date: Thu Jan 01 00:00:00 1970 +0000
68 date: Thu Jan 01 00:00:00 1970 +0000
64 summary: new head of branch foo
69 summary: new head of branch foo
65
70
71 changeset: 0:1f0dee641bb7
72 user: test
73 date: Thu Jan 01 00:00:00 1970 +0000
74 summary: add a
75
66
76
67 % rolling back
77 % rolling back
68 rolling back last transaction
78 rolling back last transaction
@@ -76,6 +86,11 b' user: test'
76 date: Thu Jan 01 00:00:00 1970 +0000
86 date: Thu Jan 01 00:00:00 1970 +0000
77 summary: new head of branch foo
87 summary: new head of branch foo
78
88
89 changeset: 0:1f0dee641bb7
90 user: test
91 date: Thu Jan 01 00:00:00 1970 +0000
92 summary: add a
93
79
94
80 % pull should not have updated
95 % pull should not have updated
81 1:cd2a86ecc814
96 1:cd2a86ecc814
@@ -107,6 +122,7 b' 1 files updated, 0 files merged, 0 files'
107 0:1f0dee641bb7
122 0:1f0dee641bb7
108 % heads
123 % heads
109 1:cd2a86ecc814
124 1:cd2a86ecc814
125 0:1f0dee641bb7
110 % pull -u -r otherrev url#rev updates to rev
126 % pull -u -r otherrev url#rev updates to rev
111 % parents
127 % parents
112 changeset: 3:4cd725637392
128 changeset: 3:4cd725637392
General Comments 0
You need to be logged in to leave comments. Login now