Show More
@@ -1336,6 +1336,13 b' class localrepository(repo.repository):' | |||||
1336 | return remote.unbundle(cg, remote_heads, 'push') |
|
1336 | return remote.unbundle(cg, remote_heads, 'push') | |
1337 | return ret[1] |
|
1337 | return ret[1] | |
1338 |
|
1338 | |||
|
1339 | def changegroupinfo(self, nodes): | |||
|
1340 | self.ui.note(_("%d changesets found\n") % len(nodes)) | |||
|
1341 | if self.ui.debugflag: | |||
|
1342 | self.ui.debug(_("List of changesets:\n")) | |||
|
1343 | for node in nodes: | |||
|
1344 | self.ui.debug("%s\n" % hex(node)) | |||
|
1345 | ||||
1339 | def changegroupsubset(self, bases, heads, source): |
|
1346 | def changegroupsubset(self, bases, heads, source): | |
1340 | """This function generates a changegroup consisting of all the nodes |
|
1347 | """This function generates a changegroup consisting of all the nodes | |
1341 | that are descendents of any of the bases, and ancestors of any of |
|
1348 | that are descendents of any of the bases, and ancestors of any of | |
@@ -1356,6 +1363,7 b' class localrepository(repo.repository):' | |||||
1356 | # msng is short for missing - compute the list of changesets in this |
|
1363 | # msng is short for missing - compute the list of changesets in this | |
1357 | # changegroup. |
|
1364 | # changegroup. | |
1358 | msng_cl_lst, bases, heads = cl.nodesbetween(bases, heads) |
|
1365 | msng_cl_lst, bases, heads = cl.nodesbetween(bases, heads) | |
|
1366 | self.changegroupinfo(msng_cl_lst) | |||
1359 | # Some bases may turn out to be superfluous, and some heads may be |
|
1367 | # Some bases may turn out to be superfluous, and some heads may be | |
1360 | # too. nodesbetween will return the minimal set of bases and heads |
|
1368 | # too. nodesbetween will return the minimal set of bases and heads | |
1361 | # necessary to re-create the changegroup. |
|
1369 | # necessary to re-create the changegroup. | |
@@ -1619,6 +1627,7 b' class localrepository(repo.repository):' | |||||
1619 | cl = self.changelog |
|
1627 | cl = self.changelog | |
1620 | nodes = cl.nodesbetween(basenodes, None)[0] |
|
1628 | nodes = cl.nodesbetween(basenodes, None)[0] | |
1621 | revset = dict.fromkeys([cl.rev(n) for n in nodes]) |
|
1629 | revset = dict.fromkeys([cl.rev(n) for n in nodes]) | |
|
1630 | self.changegroupinfo(nodes) | |||
1622 |
|
1631 | |||
1623 | def identity(x): |
|
1632 | def identity(x): | |
1624 | return x |
|
1633 | return x |
@@ -16,6 +16,11 b' hgrc = """' | |||||
16 | pushing to ../b |
|
16 | pushing to ../b | |
17 | searching for changes |
|
17 | searching for changes | |
18 | common changesets up to 6675d58eff77 |
|
18 | common changesets up to 6675d58eff77 | |
|
19 | 3 changesets found | |||
|
20 | List of changesets: | |||
|
21 | ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |||
|
22 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |||
|
23 | 911600dab2ae7a9baff75958b84fe606851ce955 | |||
19 | adding changesets |
|
24 | adding changesets | |
20 | add changeset ef1ea85a6374 |
|
25 | add changeset ef1ea85a6374 | |
21 | add changeset f9cafe1212c8 |
|
26 | add changeset f9cafe1212c8 | |
@@ -38,6 +43,11 b' pretxnchangegroup.acl = python:hgext.acl' | |||||
38 | pushing to ../b |
|
43 | pushing to ../b | |
39 | searching for changes |
|
44 | searching for changes | |
40 | common changesets up to 6675d58eff77 |
|
45 | common changesets up to 6675d58eff77 | |
|
46 | 3 changesets found | |||
|
47 | List of changesets: | |||
|
48 | ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |||
|
49 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |||
|
50 | 911600dab2ae7a9baff75958b84fe606851ce955 | |||
41 | adding changesets |
|
51 | adding changesets | |
42 | add changeset ef1ea85a6374 |
|
52 | add changeset ef1ea85a6374 | |
43 | add changeset f9cafe1212c8 |
|
53 | add changeset f9cafe1212c8 | |
@@ -66,6 +76,11 b' sources = push' | |||||
66 | pushing to ../b |
|
76 | pushing to ../b | |
67 | searching for changes |
|
77 | searching for changes | |
68 | common changesets up to 6675d58eff77 |
|
78 | common changesets up to 6675d58eff77 | |
|
79 | 3 changesets found | |||
|
80 | List of changesets: | |||
|
81 | ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |||
|
82 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |||
|
83 | 911600dab2ae7a9baff75958b84fe606851ce955 | |||
69 | adding changesets |
|
84 | adding changesets | |
70 | add changeset ef1ea85a6374 |
|
85 | add changeset ef1ea85a6374 | |
71 | add changeset f9cafe1212c8 |
|
86 | add changeset f9cafe1212c8 | |
@@ -97,6 +112,11 b' sources = push' | |||||
97 | pushing to ../b |
|
112 | pushing to ../b | |
98 | searching for changes |
|
113 | searching for changes | |
99 | common changesets up to 6675d58eff77 |
|
114 | common changesets up to 6675d58eff77 | |
|
115 | 3 changesets found | |||
|
116 | List of changesets: | |||
|
117 | ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |||
|
118 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |||
|
119 | 911600dab2ae7a9baff75958b84fe606851ce955 | |||
100 | adding changesets |
|
120 | adding changesets | |
101 | add changeset ef1ea85a6374 |
|
121 | add changeset ef1ea85a6374 | |
102 | add changeset f9cafe1212c8 |
|
122 | add changeset f9cafe1212c8 | |
@@ -131,6 +151,11 b' foo/** = fred' | |||||
131 | pushing to ../b |
|
151 | pushing to ../b | |
132 | searching for changes |
|
152 | searching for changes | |
133 | common changesets up to 6675d58eff77 |
|
153 | common changesets up to 6675d58eff77 | |
|
154 | 3 changesets found | |||
|
155 | List of changesets: | |||
|
156 | ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |||
|
157 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |||
|
158 | 911600dab2ae7a9baff75958b84fe606851ce955 | |||
134 | adding changesets |
|
159 | adding changesets | |
135 | add changeset ef1ea85a6374 |
|
160 | add changeset ef1ea85a6374 | |
136 | add changeset f9cafe1212c8 |
|
161 | add changeset f9cafe1212c8 | |
@@ -168,6 +193,11 b' foo/** = fred' | |||||
168 | pushing to ../b |
|
193 | pushing to ../b | |
169 | searching for changes |
|
194 | searching for changes | |
170 | common changesets up to 6675d58eff77 |
|
195 | common changesets up to 6675d58eff77 | |
|
196 | 3 changesets found | |||
|
197 | List of changesets: | |||
|
198 | ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |||
|
199 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |||
|
200 | 911600dab2ae7a9baff75958b84fe606851ce955 | |||
171 | adding changesets |
|
201 | adding changesets | |
172 | add changeset ef1ea85a6374 |
|
202 | add changeset ef1ea85a6374 | |
173 | add changeset f9cafe1212c8 |
|
203 | add changeset f9cafe1212c8 | |
@@ -204,6 +234,11 b' foo/bar/** = fred' | |||||
204 | pushing to ../b |
|
234 | pushing to ../b | |
205 | searching for changes |
|
235 | searching for changes | |
206 | common changesets up to 6675d58eff77 |
|
236 | common changesets up to 6675d58eff77 | |
|
237 | 3 changesets found | |||
|
238 | List of changesets: | |||
|
239 | ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |||
|
240 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |||
|
241 | 911600dab2ae7a9baff75958b84fe606851ce955 | |||
207 | adding changesets |
|
242 | adding changesets | |
208 | add changeset ef1ea85a6374 |
|
243 | add changeset ef1ea85a6374 | |
209 | add changeset f9cafe1212c8 |
|
244 | add changeset f9cafe1212c8 | |
@@ -243,6 +278,11 b' foo/Bar/** = fred' | |||||
243 | pushing to ../b |
|
278 | pushing to ../b | |
244 | searching for changes |
|
279 | searching for changes | |
245 | common changesets up to 6675d58eff77 |
|
280 | common changesets up to 6675d58eff77 | |
|
281 | 3 changesets found | |||
|
282 | List of changesets: | |||
|
283 | ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |||
|
284 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |||
|
285 | 911600dab2ae7a9baff75958b84fe606851ce955 | |||
246 | adding changesets |
|
286 | adding changesets | |
247 | add changeset ef1ea85a6374 |
|
287 | add changeset ef1ea85a6374 | |
248 | add changeset f9cafe1212c8 |
|
288 | add changeset f9cafe1212c8 | |
@@ -281,6 +321,11 b' foo/Bar/** = fred' | |||||
281 | pushing to ../b |
|
321 | pushing to ../b | |
282 | searching for changes |
|
322 | searching for changes | |
283 | common changesets up to 6675d58eff77 |
|
323 | common changesets up to 6675d58eff77 | |
|
324 | 3 changesets found | |||
|
325 | List of changesets: | |||
|
326 | ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |||
|
327 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |||
|
328 | 911600dab2ae7a9baff75958b84fe606851ce955 | |||
284 | adding changesets |
|
329 | adding changesets | |
285 | add changeset ef1ea85a6374 |
|
330 | add changeset ef1ea85a6374 | |
286 | add changeset f9cafe1212c8 |
|
331 | add changeset f9cafe1212c8 | |
@@ -320,6 +365,11 b' foo/Bar/** = fred' | |||||
320 | pushing to ../b |
|
365 | pushing to ../b | |
321 | searching for changes |
|
366 | searching for changes | |
322 | common changesets up to 6675d58eff77 |
|
367 | common changesets up to 6675d58eff77 | |
|
368 | 3 changesets found | |||
|
369 | List of changesets: | |||
|
370 | ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |||
|
371 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |||
|
372 | 911600dab2ae7a9baff75958b84fe606851ce955 | |||
323 | adding changesets |
|
373 | adding changesets | |
324 | add changeset ef1ea85a6374 |
|
374 | add changeset ef1ea85a6374 | |
325 | add changeset f9cafe1212c8 |
|
375 | add changeset f9cafe1212c8 | |
@@ -358,6 +408,11 b' foo/Bar/** = fred' | |||||
358 | pushing to ../b |
|
408 | pushing to ../b | |
359 | searching for changes |
|
409 | searching for changes | |
360 | common changesets up to 6675d58eff77 |
|
410 | common changesets up to 6675d58eff77 | |
|
411 | 3 changesets found | |||
|
412 | List of changesets: | |||
|
413 | ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |||
|
414 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |||
|
415 | 911600dab2ae7a9baff75958b84fe606851ce955 | |||
361 | adding changesets |
|
416 | adding changesets | |
362 | add changeset ef1ea85a6374 |
|
417 | add changeset ef1ea85a6374 | |
363 | add changeset f9cafe1212c8 |
|
418 | add changeset f9cafe1212c8 | |
@@ -402,6 +457,11 b' config = ../acl.config' | |||||
402 | pushing to ../b |
|
457 | pushing to ../b | |
403 | searching for changes |
|
458 | searching for changes | |
404 | common changesets up to 6675d58eff77 |
|
459 | common changesets up to 6675d58eff77 | |
|
460 | 3 changesets found | |||
|
461 | List of changesets: | |||
|
462 | ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |||
|
463 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |||
|
464 | 911600dab2ae7a9baff75958b84fe606851ce955 | |||
405 | adding changesets |
|
465 | adding changesets | |
406 | add changeset ef1ea85a6374 |
|
466 | add changeset ef1ea85a6374 | |
407 | add changeset f9cafe1212c8 |
|
467 | add changeset f9cafe1212c8 | |
@@ -446,6 +506,11 b' foo/** = betty' | |||||
446 | pushing to ../b |
|
506 | pushing to ../b | |
447 | searching for changes |
|
507 | searching for changes | |
448 | common changesets up to 6675d58eff77 |
|
508 | common changesets up to 6675d58eff77 | |
|
509 | 3 changesets found | |||
|
510 | List of changesets: | |||
|
511 | ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |||
|
512 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |||
|
513 | 911600dab2ae7a9baff75958b84fe606851ce955 | |||
449 | adding changesets |
|
514 | adding changesets | |
450 | add changeset ef1ea85a6374 |
|
515 | add changeset ef1ea85a6374 | |
451 | add changeset f9cafe1212c8 |
|
516 | add changeset f9cafe1212c8 | |
@@ -496,6 +561,11 b' changegroup.acl = false' | |||||
496 | pushing to ../b |
|
561 | pushing to ../b | |
497 | searching for changes |
|
562 | searching for changes | |
498 | common changesets up to 6675d58eff77 |
|
563 | common changesets up to 6675d58eff77 | |
|
564 | 3 changesets found | |||
|
565 | List of changesets: | |||
|
566 | ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |||
|
567 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |||
|
568 | 911600dab2ae7a9baff75958b84fe606851ce955 | |||
499 | adding changesets |
|
569 | adding changesets | |
500 | add changeset ef1ea85a6374 |
|
570 | add changeset ef1ea85a6374 | |
501 | add changeset f9cafe1212c8 |
|
571 | add changeset f9cafe1212c8 |
General Comments 0
You need to be logged in to leave comments.
Login now