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