##// END OF EJS Templates
changegroup: move message about added changes to transaction summary...
marmoute -
r43167:d7304434 default
parent child Browse files
Show More
@@ -270,7 +270,7 b' class cg1unpacker(object):'
270 270 def revmap(x):
271 271 return cl.rev(x)
272 272
273 changesets = files = revisions = 0
273 changesets = 0
274 274
275 275 try:
276 276 # The transaction may already carry source information. In this
@@ -337,23 +337,38 b' class cg1unpacker(object):'
337 337 repo.ui.status(_("adding file changes\n"))
338 338 newrevs, newfiles = _addchangegroupfiles(
339 339 repo, self, revmap, trp, efiles, needfiles)
340 revisions += newrevs
341 files += newfiles
340
341 # making sure the value exists
342 tr.changes.setdefault('changegroup-count-changesets', 0)
343 tr.changes.setdefault('changegroup-count-revisions', 0)
344 tr.changes.setdefault('changegroup-count-files', 0)
345 tr.changes.setdefault('changegroup-count-heads', 0)
346
347 # some code use bundle operation for internal purpose. They usually
348 # set `ui.quiet` to do this outside of user sight. Size the report
349 # of such operation now happens at the end of the transaction, that
350 # ui.quiet has not direct effect on the output.
351 #
352 # To preserve this intend use an inelegant hack, we fail to report
353 # the change if `quiet` is set. We should probably move to
354 # something better, but this is a good first step to allow the "end
355 # of transaction report" to pass tests.
356 if not repo.ui.quiet:
357 tr.changes['changegroup-count-changesets'] += changesets
358 tr.changes['changegroup-count-revisions'] += newrevs
359 tr.changes['changegroup-count-files'] += newfiles
342 360
343 361 deltaheads = 0
344 362 if oldheads:
345 363 heads = cl.heads()
346 deltaheads = len(heads) - len(oldheads)
364 deltaheads += len(heads) - len(oldheads)
347 365 for h in heads:
348 366 if h not in oldheads and repo[h].closesbranch():
349 367 deltaheads -= 1
350 htext = ""
351 if deltaheads:
352 htext = _(" (%+d heads)") % deltaheads
353 368
354 repo.ui.status(_("added %d changesets"
355 " with %d changes to %d files%s\n")
356 % (changesets, revisions, files, htext))
369 # see previous comment about checking ui.quiet
370 if not repo.ui.quiet:
371 tr.changes['changegroup-count-heads'] += deltaheads
357 372 repo.invalidatevolatilesets()
358 373
359 374 if changesets > 0:
@@ -1762,6 +1762,20 b' def registersummarycallback(repo, otr, t'
1762 1762 categories.append(newcat)
1763 1763 return wrapped
1764 1764
1765
1766 @reportsummary
1767 def reportchangegroup(repo, tr):
1768 cgchangesets = tr.changes.get('changegroup-count-changesets', 0)
1769 cgrevisions = tr.changes.get('changegroup-count-revisions', 0)
1770 cgfiles = tr.changes.get('changegroup-count-files', 0)
1771 cgheads = tr.changes.get('changegroup-count-heads', 0)
1772 if cgchangesets or cgrevisions or cgfiles:
1773 htext = ""
1774 if cgheads:
1775 htext = _(" (%+d heads)") % cgheads
1776 msg = _("added %d changesets with %d changes to %d files%s\n")
1777 repo.ui.status(msg % (cgchangesets, cgrevisions, cgfiles, htext))
1778
1765 1779 if txmatch(_reportobsoletedsource):
1766 1780 @reportsummary
1767 1781 def reportobsoleted(repo, tr):
@@ -131,12 +131,12 b' Extension disabled for lack of a hook'
131 131 adding foo/Bar/file.txt revisions
132 132 adding foo/file.txt revisions
133 133 adding quux/file.py revisions
134 added 3 changesets with 3 changes to 3 files
135 134 bundle2-input-part: total payload size 1553
136 135 bundle2-input-part: "phase-heads" supported
137 136 bundle2-input-part: total payload size 24
138 137 bundle2-input-bundle: 4 parts total
139 138 updating the branch cache
139 added 3 changesets with 3 changes to 3 files
140 140 bundle2-output-bundle: "HG20", 1 parts total
141 141 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
142 142 bundle2-input-bundle: no-transaction
@@ -196,7 +196,6 b' Extension disabled for lack of acl.sourc'
196 196 adding foo/Bar/file.txt revisions
197 197 adding foo/file.txt revisions
198 198 adding quux/file.py revisions
199 added 3 changesets with 3 changes to 3 files
200 199 calling hook pretxnchangegroup.acl: hgext.acl.hook
201 200 acl: changes have source "push" - skipping
202 201 bundle2-input-part: total payload size 1553
@@ -204,6 +203,7 b' Extension disabled for lack of acl.sourc'
204 203 bundle2-input-part: total payload size 24
205 204 bundle2-input-bundle: 4 parts total
206 205 updating the branch cache
206 added 3 changesets with 3 changes to 3 files
207 207 bundle2-output-bundle: "HG20", 1 parts total
208 208 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
209 209 bundle2-input-bundle: no-transaction
@@ -263,7 +263,6 b' No [acl.allow]/[acl.deny]'
263 263 adding foo/Bar/file.txt revisions
264 264 adding foo/file.txt revisions
265 265 adding quux/file.py revisions
266 added 3 changesets with 3 changes to 3 files
267 266 calling hook pretxnchangegroup.acl: hgext.acl.hook
268 267 acl: checking access for user "fred"
269 268 acl: acl.allow.branches not enabled
@@ -281,6 +280,7 b' No [acl.allow]/[acl.deny]'
281 280 bundle2-input-part: total payload size 24
282 281 bundle2-input-bundle: 4 parts total
283 282 updating the branch cache
283 added 3 changesets with 3 changes to 3 files
284 284 bundle2-output-bundle: "HG20", 1 parts total
285 285 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
286 286 bundle2-input-bundle: no-transaction
@@ -340,7 +340,6 b' Empty [acl.allow]'
340 340 adding foo/Bar/file.txt revisions
341 341 adding foo/file.txt revisions
342 342 adding quux/file.py revisions
343 added 3 changesets with 3 changes to 3 files
344 343 calling hook pretxnchangegroup.acl: hgext.acl.hook
345 344 acl: checking access for user "fred"
346 345 acl: acl.allow.branches not enabled
@@ -409,7 +408,6 b' fred is allowed inside foo/'
409 408 adding foo/Bar/file.txt revisions
410 409 adding foo/file.txt revisions
411 410 adding quux/file.py revisions
412 added 3 changesets with 3 changes to 3 files
413 411 calling hook pretxnchangegroup.acl: hgext.acl.hook
414 412 acl: checking access for user "fred"
415 413 acl: acl.allow.branches not enabled
@@ -483,7 +481,6 b' Empty [acl.deny]'
483 481 adding foo/Bar/file.txt revisions
484 482 adding foo/file.txt revisions
485 483 adding quux/file.py revisions
486 added 3 changesets with 3 changes to 3 files
487 484 calling hook pretxnchangegroup.acl: hgext.acl.hook
488 485 acl: checking access for user "barney"
489 486 acl: acl.allow.branches not enabled
@@ -554,7 +551,6 b' fred is allowed inside foo/, but not foo'
554 551 adding foo/Bar/file.txt revisions
555 552 adding foo/file.txt revisions
556 553 adding quux/file.py revisions
557 added 3 changesets with 3 changes to 3 files
558 554 calling hook pretxnchangegroup.acl: hgext.acl.hook
559 555 acl: checking access for user "fred"
560 556 acl: acl.allow.branches not enabled
@@ -630,7 +626,6 b' fred is allowed inside foo/, but not foo'
630 626 adding foo/Bar/file.txt revisions
631 627 adding foo/file.txt revisions
632 628 adding quux/file.py revisions
633 added 3 changesets with 3 changes to 3 files
634 629 calling hook pretxnchangegroup.acl: hgext.acl.hook
635 630 acl: checking access for user "fred"
636 631 acl: acl.allow.branches not enabled
@@ -703,7 +698,6 b' fred is allowed inside foo/, but not foo'
703 698 adding foo/Bar/file.txt revisions
704 699 adding foo/file.txt revisions
705 700 adding quux/file.py revisions
706 added 3 changesets with 3 changes to 3 files
707 701 calling hook pretxnchangegroup.acl: hgext.acl.hook
708 702 acl: checking access for user "barney"
709 703 acl: acl.allow.branches not enabled
@@ -775,7 +769,6 b' fred is not blocked from moving bookmark'
775 769 adding manifests
776 770 adding file changes
777 771 adding foo/file.txt revisions
778 added 1 changesets with 1 changes to 1 files
779 772 calling hook pretxnchangegroup.acl: hgext.acl.hook
780 773 acl: checking access for user "fred"
781 774 acl: acl.allow.branches not enabled
@@ -796,6 +789,7 b' fred is not blocked from moving bookmark'
796 789 acl: bookmark access granted: "ef1ea85a6374b77d6da9dcda9541f498f2d17df7" on bookmark "moving-bookmark"
797 790 bundle2-input-bundle: 6 parts total
798 791 updating the branch cache
792 added 1 changesets with 1 changes to 1 files
799 793 bundle2-output-bundle: "HG20", 1 parts total
800 794 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
801 795 bundle2-input-bundle: no-transaction
@@ -861,7 +855,6 b' fred is not allowed to move bookmarks'
861 855 adding manifests
862 856 adding file changes
863 857 adding foo/file.txt revisions
864 added 1 changesets with 1 changes to 1 files
865 858 calling hook pretxnchangegroup.acl: hgext.acl.hook
866 859 acl: checking access for user "fred"
867 860 acl: acl.allow.branches not enabled
@@ -950,7 +943,6 b' barney is allowed everywhere'
950 943 adding foo/Bar/file.txt revisions
951 944 adding foo/file.txt revisions
952 945 adding quux/file.py revisions
953 added 3 changesets with 3 changes to 3 files
954 946 calling hook pretxnchangegroup.acl: hgext.acl.hook
955 947 acl: checking access for user "barney"
956 948 acl: acl.allow.branches not enabled
@@ -968,6 +960,7 b' barney is allowed everywhere'
968 960 bundle2-input-part: total payload size 24
969 961 bundle2-input-bundle: 4 parts total
970 962 updating the branch cache
963 added 3 changesets with 3 changes to 3 files
971 964 bundle2-output-bundle: "HG20", 1 parts total
972 965 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
973 966 bundle2-input-bundle: no-transaction
@@ -1034,7 +1027,6 b' wilma can change files with a .txt exten'
1034 1027 adding foo/Bar/file.txt revisions
1035 1028 adding foo/file.txt revisions
1036 1029 adding quux/file.py revisions
1037 added 3 changesets with 3 changes to 3 files
1038 1030 calling hook pretxnchangegroup.acl: hgext.acl.hook
1039 1031 acl: checking access for user "wilma"
1040 1032 acl: acl.allow.branches not enabled
@@ -1116,7 +1108,6 b' file specified by acl.config does not ex'
1116 1108 adding foo/Bar/file.txt revisions
1117 1109 adding foo/file.txt revisions
1118 1110 adding quux/file.py revisions
1119 added 3 changesets with 3 changes to 3 files
1120 1111 calling hook pretxnchangegroup.acl: hgext.acl.hook
1121 1112 acl: checking access for user "barney"
1122 1113 error: pretxnchangegroup.acl hook raised an exception: [Errno *] * (glob)
@@ -1193,7 +1184,6 b' betty is allowed inside foo/ by a acl.co'
1193 1184 adding foo/Bar/file.txt revisions
1194 1185 adding foo/file.txt revisions
1195 1186 adding quux/file.py revisions
1196 added 3 changesets with 3 changes to 3 files
1197 1187 calling hook pretxnchangegroup.acl: hgext.acl.hook
1198 1188 acl: checking access for user "betty"
1199 1189 acl: acl.allow.branches not enabled
@@ -1281,7 +1271,6 b' acl.config can set only [acl.allow]/[acl'
1281 1271 adding foo/Bar/file.txt revisions
1282 1272 adding foo/file.txt revisions
1283 1273 adding quux/file.py revisions
1284 added 3 changesets with 3 changes to 3 files
1285 1274 calling hook pretxnchangegroup.acl: hgext.acl.hook
1286 1275 acl: checking access for user "barney"
1287 1276 acl: acl.allow.branches not enabled
@@ -1299,6 +1288,7 b' acl.config can set only [acl.allow]/[acl'
1299 1288 bundle2-input-part: total payload size 24
1300 1289 bundle2-input-bundle: 4 parts total
1301 1290 updating the branch cache
1291 added 3 changesets with 3 changes to 3 files
1302 1292 bundle2-output-bundle: "HG20", 1 parts total
1303 1293 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
1304 1294 bundle2-input-bundle: no-transaction
@@ -1369,7 +1359,6 b' fred is always allowed'
1369 1359 adding foo/Bar/file.txt revisions
1370 1360 adding foo/file.txt revisions
1371 1361 adding quux/file.py revisions
1372 added 3 changesets with 3 changes to 3 files
1373 1362 calling hook pretxnchangegroup.acl: hgext.acl.hook
1374 1363 acl: checking access for user "fred"
1375 1364 acl: acl.allow.branches not enabled
@@ -1387,6 +1376,7 b' fred is always allowed'
1387 1376 bundle2-input-part: total payload size 24
1388 1377 bundle2-input-bundle: 4 parts total
1389 1378 updating the branch cache
1379 added 3 changesets with 3 changes to 3 files
1390 1380 bundle2-output-bundle: "HG20", 1 parts total
1391 1381 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
1392 1382 bundle2-input-bundle: no-transaction
@@ -1453,7 +1443,6 b' no one is allowed inside foo/Bar/'
1453 1443 adding foo/Bar/file.txt revisions
1454 1444 adding foo/file.txt revisions
1455 1445 adding quux/file.py revisions
1456 added 3 changesets with 3 changes to 3 files
1457 1446 calling hook pretxnchangegroup.acl: hgext.acl.hook
1458 1447 acl: checking access for user "fred"
1459 1448 acl: acl.allow.branches not enabled
@@ -1534,7 +1523,6 b' OS-level groups'
1534 1523 adding foo/Bar/file.txt revisions
1535 1524 adding foo/file.txt revisions
1536 1525 adding quux/file.py revisions
1537 added 3 changesets with 3 changes to 3 files
1538 1526 calling hook pretxnchangegroup.acl: hgext.acl.hook
1539 1527 acl: checking access for user "fred"
1540 1528 acl: acl.allow.branches not enabled
@@ -1553,6 +1541,7 b' OS-level groups'
1553 1541 bundle2-input-part: total payload size 24
1554 1542 bundle2-input-bundle: 4 parts total
1555 1543 updating the branch cache
1544 added 3 changesets with 3 changes to 3 files
1556 1545 bundle2-output-bundle: "HG20", 1 parts total
1557 1546 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
1558 1547 bundle2-input-bundle: no-transaction
@@ -1619,7 +1608,6 b' OS-level groups'
1619 1608 adding foo/Bar/file.txt revisions
1620 1609 adding foo/file.txt revisions
1621 1610 adding quux/file.py revisions
1622 added 3 changesets with 3 changes to 3 files
1623 1611 calling hook pretxnchangegroup.acl: hgext.acl.hook
1624 1612 acl: checking access for user "fred"
1625 1613 acl: acl.allow.branches not enabled
@@ -1743,7 +1731,6 b' No branch acls specified'
1743 1731 adding foo/Bar/file.txt revisions
1744 1732 adding foo/file.txt revisions
1745 1733 adding quux/file.py revisions
1746 added 4 changesets with 4 changes to 4 files (+1 heads)
1747 1734 calling hook pretxnchangegroup.acl: hgext.acl.hook
1748 1735 acl: checking access for user "astro"
1749 1736 acl: acl.allow.branches not enabled
@@ -1763,6 +1750,7 b' No branch acls specified'
1763 1750 bundle2-input-part: total payload size 48
1764 1751 bundle2-input-bundle: 4 parts total
1765 1752 updating the branch cache
1753 added 4 changesets with 4 changes to 4 files (+1 heads)
1766 1754 bundle2-output-bundle: "HG20", 1 parts total
1767 1755 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
1768 1756 bundle2-input-bundle: no-transaction
@@ -1829,7 +1817,6 b' Branch acl deny test'
1829 1817 adding foo/Bar/file.txt revisions
1830 1818 adding foo/file.txt revisions
1831 1819 adding quux/file.py revisions
1832 added 4 changesets with 4 changes to 4 files (+1 heads)
1833 1820 calling hook pretxnchangegroup.acl: hgext.acl.hook
1834 1821 acl: checking access for user "astro"
1835 1822 acl: acl.allow.branches not enabled
@@ -1908,7 +1895,6 b' Branch acl empty allow test'
1908 1895 adding foo/Bar/file.txt revisions
1909 1896 adding foo/file.txt revisions
1910 1897 adding quux/file.py revisions
1911 added 4 changesets with 4 changes to 4 files (+1 heads)
1912 1898 calling hook pretxnchangegroup.acl: hgext.acl.hook
1913 1899 acl: checking access for user "astro"
1914 1900 acl: acl.allow.branches enabled, 0 entries for user astro
@@ -1983,7 +1969,6 b' Branch acl allow other'
1983 1969 adding foo/Bar/file.txt revisions
1984 1970 adding foo/file.txt revisions
1985 1971 adding quux/file.py revisions
1986 added 4 changesets with 4 changes to 4 files (+1 heads)
1987 1972 calling hook pretxnchangegroup.acl: hgext.acl.hook
1988 1973 acl: checking access for user "astro"
1989 1974 acl: acl.allow.branches enabled, 0 entries for user astro
@@ -2052,7 +2037,6 b' Branch acl allow other'
2052 2037 adding foo/Bar/file.txt revisions
2053 2038 adding foo/file.txt revisions
2054 2039 adding quux/file.py revisions
2055 added 4 changesets with 4 changes to 4 files (+1 heads)
2056 2040 calling hook pretxnchangegroup.acl: hgext.acl.hook
2057 2041 acl: checking access for user "george"
2058 2042 acl: acl.allow.branches enabled, 1 entries for user george
@@ -2072,6 +2056,7 b' Branch acl allow other'
2072 2056 bundle2-input-part: total payload size 48
2073 2057 bundle2-input-bundle: 4 parts total
2074 2058 updating the branch cache
2059 added 4 changesets with 4 changes to 4 files (+1 heads)
2075 2060 bundle2-output-bundle: "HG20", 1 parts total
2076 2061 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
2077 2062 bundle2-input-bundle: no-transaction
@@ -2143,7 +2128,6 b' push foobar into the remote'
2143 2128 adding foo/Bar/file.txt revisions
2144 2129 adding foo/file.txt revisions
2145 2130 adding quux/file.py revisions
2146 added 4 changesets with 4 changes to 4 files (+1 heads)
2147 2131 calling hook pretxnchangegroup.acl: hgext.acl.hook
2148 2132 acl: checking access for user "george"
2149 2133 acl: acl.allow.branches enabled, 1 entries for user george
@@ -2163,6 +2147,7 b' push foobar into the remote'
2163 2147 bundle2-input-part: total payload size 48
2164 2148 bundle2-input-bundle: 4 parts total
2165 2149 updating the branch cache
2150 added 4 changesets with 4 changes to 4 files (+1 heads)
2166 2151 bundle2-output-bundle: "HG20", 1 parts total
2167 2152 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
2168 2153 bundle2-input-bundle: no-transaction
@@ -2233,7 +2218,6 b' Branch acl conflicting deny'
2233 2218 adding foo/Bar/file.txt revisions
2234 2219 adding foo/file.txt revisions
2235 2220 adding quux/file.py revisions
2236 added 4 changesets with 4 changes to 4 files (+1 heads)
2237 2221 calling hook pretxnchangegroup.acl: hgext.acl.hook
2238 2222 acl: checking access for user "george"
2239 2223 acl: acl.allow.branches not enabled
@@ -2307,7 +2291,6 b" User 'astro' must not be denied"
2307 2291 adding foo/Bar/file.txt revisions
2308 2292 adding foo/file.txt revisions
2309 2293 adding quux/file.py revisions
2310 added 4 changesets with 4 changes to 4 files (+1 heads)
2311 2294 calling hook pretxnchangegroup.acl: hgext.acl.hook
2312 2295 acl: checking access for user "astro"
2313 2296 acl: acl.allow.branches not enabled
@@ -2327,6 +2310,7 b" User 'astro' must not be denied"
2327 2310 bundle2-input-part: total payload size 48
2328 2311 bundle2-input-bundle: 4 parts total
2329 2312 updating the branch cache
2313 added 4 changesets with 4 changes to 4 files (+1 heads)
2330 2314 bundle2-output-bundle: "HG20", 1 parts total
2331 2315 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
2332 2316 bundle2-input-bundle: no-transaction
@@ -2391,7 +2375,6 b' Non-astro users must be denied'
2391 2375 adding foo/Bar/file.txt revisions
2392 2376 adding foo/file.txt revisions
2393 2377 adding quux/file.py revisions
2394 added 4 changesets with 4 changes to 4 files (+1 heads)
2395 2378 calling hook pretxnchangegroup.acl: hgext.acl.hook
2396 2379 acl: checking access for user "george"
2397 2380 acl: acl.allow.branches not enabled
@@ -242,8 +242,8 b' make the bookmark move by updating it on'
242 242 $ echo "more" >> test
243 243 $ hg pull -u 2>&1 | fgrep -v TESTTMP| fgrep -v "searching for changes" | fgrep -v adding
244 244 pulling from $TESTTMP/a
245 updating bookmark X
245 246 added 1 changesets with 0 changes to 0 files (+1 heads)
246 updating bookmark X
247 247 new changesets * (glob)
248 248 updating to active bookmark X
249 249 merging test
@@ -51,10 +51,10 b' import bookmark by name'
51 51 adding changesets
52 52 adding manifests
53 53 adding file changes
54 added 1 changesets with 1 changes to 1 files
55 54 adding remote bookmark X
56 55 updating bookmark Y
57 56 adding remote bookmark Z
57 added 1 changesets with 1 changes to 1 files
58 58 new changesets 4e3505fd9583 (1 drafts)
59 59 test-hook-bookmark: X: -> 4e3505fd95835d721066b76e75dbb8cc554d7f77
60 60 test-hook-bookmark: Y: 0000000000000000000000000000000000000000 -> 4e3505fd95835d721066b76e75dbb8cc554d7f77
@@ -414,10 +414,10 b' divergent bookmarks'
414 414 adding changesets
415 415 adding manifests
416 416 adding file changes
417 added 1 changesets with 1 changes to 1 files (+1 heads)
418 417 divergent bookmark @ stored as @foo
419 418 divergent bookmark X stored as X@foo
420 419 updating bookmark Z
420 added 1 changesets with 1 changes to 1 files (+1 heads)
421 421 new changesets 0d2164f0ce0d (1 drafts)
422 422 test-hook-bookmark: @foo: -> 0d2164f0ce0d8f1d6f94351eba04b794909be66c
423 423 test-hook-bookmark: X@foo: -> 0d2164f0ce0d8f1d6f94351eba04b794909be66c
@@ -580,8 +580,8 b' race conditions'
580 580 adding changesets
581 581 adding manifests
582 582 adding file changes
583 updating bookmark Y
583 584 added 1 changesets with 1 changes to 1 files
584 updating bookmark Y
585 585 new changesets b0a5eff05604 (1 drafts)
586 586 (run 'hg update' to get a working copy)
587 587 $ hg book
@@ -629,8 +629,8 b' Update a bookmark right after the initia'
629 629 adding changesets
630 630 adding manifests
631 631 adding file changes
632 updating bookmark Y
632 633 added 1 changesets with 1 changes to 1 files
633 updating bookmark Y
634 634 new changesets 35d1ef0a8d1b (1 drafts)
635 635 (run 'hg update' to get a working copy)
636 636 $ hg book
@@ -672,8 +672,8 b' Update a bookmark right after the initia'
672 672 adding changesets
673 673 adding manifests
674 674 adding file changes
675 updating bookmark Y
675 676 added 1 changesets with 1 changes to 1 files
676 updating bookmark Y
677 677 new changesets 0d60821d2197 (1 drafts)
678 678 (run 'hg update' to get a working copy)
679 679 $ hg book
@@ -762,9 +762,9 b' pull --update works the same as pull && '
762 762 adding changesets
763 763 adding manifests
764 764 adding file changes
765 added 2 changesets with 2 changes to 2 files (+1 heads)
766 765 updating bookmark Y
767 766 updating bookmark Z
767 added 2 changesets with 2 changes to 2 files (+1 heads)
768 768 new changesets 125c9a1d6df6:9ba5f110a0b3
769 769 (run 'hg heads' to see heads, 'hg merge' to merge)
770 770
@@ -788,9 +788,9 b' pull --update works the same as pull && '
788 788 adding changesets
789 789 adding manifests
790 790 adding file changes
791 added 2 changesets with 2 changes to 2 files (+1 heads)
792 791 updating bookmark Y
793 792 updating bookmark Z
793 added 2 changesets with 2 changes to 2 files (+1 heads)
794 794 new changesets 125c9a1d6df6:9ba5f110a0b3
795 795 updating to active bookmark Y
796 796 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
@@ -813,9 +813,9 b' We warn about divergent during bare upda'
813 813 adding changesets
814 814 adding manifests
815 815 adding file changes
816 added 2 changesets with 2 changes to 2 files (+1 heads)
817 816 updating bookmark Y
818 817 updating bookmark Z
818 added 2 changesets with 2 changes to 2 files (+1 heads)
819 819 new changesets 125c9a1d6df6:9ba5f110a0b3
820 820 (run 'hg heads' to see heads, 'hg merge' to merge)
821 821 $ hg -R ../cloned-bookmarks-manual-update-with-divergence update
@@ -996,11 +996,11 b' case)'
996 996 adding changesets
997 997 adding manifests
998 998 adding file changes
999 added 1 changesets with 1 changes to 1 files
1000 999 divergent bookmark Z stored as Z@default
1001 1000 adding remote bookmark foo
1002 1001 adding remote bookmark four
1003 1002 adding remote bookmark should-end-on-two
1003 added 1 changesets with 1 changes to 1 files
1004 1004 new changesets 5fb12f0f2d51
1005 1005 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
1006 1006 $ hg -R ../cloned-bookmarks-update parents -T "{rev}:{node|short}\n"
@@ -1023,8 +1023,8 b' updates the working directory and curren'
1023 1023 adding changesets
1024 1024 adding manifests
1025 1025 adding file changes
1026 divergent bookmark Z stored as Z@default
1026 1027 added 1 changesets with 1 changes to 1 files
1027 divergent bookmark Z stored as Z@default
1028 1028 new changesets 81dcce76aa0b
1029 1029 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
1030 1030 updating bookmark Y
@@ -58,8 +58,8 b' The extension requires a repo (currently'
58 58 adding changesets
59 59 adding manifests
60 60 adding file changes
61 pre-close-tip:02de42196ebe draft
61 62 added 8 changesets with 7 changes to 7 files (+3 heads)
62 pre-close-tip:02de42196ebe draft
63 63 new changesets cd010b8cd998:02de42196ebe (8 drafts)
64 64 postclose-tip:02de42196ebe draft
65 65 txnclose hook: HG_HOOKNAME=txnclose.env HG_HOOKTYPE=txnclose HG_NODE=cd010b8cd998f3981a5a8115f94f8da4ab506089 HG_NODE_LAST=02de42196ebee42ef284b6780a87cdc96e8eaab6 HG_PHASES_MOVED=1 HG_SOURCE=unbundle HG_TXNID=TXN:$ID$ HG_TXNNAME=unbundle
@@ -94,8 +94,8 b' clone --pull'
94 94 adding changesets
95 95 adding manifests
96 96 adding file changes
97 pre-close-tip:9520eea781bc draft
97 98 added 2 changesets with 2 changes to 2 files
98 pre-close-tip:9520eea781bc draft
99 99 1 new obsolescence markers
100 100 new changesets cd010b8cd998:9520eea781bc (1 drafts)
101 101 postclose-tip:9520eea781bc draft
@@ -123,8 +123,8 b' pull'
123 123 adding changesets
124 124 adding manifests
125 125 adding file changes
126 pre-close-tip:24b6387c8c8c draft
126 127 added 1 changesets with 1 changes to 1 files (+1 heads)
127 pre-close-tip:24b6387c8c8c draft
128 128 1 new obsolescence markers
129 129 new changesets 24b6387c8c8c (1 drafts)
130 130 postclose-tip:24b6387c8c8c draft
@@ -268,8 +268,8 b' push'
268 268 remote: adding changesets
269 269 remote: adding manifests
270 270 remote: adding file changes
271 remote: pre-close-tip:eea13746799a public book_eea1
271 272 remote: added 1 changesets with 0 changes to 0 files (-1 heads)
272 remote: pre-close-tip:eea13746799a public book_eea1
273 273 remote: 1 new obsolescence markers
274 274 remote: pushkey: lock state after "bookmarks"
275 275 remote: lock: free
@@ -303,9 +303,9 b' pull over ssh'
303 303 adding changesets
304 304 adding manifests
305 305 adding file changes
306 added 1 changesets with 1 changes to 1 files (+1 heads)
307 306 updating bookmark book_02de
308 307 pre-close-tip:02de42196ebe draft book_02de
308 added 1 changesets with 1 changes to 1 files (+1 heads)
309 309 1 new obsolescence markers
310 310 new changesets 02de42196ebe (1 drafts)
311 311 postclose-tip:02de42196ebe draft book_02de
@@ -329,9 +329,9 b' pull over http'
329 329 adding changesets
330 330 adding manifests
331 331 adding file changes
332 added 1 changesets with 1 changes to 1 files (+1 heads)
333 332 updating bookmark book_42cc
334 333 pre-close-tip:42ccdea3bb16 draft book_42cc
334 added 1 changesets with 1 changes to 1 files (+1 heads)
335 335 1 new obsolescence markers
336 336 new changesets 42ccdea3bb16 (1 drafts)
337 337 postclose-tip:42ccdea3bb16 draft book_42cc
@@ -354,8 +354,8 b' push over ssh'
354 354 remote: adding changesets
355 355 remote: adding manifests
356 356 remote: adding file changes
357 remote: pre-close-tip:5fddd98957c8 draft book_5fdd
357 358 remote: added 1 changesets with 1 changes to 1 files
358 remote: pre-close-tip:5fddd98957c8 draft book_5fdd
359 359 remote: 1 new obsolescence markers
360 360 remote: pushkey: lock state after "bookmarks"
361 361 remote: lock: free
@@ -405,8 +405,8 b' push over http'
405 405 remote: adding changesets
406 406 remote: adding manifests
407 407 remote: adding file changes
408 remote: pre-close-tip:32af7686d403 public book_32af
408 409 remote: added 1 changesets with 1 changes to 1 files
409 remote: pre-close-tip:32af7686d403 public book_32af
410 410 remote: 1 new obsolescence markers
411 411 remote: pushkey: lock state after "bookmarks"
412 412 remote: lock: free
@@ -631,7 +631,6 b' Doing the actual push: hook abort'
631 631 remote: adding changesets
632 632 remote: adding manifests
633 633 remote: adding file changes
634 remote: added 1 changesets with 1 changes to 1 files
635 634 remote: pre-close-tip:e7ec4e813ba6 draft
636 635 remote: You shall not pass!
637 636 remote: transaction abort!
@@ -646,7 +645,6 b' Doing the actual push: hook abort'
646 645 remote: adding changesets
647 646 remote: adding manifests
648 647 remote: adding file changes
649 remote: added 1 changesets with 1 changes to 1 files
650 648 remote: pre-close-tip:e7ec4e813ba6 draft
651 649 remote: You shall not pass!
652 650 remote: transaction abort!
@@ -662,7 +660,6 b' Doing the actual push: hook abort'
662 660 remote: adding changesets
663 661 remote: adding manifests
664 662 remote: adding file changes
665 remote: added 1 changesets with 1 changes to 1 files
666 663 remote: pre-close-tip:e7ec4e813ba6 draft
667 664 remote: You shall not pass!
668 665 remote: transaction abort!
@@ -696,7 +693,6 b' Check error from hook during the unbundl'
696 693 remote: adding changesets
697 694 remote: adding manifests
698 695 remote: adding file changes
699 remote: added 1 changesets with 1 changes to 1 files
700 696 remote: Fail early!
701 697 remote: transaction abort!
702 698 remote: Cleaning up the mess...
@@ -709,7 +705,6 b' Check error from hook during the unbundl'
709 705 remote: adding changesets
710 706 remote: adding manifests
711 707 remote: adding file changes
712 remote: added 1 changesets with 1 changes to 1 files
713 708 remote: Fail early!
714 709 remote: transaction abort!
715 710 remote: Cleaning up the mess...
@@ -723,7 +718,6 b' Check error from hook during the unbundl'
723 718 remote: adding changesets
724 719 remote: adding manifests
725 720 remote: adding file changes
726 remote: added 1 changesets with 1 changes to 1 files
727 721 remote: Fail early!
728 722 remote: transaction abort!
729 723 remote: Cleaning up the mess...
@@ -747,7 +741,6 b' Check output capture control.'
747 741 adding changesets
748 742 adding manifests
749 743 adding file changes
750 added 1 changesets with 1 changes to 1 files
751 744 Fail early!
752 745 transaction abort!
753 746 Cleaning up the mess...
@@ -760,7 +753,6 b' Check output capture control.'
760 753 remote: adding changesets
761 754 remote: adding manifests
762 755 remote: adding file changes
763 remote: added 1 changesets with 1 changes to 1 files
764 756 remote: Fail early!
765 757 remote: transaction abort!
766 758 remote: Cleaning up the mess...
@@ -774,7 +766,6 b' Check output capture control.'
774 766 remote: adding changesets
775 767 remote: adding manifests
776 768 remote: adding file changes
777 remote: added 1 changesets with 1 changes to 1 files
778 769 remote: Fail early!
779 770 remote: transaction abort!
780 771 remote: Cleaning up the mess...
@@ -822,7 +813,6 b' Check abort from mandatory pushkey'
822 813 adding changesets
823 814 adding manifests
824 815 adding file changes
825 added 1 changesets with 1 changes to 1 files
826 816 do not push the key !
827 817 pushkey-abort: prepushkey.failpush hook exited with status 1
828 818 transaction abort!
@@ -836,7 +826,6 b' Check abort from mandatory pushkey'
836 826 remote: adding changesets
837 827 remote: adding manifests
838 828 remote: adding file changes
839 remote: added 1 changesets with 1 changes to 1 files
840 829 remote: do not push the key !
841 830 remote: pushkey-abort: prepushkey.failpush hook exited with status 1
842 831 remote: transaction abort!
@@ -850,7 +839,6 b' Check abort from mandatory pushkey'
850 839 remote: adding changesets
851 840 remote: adding manifests
852 841 remote: adding file changes
853 remote: added 1 changesets with 1 changes to 1 files
854 842 remote: do not push the key !
855 843 remote: pushkey-abort: prepushkey.failpush hook exited with status 1
856 844 remote: transaction abort!
@@ -892,7 +880,6 b' Check abort from mandatory pushkey'
892 880 adding changesets
893 881 adding manifests
894 882 adding file changes
895 added 1 changesets with 1 changes to 1 files
896 883 transaction abort!
897 884 Cleaning up the mess...
898 885 rollback completed
@@ -907,7 +894,6 b' Check abort from mandatory pushkey'
907 894 remote: adding changesets
908 895 remote: adding manifests
909 896 remote: adding file changes
910 remote: added 1 changesets with 1 changes to 1 files
911 897 remote: transaction abort!
912 898 remote: Cleaning up the mess...
913 899 remote: rollback completed
@@ -922,7 +908,6 b' Check abort from mandatory pushkey'
922 908 remote: adding changesets
923 909 remote: adding manifests
924 910 remote: adding file changes
925 remote: added 1 changesets with 1 changes to 1 files
926 911 remote: transaction abort!
927 912 remote: Cleaning up the mess...
928 913 remote: rollback completed
@@ -1010,6 +1010,7 b' with reply'
1010 1010
1011 1011 $ hg bundle2 --rev '8+7+5+4' --reply ../rev-rr.hg2
1012 1012 $ hg unbundle2 ../rev-reply.hg2 < ../rev-rr.hg2
1013 added 0 changesets with 0 changes to 3 files
1013 1014 0 unread bytes
1014 1015 addchangegroup return: 1
1015 1016
@@ -1021,13 +1022,11 b' with reply'
1021 1022 0030: 2d 74 6f 31 72 65 74 75 72 6e 31 00 00 00 00 00 |-to1return1.....|
1022 1023 0040: 00 00 1b 06 6f 75 74 70 75 74 00 00 00 01 00 01 |....output......|
1023 1024 0050: 0b 01 69 6e 2d 72 65 70 6c 79 2d 74 6f 31 00 00 |..in-reply-to1..|
1024 0060: 00 64 61 64 64 69 6e 67 20 63 68 61 6e 67 65 73 |.dadding changes|
1025 0060: 00 37 61 64 64 69 6e 67 20 63 68 61 6e 67 65 73 |.7adding changes|
1025 1026 0070: 65 74 73 0a 61 64 64 69 6e 67 20 6d 61 6e 69 66 |ets.adding manif|
1026 1027 0080: 65 73 74 73 0a 61 64 64 69 6e 67 20 66 69 6c 65 |ests.adding file|
1027 0090: 20 63 68 61 6e 67 65 73 0a 61 64 64 65 64 20 30 | changes.added 0|
1028 00a0: 20 63 68 61 6e 67 65 73 65 74 73 20 77 69 74 68 | changesets with|
1029 00b0: 20 30 20 63 68 61 6e 67 65 73 20 74 6f 20 33 20 | 0 changes to 3 |
1030 00c0: 66 69 6c 65 73 0a 00 00 00 00 00 00 00 00 |files.........|
1028 0090: 20 63 68 61 6e 67 65 73 0a 00 00 00 00 00 00 00 | changes........|
1029 00a0: 00 |.|
1031 1030
1032 1031 Check handling of exception during generation.
1033 1032 ----------------------------------------------
@@ -80,7 +80,6 b' Pull the new commits in the clone'
80 80 adding changesets
81 81 adding manifests
82 82 adding file changes
83 added 1 changesets with 1 changes to 1 files
84 83 pretxnchangegroup hook: HG_HOOKNAME=pretxnchangegroup
85 84 HG_HOOKTYPE=pretxnchangegroup
86 85 HG_NODE=27547f69f25460a52fff66ad004e58da7ad3fb56
@@ -96,7 +95,6 b' Pull the new commits in the clone'
96 95 adding changesets
97 96 adding manifests
98 97 adding file changes
99 added 1 changesets with 1 changes to 1 files
100 98 pretxnchangegroup hook: HG_HOOKNAME=pretxnchangegroup
101 99 HG_HOOKTYPE=pretxnchangegroup
102 100 HG_NODE=f838bfaca5c7226600ebcfd84f3c3c13a28d3757
@@ -109,6 +107,7 b' Pull the new commits in the clone'
109 107 file:/*/$TESTTMP/repo (glob)
110 108 HG_URL=file:$TESTTMP/repo
111 109
110 added 2 changesets with 2 changes to 2 files
112 111 new changesets 27547f69f254:f838bfaca5c7
113 112 changegroup hook: HG_HOOKNAME=changegroup
114 113 HG_HOOKTYPE=changegroup
@@ -208,7 +207,6 b' pullop.cgresult'
208 207 adding changesets
209 208 adding manifests
210 209 adding file changes
211 added 2 changesets with 2 changes to 2 files (+1 heads)
212 210 pretxnchangegroup hook: HG_HOOKNAME=pretxnchangegroup
213 211 HG_HOOKTYPE=pretxnchangegroup
214 212 HG_NODE=b3325c91a4d916bcc4cdc83ea3fe4ece46a42f6e
@@ -224,7 +222,6 b' pullop.cgresult'
224 222 adding changesets
225 223 adding manifests
226 224 adding file changes
227 added 3 changesets with 3 changes to 3 files (+1 heads)
228 225 pretxnchangegroup hook: HG_HOOKNAME=pretxnchangegroup
229 226 HG_HOOKTYPE=pretxnchangegroup
230 227 HG_NODE=7f219660301fe4c8a116f714df5e769695cc2b46
@@ -237,6 +234,7 b' pullop.cgresult'
237 234 file:/*/$TESTTMP/repo (glob)
238 235 HG_URL=file:$TESTTMP/repo
239 236
237 added 5 changesets with 5 changes to 5 files (+2 heads)
240 238 new changesets b3325c91a4d9:5cd59d311f65
241 239 changegroup hook: HG_HOOKNAME=changegroup
242 240 HG_HOOKTYPE=changegroup
@@ -365,7 +363,6 b' pullop.cgresult'
365 363 adding changesets
366 364 adding manifests
367 365 adding file changes
368 added 1 changesets with 0 changes to 0 files (-1 heads)
369 366 pretxnchangegroup hook: HG_HOOKNAME=pretxnchangegroup
370 367 HG_HOOKTYPE=pretxnchangegroup
371 368 HG_NODE=71bd7b46de72e69a32455bf88d04757d542e6cf4
@@ -381,7 +378,6 b' pullop.cgresult'
381 378 adding changesets
382 379 adding manifests
383 380 adding file changes
384 added 1 changesets with 1 changes to 1 files
385 381 pretxnchangegroup hook: HG_HOOKNAME=pretxnchangegroup
386 382 HG_HOOKTYPE=pretxnchangegroup
387 383 HG_NODE=9d18e5bd9ab09337802595d49f1dad0c98df4d84
@@ -394,6 +390,7 b' pullop.cgresult'
394 390 file:/*/$TESTTMP/repo (glob)
395 391 HG_URL=file:$TESTTMP/repo
396 392
393 added 2 changesets with 1 changes to 1 files (-1 heads)
397 394 new changesets 71bd7b46de72:9d18e5bd9ab0
398 395 changegroup hook: HG_HOOKNAME=changegroup
399 396 HG_HOOKTYPE=changegroup
@@ -202,12 +202,11 b' Test a pull with an remote-changegroup a'
202 202 adding changesets
203 203 adding manifests
204 204 adding file changes
205 added 2 changesets with 2 changes to 2 files (+1 heads)
206 205 remote: changegroup
207 206 adding changesets
208 207 adding manifests
209 208 adding file changes
210 added 3 changesets with 2 changes to 2 files (+1 heads)
209 added 5 changesets with 4 changes to 4 files (+2 heads)
211 210 new changesets 32af7686d403:02de42196ebe
212 211 (run 'hg heads' to see heads, 'hg merge' to merge)
213 212 $ hg -R clone log -G
@@ -252,12 +251,11 b' Test a pull with a changegroup followed '
252 251 adding changesets
253 252 adding manifests
254 253 adding file changes
255 added 2 changesets with 2 changes to 2 files (+1 heads)
256 254 remote: remote-changegroup
257 255 adding changesets
258 256 adding manifests
259 257 adding file changes
260 added 3 changesets with 2 changes to 2 files (+1 heads)
258 added 5 changesets with 4 changes to 4 files (+2 heads)
261 259 new changesets 32af7686d403:02de42196ebe
262 260 (run 'hg heads' to see heads, 'hg merge' to merge)
263 261 $ hg -R clone log -G
@@ -305,17 +303,15 b' Test a pull with two remote-changegroups'
305 303 adding changesets
306 304 adding manifests
307 305 adding file changes
308 added 2 changesets with 2 changes to 2 files (+1 heads)
309 306 remote: remote-changegroup
310 307 adding changesets
311 308 adding manifests
312 309 adding file changes
313 added 2 changesets with 1 changes to 1 files
314 310 remote: changegroup
315 311 adding changesets
316 312 adding manifests
317 313 adding file changes
318 added 1 changesets with 1 changes to 1 files (+1 heads)
314 added 5 changesets with 4 changes to 4 files (+2 heads)
319 315 new changesets 32af7686d403:02de42196ebe
320 316 (run 'hg heads' to see heads, 'hg merge' to merge)
321 317 $ hg -R clone log -G
@@ -383,7 +379,6 b' Hash digest mismatch throws an error'
383 379 adding changesets
384 380 adding manifests
385 381 adding file changes
386 added 8 changesets with 7 changes to 7 files (+2 heads)
387 382 transaction abort!
388 383 rollback completed
389 384 abort: bundle at http://localhost:$HGPORT/bundle6.hg is corrupted:
@@ -418,7 +413,6 b' If either of the multiple hash digests m'
418 413 adding changesets
419 414 adding manifests
420 415 adding file changes
421 added 8 changesets with 7 changes to 7 files (+2 heads)
422 416 transaction abort!
423 417 rollback completed
424 418 abort: bundle at http://localhost:$HGPORT/bundle6.hg is corrupted:
@@ -434,7 +428,6 b' If either of the multiple hash digests m'
434 428 adding changesets
435 429 adding manifests
436 430 adding file changes
437 added 8 changesets with 7 changes to 7 files (+2 heads)
438 431 transaction abort!
439 432 rollback completed
440 433 abort: bundle at http://localhost:$HGPORT/bundle6.hg is corrupted:
@@ -464,12 +457,10 b' Corruption tests'
464 457 adding changesets
465 458 adding manifests
466 459 adding file changes
467 added 2 changesets with 2 changes to 2 files (+1 heads)
468 460 remote: remote-changegroup
469 461 adding changesets
470 462 adding manifests
471 463 adding file changes
472 added 2 changesets with 1 changes to 1 files
473 464 transaction abort!
474 465 rollback completed
475 466 abort: bundle at http://localhost:$HGPORT/bundle5.hg is corrupted:
@@ -534,7 +525,6 b' Size mismatch'
534 525 adding changesets
535 526 adding manifests
536 527 adding file changes
537 added 2 changesets with 2 changes to 2 files (+1 heads)
538 528 transaction abort!
539 529 rollback completed
540 530 abort: bundle at http://localhost:$HGPORT/bundle4.hg is corrupted:
@@ -868,9 +868,9 b' Clone with existing share dir should res'
868 868 adding changesets
869 869 adding manifests
870 870 adding file changes
871 added 4 changesets with 4 changes to 1 files (+4 heads)
872 871 adding remote bookmark head1
873 872 adding remote bookmark head2
873 added 4 changesets with 4 changes to 1 files (+4 heads)
874 874 new changesets 4a8dc1ab4c13:6bacf4683960
875 875 updating working directory
876 876 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
@@ -996,9 +996,9 b' making another clone should only pull do'
996 996 adding changesets
997 997 adding manifests
998 998 adding file changes
999 added 1 changesets with 1 changes to 1 files (+1 heads)
1000 999 adding remote bookmark head1
1001 1000 adding remote bookmark head2
1001 added 1 changesets with 1 changes to 1 files (+1 heads)
1002 1002 new changesets 99f71071f117
1003 1003 updating working directory
1004 1004 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
@@ -39,7 +39,6 b' Create repo'
39 39 adding changesets
40 40 adding manifests
41 41 adding file changes
42 added 1 changesets with 1 changes to 1 files
43 42 error: pretxnchangegroup hook failed: end-of-line check failed:
44 43 a.txt in a8ee6548cd86 should not have CRLF line endings
45 44 transaction abort!
@@ -67,7 +66,6 b' Create repo'
67 66 adding changesets
68 67 adding manifests
69 68 adding file changes
70 added 1 changesets with 1 changes to 1 files
71 69 error: pretxnchangegroup hook failed: end-of-line check failed:
72 70 crlf.txt in 004ba2132725 should not have LF line endings
73 71 transaction abort!
@@ -95,7 +93,6 b' Create repo'
95 93 adding changesets
96 94 adding manifests
97 95 adding file changes
98 added 1 changesets with 1 changes to 1 files
99 96 error: pretxnchangegroup hook failed: end-of-line check failed:
100 97 b.txt in fbcf9b1025f5 should not have CRLF line endings
101 98 transaction abort!
@@ -116,7 +113,6 b' Create repo'
116 113 adding changesets
117 114 adding manifests
118 115 adding file changes
119 added 2 changesets with 2 changes to 2 files (+1 heads)
120 116 error: pretxnchangegroup hook failed: end-of-line check failed:
121 117 b.txt in fbcf9b1025f5 should not have CRLF line endings
122 118 transaction abort!
@@ -137,7 +133,6 b' Test checkheadshook alias'
137 133 adding changesets
138 134 adding manifests
139 135 adding file changes
140 added 2 changesets with 2 changes to 2 files (+1 heads)
141 136 error: pretxnchangegroup hook failed: end-of-line check failed:
142 137 b.txt in fbcf9b1025f5 should not have CRLF line endings
143 138 transaction abort!
@@ -174,7 +169,6 b' Test it still fails with checkallhook'
174 169 adding changesets
175 170 adding manifests
176 171 adding file changes
177 added 3 changesets with 3 changes to 2 files (+1 heads)
178 172 error: pretxnchangegroup hook failed: end-of-line check failed:
179 173 b.txt in fbcf9b1025f5 should not have CRLF line endings
180 174 transaction abort!
@@ -204,7 +198,6 b' Test multiple files/revisions output'
204 198 adding changesets
205 199 adding manifests
206 200 adding file changes
207 added 3 changesets with 3 changes to 2 files (+1 heads)
208 201 error: pretxnchangegroup hook failed: end-of-line check failed:
209 202 b.txt in fbcf9b1025f5 should not have CRLF line endings
210 203 d.txt in a7040e68714f should not have CRLF line endings
@@ -720,7 +720,6 b' incoming changes no longer there after'
720 720 adding changesets
721 721 adding manifests
722 722 adding file changes
723 added 1 changesets with 1 changes to 1 files
724 723 4:539e4b31b6dc
725 724 pretxnchangegroup.forbid hook: HG_HOOKNAME=pretxnchangegroup.forbid1
726 725 HG_HOOKTYPE=pretxnchangegroup
@@ -763,8 +762,8 b' outgoing hooks can see env vars'
763 762 adding changesets
764 763 adding manifests
765 764 adding file changes
765 adding remote bookmark quux
766 766 added 1 changesets with 1 changes to 1 files
767 adding remote bookmark quux
768 767 new changesets 539e4b31b6dc
769 768 (run 'hg update' to get a working copy)
770 769 $ hg rollback
@@ -995,8 +994,8 b' different between Python 2.6 and Python '
995 994 adding changesets
996 995 adding manifests
997 996 adding file changes
997 adding remote bookmark quux
998 998 added 1 changesets with 1 changes to 1 files
999 adding remote bookmark quux
1000 999 new changesets 539e4b31b6dc
1001 1000 (run 'hg update' to get a working copy)
1002 1001
@@ -1235,13 +1234,13 b' new commits must be visible in pretxncha'
1235 1234 adding changesets
1236 1235 adding manifests
1237 1236 adding file changes
1238 added 1 changesets with 1 changes to 1 files
1239 1237 changeset: 1:9836a07b9b9d
1240 1238 tag: tip
1241 1239 user: test
1242 1240 date: Thu Jan 01 00:00:00 1970 +0000
1243 1241 summary: b
1244 1242
1243 added 1 changesets with 1 changes to 1 files
1245 1244
1246 1245 pretxnclose hook failure should abort the transaction
1247 1246
@@ -1092,7 +1092,6 b' Server stops sending after 0 length payl'
1092 1092 adding changesets
1093 1093 adding manifests
1094 1094 adding file changes
1095 added 1 changesets with 1 changes to 1 files
1096 1095 transaction abort!
1097 1096 rollback completed
1098 1097 abort: HTTP request error (incomplete response) (py3 !)
@@ -338,12 +338,13 b' test http authentication'
338 338 bundle2-input-bundle: no-transaction
339 339 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
340 340 bundle2-input-part: "output" (advisory) (params: 0 advisory) supported
341 bundle2-input-part: total payload size 100
341 bundle2-input-part: total payload size 55
342 342 remote: adding changesets
343 343 remote: adding manifests
344 344 remote: adding file changes
345 bundle2-input-part: "output" (advisory) supported
346 bundle2-input-part: total payload size 45
345 347 remote: added 1 changesets with 1 changes to 1 files
346 bundle2-input-part: "output" (advisory) supported
347 348 bundle2-input-bundle: 2 parts total
348 349 preparing listkeys for "phases"
349 350 sending listkeys command
@@ -168,8 +168,8 b' Pull scratch and non-scratch bookmark at'
168 168 adding changesets
169 169 adding manifests
170 170 adding file changes
171 adding remote bookmark newbook
171 172 added 1 changesets with 1 changes to 2 files
172 adding remote bookmark newbook
173 173 new changesets 1de1d7d92f89 (1 drafts)
174 174 (run 'hg update' to get a working copy)
175 175 $ hg log -G -T '{desc} {phase} {bookmarks}'
@@ -78,11 +78,10 b' Pull two bookmarks from the second clien'
78 78 adding changesets
79 79 adding manifests
80 80 adding file changes
81 added 1 changesets with 1 changes to 1 files
82 81 adding changesets
83 82 adding manifests
84 83 adding file changes
85 added 1 changesets with 1 changes to 1 files (+1 heads)
84 added 2 changesets with 2 changes to 2 files (+1 heads)
86 85 new changesets * (glob)
87 86 (run 'hg heads' to see heads, 'hg merge' to merge)
88 87 $ hg log -r scratch/secondpart -T '{node}'
@@ -158,11 +157,10 b' Make sure phase on the client is public.'
158 157 adding changesets
159 158 adding manifests
160 159 adding file changes
161 added 1 changesets with 1 changes to 1 files (+1 heads)
162 160 adding changesets
163 161 adding manifests
164 162 adding file changes
165 added 1 changesets with 1 changes to 1 files
163 added 2 changesets with 2 changes to 2 files (+1 heads)
166 164 new changesets a79b6597f322:c70aee6da07d (1 drafts)
167 165 (run 'hg heads .' to see heads, 'hg merge' to merge)
168 166 $ hg log -r scratch/scratchontopofpublic -T '{phase}'
@@ -105,7 +105,6 b' Blob URIs are correct when --prefix is u'
105 105 adding manifests
106 106 adding file changes
107 107 adding lfs.bin revisions
108 added 1 changesets with 1 changes to 1 files
109 108 bundle2-input-part: total payload size 648
110 109 bundle2-input-part: "listkeys" (params: 1 mandatory) supported
111 110 bundle2-input-part: "phase-heads" supported
@@ -115,6 +114,7 b' Blob URIs are correct when --prefix is u'
115 114 bundle2-input-bundle: 3 parts total
116 115 checking for updated bookmarks
117 116 updating the branch cache
117 added 1 changesets with 1 changes to 1 files
118 118 new changesets 525251863cad
119 119 updating to branch default
120 120 resolving manifests
@@ -499,8 +499,8 b' lfs content, and the extension enabled.'
499 499 adding changesets
500 500 adding manifests
501 501 adding file changes
502 calling hook pretxnchangegroup.lfs: hgext.lfs.checkrequireslfs
502 503 added 6 changesets with 5 changes to 5 files (+1 heads)
503 calling hook pretxnchangegroup.lfs: hgext.lfs.checkrequireslfs
504 504 new changesets d437e1d24fbd:d3b84d50eacb
505 505 resolving manifests
506 506 lfs: assuming remote store: http://localhost:$HGPORT/.git/info/lfs
@@ -135,13 +135,13 b' store.'
135 135 adding manifests
136 136 adding file changes
137 137 adding a revisions
138 added 1 changesets with 1 changes to 1 files
139 138 calling hook pretxnchangegroup.lfs: hgext.lfs.checkrequireslfs
140 139 bundle2-input-part: total payload size 617
141 140 bundle2-input-part: "phase-heads" supported
142 141 bundle2-input-part: total payload size 24
143 142 bundle2-input-bundle: 3 parts total
144 143 updating the branch cache
144 added 1 changesets with 1 changes to 1 files
145 145 bundle2-output-bundle: "HG20", 1 parts total
146 146 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
147 147 bundle2-input-bundle: no-transaction
@@ -312,12 +312,12 b' actions property completely.'
312 312 adding b revisions
313 313 adding c revisions
314 314 adding d revisions
315 added 1 changesets with 3 changes to 3 files
316 315 bundle2-input-part: total payload size 1315
317 316 bundle2-input-part: "phase-heads" supported
318 317 bundle2-input-part: total payload size 24
319 318 bundle2-input-bundle: 4 parts total
320 319 updating the branch cache
320 added 1 changesets with 3 changes to 3 files
321 321 bundle2-output-bundle: "HG20", 1 parts total
322 322 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
323 323 bundle2-input-bundle: no-transaction
@@ -124,8 +124,8 b' lfs requirement'
124 124 adding changesets
125 125 adding manifests
126 126 adding file changes
127 calling hook pretxnchangegroup.lfs: hgext.lfs.checkrequireslfs
127 128 added 2 changesets with 3 changes to 3 files
128 calling hook pretxnchangegroup.lfs: hgext.lfs.checkrequireslfs
129 129 $ grep lfs $TESTTMP/server/.hg/requires
130 130 lfs
131 131
@@ -98,9 +98,9 b' Making a new server'
98 98 adding changesets
99 99 adding manifests
100 100 adding file changes
101 added 9 changesets with 9 changes to 9 files (+1 heads)
102 101 adding remote bookmark bar
103 102 adding remote bookmark foo
103 added 9 changesets with 9 changes to 9 files (+1 heads)
104 104 new changesets 18d04c59bb5d:3e1487808078
105 105 (run 'hg heads' to see heads)
106 106
@@ -217,7 +217,7 b" TODO: lfs shouldn't abort like this"
217 217 remote: adding changesets
218 218 remote: adding manifests
219 219 remote: adding file changes
220 remote: added 1 changesets with 0 changes to 0 files
220 remote: added 1 changesets with 0 changes to 0 files (no-lfs-on !)
221 221 remote: error: pretxnchangegroup.lfs hook raised an exception: data/inside2/f.i@f59b4e021835: no match found (lfs-on !)
222 222 remote: transaction abort! (lfs-on !)
223 223 remote: rollback completed (lfs-on !)
@@ -125,9 +125,9 b' added upstream revisions.'
125 125 adding widest/ revisions (tree !)
126 126 adding file changes
127 127 adding widest/f revisions
128 added 0 changesets with 1 changes to 1 files
129 128 bundle2-input-part: total payload size * (glob)
130 129 bundle2-input-bundle: 0 parts total
130 added 0 changesets with 1 changes to 1 files
131 131 widest/f: narrowspec updated -> g
132 132 getting widest/f
133 133 $ hg tracked
@@ -340,7 +340,6 b' Widening that fails can be recovered fro'
340 340 adding changesets
341 341 adding manifests
342 342 adding file changes
343 added 3 changesets with 2 changes to 2 files
344 343 transaction abort!
345 344 rollback completed
346 345 abort: pretxnchangegroup.bad hook exited with status 1
@@ -170,7 +170,6 b' client only pulls down 1 changeset'
170 170 adding manifests
171 171 adding file changes
172 172 adding foo revisions
173 added 1 changesets with 1 changes to 1 files (+1 heads)
174 173 bundle2-input-part: total payload size 476
175 174 bundle2-input-part: "listkeys" (params: 1 mandatory) supported
176 175 bundle2-input-part: "phase-heads" supported
@@ -180,5 +179,6 b' client only pulls down 1 changeset'
180 179 bundle2-input-bundle: 3 parts total
181 180 checking for updated bookmarks
182 181 updating the branch cache
182 added 1 changesets with 1 changes to 1 files (+1 heads)
183 183 new changesets bec0734cd68e
184 184 (run 'hg heads' to see heads, 'hg merge' to merge)
@@ -101,15 +101,13 b' Test pullbundle functionality for increm'
101 101 adding changesets
102 102 adding manifests
103 103 adding file changes
104 added 1 changesets with 1 changes to 1 files
105 104 adding changesets
106 105 adding manifests
107 106 adding file changes
108 added 1 changesets with 1 changes to 1 files
109 107 adding changesets
110 108 adding manifests
111 109 adding file changes
112 added 1 changesets with 1 changes to 1 files (+1 heads)
110 added 3 changesets with 3 changes to 3 files (+1 heads)
113 111 new changesets bbd179dfa0a7:ed1b79f46b9a (3 drafts)
114 112 updating to branch default
115 113 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
@@ -108,8 +108,8 b' explicit destination of the update.'
108 108 adding changesets
109 109 adding manifests
110 110 adding file changes
111 adding remote bookmark active-after-pull
111 112 added 1 changesets with 1 changes to 1 files
112 adding remote bookmark active-after-pull
113 113 new changesets f815b3da6163
114 114 1 local changesets published
115 115 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
@@ -138,8 +138,8 b' explicit destination of the update.'
138 138 adding changesets
139 139 adding manifests
140 140 adding file changes
141 adding remote bookmark active-after-pull
141 142 added 1 changesets with 1 changes to 1 files
142 adding remote bookmark active-after-pull
143 143 new changesets f815b3da6163
144 144 1 local changesets published
145 145 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
@@ -88,8 +88,8 b' expect success'
88 88 remote: adding manifests
89 89 remote: adding file changes
90 90 remote: adding a revisions
91 remote: updating the branch cache
91 92 remote: added 1 changesets with 1 changes to 1 files
92 remote: updating the branch cache
93 93 remote: running hook txnclose-phase.test: sh $TESTTMP/hook.sh
94 94 remote: phase-move: cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b: draft -> public
95 95 remote: running hook txnclose-phase.test: sh $TESTTMP/hook.sh
@@ -117,8 +117,8 b' expect success'
117 117 remote: adding manifests
118 118 remote: adding file changes
119 119 remote: adding a revisions
120 remote: updating the branch cache
120 121 remote: added 1 changesets with 1 changes to 1 files
121 remote: updating the branch cache
122 122 remote: running hook txnclose-phase.test: sh $TESTTMP/hook.sh
123 123 remote: phase-move: cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b: draft -> public
124 124 remote: running hook txnclose-phase.test: sh $TESTTMP/hook.sh
@@ -309,7 +309,6 b' and fails the entire push.'
309 309 remote: adding changesets
310 310 remote: adding manifests
311 311 remote: adding file changes
312 remote: added 1 changesets with 1 changes to 1 files
313 312 remote: prepushkey hook: HG_BUNDLE2=1
314 313 remote: HG_HOOKNAME=prepushkey
315 314 remote: HG_HOOKTYPE=prepushkey
@@ -351,7 +350,6 b" We don't need to test bundle1 because it"
351 350 remote: adding changesets
352 351 remote: adding manifests
353 352 remote: adding file changes
354 remote: added 1 changesets with 1 changes to 1 files
355 353 remote: prepushkey hook: HG_BUNDLE2=1
356 354 remote: HG_HOOKNAME=prepushkey
357 355 remote: HG_HOOKTYPE=prepushkey
@@ -368,6 +366,7 b" We don't need to test bundle1 because it"
368 366 remote: HG_TXNNAME=serve
369 367 remote: HG_URL=remote:http:$LOCALIP: (glob)
370 368 remote:
369 remote: added 1 changesets with 1 changes to 1 files
371 370 % serve errors
372 371 #endif
373 372
@@ -410,7 +409,6 b' Now do a variant of the above, except on'
410 409 remote: adding changesets
411 410 remote: adding manifests
412 411 remote: adding file changes
413 remote: added 1 changesets with 1 changes to 1 files
414 412 remote: prepushkey hook: HG_BUNDLE2=1
415 413 remote: HG_HOOKNAME=prepushkey
416 414 remote: HG_HOOKTYPE=prepushkey
@@ -465,7 +463,6 b' Make phases updates work'
465 463 remote: adding changesets
466 464 remote: adding manifests
467 465 remote: adding file changes
468 remote: added 1 changesets with 1 changes to 1 files
469 466 remote: prepushkey hook: HG_BUNDLE2=1
470 467 remote: HG_HOOKNAME=prepushkey
471 468 remote: HG_HOOKTYPE=prepushkey
@@ -482,6 +479,7 b' Make phases updates work'
482 479 remote: HG_TXNNAME=serve
483 480 remote: HG_URL=remote:http:$LOCALIP: (glob)
484 481 remote:
482 remote: added 1 changesets with 1 changes to 1 files
485 483 % serve errors
486 484 #endif
487 485
@@ -287,9 +287,9 b' Test push hook locking'
287 287 adding changesets
288 288 adding manifests
289 289 adding file changes
290 added 1 changesets with 1 changes to 1 files
291 290 lock: user *, process * (*s) (glob)
292 291 wlock: free
292 added 1 changesets with 1 changes to 1 files
293 293
294 294 $ hg --cwd 1 --config extensions.strip= strip tip -q
295 295 $ hg --cwd 2 --config extensions.strip= strip tip -q
@@ -299,9 +299,9 b' Test push hook locking'
299 299 adding changesets
300 300 adding manifests
301 301 adding file changes
302 added 1 changesets with 1 changes to 1 files
303 302 lock: user *, process * (*s) (glob)
304 303 wlock: user *, process * (*s) (glob)
304 added 1 changesets with 1 changes to 1 files
305 305
306 306 Test bare push with multiple race checking options
307 307 --------------------------------------------------
@@ -41,9 +41,9 b' Setting pushvars.sever = true and then p'
41 41 adding changesets
42 42 adding manifests
43 43 adding file changes
44 added 1 changesets with 1 changes to 1 files
45 44 HG_USERVAR_BYPASS_REVIEW=true
46 45 HG_USERVAR_DEBUG=1
46 added 1 changesets with 1 changes to 1 files
47 47
48 48 Test pushing var with empty right-hand side
49 49
@@ -55,8 +55,8 b' Test pushing var with empty right-hand s'
55 55 adding changesets
56 56 adding manifests
57 57 adding file changes
58 HG_USERVAR_DEBUG=
58 59 added 1 changesets with 1 changes to 1 files
59 HG_USERVAR_DEBUG=
60 60
61 61 Test pushing bad vars
62 62
@@ -315,7 +315,6 b' Check that the right ancestors is used w'
315 315 adding manifests
316 316 adding file changes
317 317 adding f1.txt revisions
318 added 2 changesets with 2 changes to 1 files
319 318 bundle2-input-part: total payload size 1686
320 319 bundle2-input-part: "cache:rev-branch-cache" (advisory) supported
321 320 bundle2-input-part: total payload size 74
@@ -323,6 +322,7 b' Check that the right ancestors is used w'
323 322 bundle2-input-part: "phase-heads" supported
324 323 bundle2-input-part: total payload size 24
325 324 bundle2-input-bundle: 2 parts total
325 added 2 changesets with 2 changes to 1 files
326 326 updating the branch cache
327 327 invalid branch cache (served): tip differs
328 328 invalid branch cache (served.hidden): tip differs
@@ -73,8 +73,8 b''
73 73 adding changesets
74 74 adding manifests
75 75 adding file changes
76 updating bookmark foo
76 77 added 1 changesets with 0 changes to 0 files
77 updating bookmark foo
78 78 new changesets 6b4b6f66ef8c
79 79 (run 'hg update' to get a working copy)
80 80 prefetching file contents
@@ -102,8 +102,8 b''
102 102 adding changesets
103 103 adding manifests
104 104 adding file changes
105 updating bookmark foo
105 106 added 1 changesets with 0 changes to 0 files
106 updating bookmark foo
107 107 new changesets 6b4b6f66ef8c
108 108 (run 'hg update' to get a working copy)
109 109 prefetching file contents
@@ -94,8 +94,8 b''
94 94 adding changesets
95 95 adding manifests
96 96 adding file changes
97 updating bookmark foo
97 98 added 1 changesets with 0 changes to 0 files
98 updating bookmark foo
99 99 new changesets 109c3a557a73
100 100 (run 'hg update' to get a working copy)
101 101 prefetching file contents
@@ -118,8 +118,8 b''
118 118 adding changesets
119 119 adding manifests
120 120 adding file changes
121 updating bookmark foo
121 122 added 1 changesets with 0 changes to 0 files
122 updating bookmark foo
123 123 new changesets 109c3a557a73
124 124 (run 'hg update' to get a working copy)
125 125 prefetching file contents
@@ -149,8 +149,8 b''
149 149 adding changesets
150 150 adding manifests
151 151 adding file changes
152 updating bookmark foo
152 153 added 1 changesets with 0 changes to 0 files
153 updating bookmark foo
154 154 new changesets 109c3a557a73
155 155 1 local changesets published (?)
156 156 (run 'hg update' to get a working copy)
@@ -58,8 +58,8 b''
58 58 adding changesets
59 59 adding manifests
60 60 adding file changes
61 updating bookmark foo
61 62 added 1 changesets with 0 changes to 0 files
62 updating bookmark foo
63 63 new changesets 876b1317060d
64 64 (run 'hg update' to get a working copy)
65 65 prefetching file contents
@@ -71,7 +71,6 b' Create a new head on the default branch'
71 71 adding changesets
72 72 adding manifests
73 73 adding file changes
74 added 1 changesets with 1 changes to 1 files (+1 heads)
75 74 transaction abort!
76 75 rollback completed
77 76 abort: rejecting multiple heads on branch "default"
@@ -583,7 +583,6 b' remote hook failure is attributed to rem'
583 583 remote: adding changesets
584 584 remote: adding manifests
585 585 remote: adding file changes
586 remote: added 1 changesets with 1 changes to 1 files
587 586 remote: hook failure!
588 587 remote: transaction abort!
589 588 remote: rollback completed
@@ -272,11 +272,10 b' ui.write() in hook is redirected to stde'
272 272 o> read(1) -> 1: 0
273 273 result: 0
274 274 remote output:
275 e> read(-1) -> 196:
275 e> read(-1) -> 151:
276 276 e> adding changesets\n
277 277 e> adding manifests\n
278 278 e> adding file changes\n
279 e> added 1 changesets with 1 changes to 1 files\n
280 279 e> ui.write 1 line\n
281 280 e> transaction abort!\n
282 281 e> rollback completed\n
@@ -328,11 +327,10 b' ui.write() in hook is redirected to stde'
328 327 o> read(1) -> 1: 0
329 328 result: 0
330 329 remote output:
331 e> read(-1) -> 196:
330 e> read(-1) -> 151:
332 331 e> adding changesets\n
333 332 e> adding manifests\n
334 333 e> adding file changes\n
335 e> added 1 changesets with 1 changes to 1 files\n
336 334 e> ui.write 1 line\n
337 335 e> transaction abort!\n
338 336 e> rollback completed\n
@@ -398,11 +396,10 b' And a variation that writes multiple lin'
398 396 o> read(1) -> 1: 0
399 397 result: 0
400 398 remote output:
401 e> read(-1) -> 218:
399 e> read(-1) -> 173:
402 400 e> adding changesets\n
403 401 e> adding manifests\n
404 402 e> adding file changes\n
405 e> added 1 changesets with 1 changes to 1 files\n
406 403 e> ui.write 2 lines 1\n
407 404 e> ui.write 2 lines 2\n
408 405 e> transaction abort!\n
@@ -455,11 +452,10 b' And a variation that writes multiple lin'
455 452 o> read(1) -> 1: 0
456 453 result: 0
457 454 remote output:
458 e> read(-1) -> 218:
455 e> read(-1) -> 173:
459 456 e> adding changesets\n
460 457 e> adding manifests\n
461 458 e> adding file changes\n
462 e> added 1 changesets with 1 changes to 1 files\n
463 459 e> ui.write 2 lines 1\n
464 460 e> ui.write 2 lines 2\n
465 461 e> transaction abort!\n
@@ -526,11 +522,10 b' And a variation that does a ui.flush() a'
526 522 o> read(1) -> 1: 0
527 523 result: 0
528 524 remote output:
529 e> read(-1) -> 202:
525 e> read(-1) -> 157:
530 526 e> adding changesets\n
531 527 e> adding manifests\n
532 528 e> adding file changes\n
533 e> added 1 changesets with 1 changes to 1 files\n
534 529 e> ui.write 1 line flush\n
535 530 e> transaction abort!\n
536 531 e> rollback completed\n
@@ -582,11 +577,10 b' And a variation that does a ui.flush() a'
582 577 o> read(1) -> 1: 0
583 578 result: 0
584 579 remote output:
585 e> read(-1) -> 202:
580 e> read(-1) -> 157:
586 581 e> adding changesets\n
587 582 e> adding manifests\n
588 583 e> adding file changes\n
589 e> added 1 changesets with 1 changes to 1 files\n
590 584 e> ui.write 1 line flush\n
591 585 e> transaction abort!\n
592 586 e> rollback completed\n
@@ -652,11 +646,10 b' Multiple writes + flush'
652 646 o> read(1) -> 1: 0
653 647 result: 0
654 648 remote output:
655 e> read(-1) -> 206:
649 e> read(-1) -> 161:
656 650 e> adding changesets\n
657 651 e> adding manifests\n
658 652 e> adding file changes\n
659 e> added 1 changesets with 1 changes to 1 files\n
660 653 e> ui.write 1st\n
661 654 e> ui.write 2nd\n
662 655 e> transaction abort!\n
@@ -709,11 +702,10 b' Multiple writes + flush'
709 702 o> read(1) -> 1: 0
710 703 result: 0
711 704 remote output:
712 e> read(-1) -> 206:
705 e> read(-1) -> 161:
713 706 e> adding changesets\n
714 707 e> adding manifests\n
715 708 e> adding file changes\n
716 e> added 1 changesets with 1 changes to 1 files\n
717 709 e> ui.write 1st\n
718 710 e> ui.write 2nd\n
719 711 e> transaction abort!\n
@@ -780,11 +772,10 b' ui.write() + ui.write_err() output is ca'
780 772 o> read(1) -> 1: 0
781 773 result: 0
782 774 remote output:
783 e> read(-1) -> 232:
775 e> read(-1) -> 187:
784 776 e> adding changesets\n
785 777 e> adding manifests\n
786 778 e> adding file changes\n
787 e> added 1 changesets with 1 changes to 1 files\n
788 779 e> ui.write 1\n
789 780 e> ui.write_err 1\n
790 781 e> ui.write 2\n
@@ -839,11 +830,10 b' ui.write() + ui.write_err() output is ca'
839 830 o> read(1) -> 1: 0
840 831 result: 0
841 832 remote output:
842 e> read(-1) -> 232:
833 e> read(-1) -> 187:
843 834 e> adding changesets\n
844 835 e> adding manifests\n
845 836 e> adding file changes\n
846 e> added 1 changesets with 1 changes to 1 files\n
847 837 e> ui.write 1\n
848 838 e> ui.write_err 1\n
849 839 e> ui.write 2\n
@@ -912,11 +902,10 b' print() output is captured'
912 902 o> read(1) -> 1: 0
913 903 result: 0
914 904 remote output:
915 e> read(-1) -> 193:
905 e> read(-1) -> 148:
916 906 e> adding changesets\n
917 907 e> adding manifests\n
918 908 e> adding file changes\n
919 e> added 1 changesets with 1 changes to 1 files\n
920 909 e> printed line\n
921 910 e> transaction abort!\n
922 911 e> rollback completed\n
@@ -968,11 +957,10 b' print() output is captured'
968 957 o> read(1) -> 1: 0
969 958 result: 0
970 959 remote output:
971 e> read(-1) -> 193:
960 e> read(-1) -> 148:
972 961 e> adding changesets\n
973 962 e> adding manifests\n
974 963 e> adding file changes\n
975 e> added 1 changesets with 1 changes to 1 files\n
976 964 e> printed line\n
977 965 e> transaction abort!\n
978 966 e> rollback completed\n
@@ -1038,11 +1026,10 b' Mixed print() and ui.write() are both ca'
1038 1026 o> read(1) -> 1: 0
1039 1027 result: 0
1040 1028 remote output:
1041 e> read(-1) -> 218:
1029 e> read(-1) -> 173:
1042 1030 e> adding changesets\n
1043 1031 e> adding manifests\n
1044 1032 e> adding file changes\n
1045 e> added 1 changesets with 1 changes to 1 files\n
1046 1033 e> print 1\n
1047 1034 e> ui.write 1\n
1048 1035 e> print 2\n
@@ -1097,11 +1084,10 b' Mixed print() and ui.write() are both ca'
1097 1084 o> read(1) -> 1: 0
1098 1085 result: 0
1099 1086 remote output:
1100 e> read(-1) -> 218:
1087 e> read(-1) -> 173:
1101 1088 e> adding changesets\n
1102 1089 e> adding manifests\n
1103 1090 e> adding file changes\n
1104 e> added 1 changesets with 1 changes to 1 files\n
1105 1091 e> print 1\n
1106 1092 e> ui.write 1\n
1107 1093 e> print 2\n
@@ -1170,11 +1156,10 b' print() to stdout and stderr both get ca'
1170 1156 o> read(1) -> 1: 0
1171 1157 result: 0
1172 1158 remote output:
1173 e> read(-1) -> 216:
1159 e> read(-1) -> 171:
1174 1160 e> adding changesets\n
1175 1161 e> adding manifests\n
1176 1162 e> adding file changes\n
1177 e> added 1 changesets with 1 changes to 1 files\n
1178 1163 e> stdout 1\n
1179 1164 e> stderr 1\n
1180 1165 e> stdout 2\n
@@ -1229,11 +1214,10 b' print() to stdout and stderr both get ca'
1229 1214 o> read(1) -> 1: 0
1230 1215 result: 0
1231 1216 remote output:
1232 e> read(-1) -> 216:
1217 e> read(-1) -> 171:
1233 1218 e> adding changesets\n
1234 1219 e> adding manifests\n
1235 1220 e> adding file changes\n
1236 e> added 1 changesets with 1 changes to 1 files\n
1237 1221 e> stdout 1\n
1238 1222 e> stderr 1\n
1239 1223 e> stdout 2\n
@@ -1308,11 +1292,10 b' Shell hook writing to stdout has output '
1308 1292 o> read(1) -> 1: 0
1309 1293 result: 0
1310 1294 remote output:
1311 e> read(-1) -> 212:
1295 e> read(-1) -> 167:
1312 1296 e> adding changesets\n
1313 1297 e> adding manifests\n
1314 1298 e> adding file changes\n
1315 e> added 1 changesets with 1 changes to 1 files\n
1316 1299 e> stdout 1\n
1317 1300 e> stdout 2\n
1318 1301 e> transaction abort!\n
@@ -1365,11 +1348,10 b' Shell hook writing to stdout has output '
1365 1348 o> read(1) -> 1: 0
1366 1349 result: 0
1367 1350 remote output:
1368 e> read(-1) -> 212:
1351 e> read(-1) -> 167:
1369 1352 e> adding changesets\n
1370 1353 e> adding manifests\n
1371 1354 e> adding file changes\n
1372 e> added 1 changesets with 1 changes to 1 files\n
1373 1355 e> stdout 1\n
1374 1356 e> stdout 2\n
1375 1357 e> transaction abort!\n
@@ -1437,11 +1419,10 b' Shell hook writing to stderr has output '
1437 1419 o> read(1) -> 1: 0
1438 1420 result: 0
1439 1421 remote output:
1440 e> read(-1) -> 212:
1422 e> read(-1) -> 167:
1441 1423 e> adding changesets\n
1442 1424 e> adding manifests\n
1443 1425 e> adding file changes\n
1444 e> added 1 changesets with 1 changes to 1 files\n
1445 1426 e> stderr 1\n
1446 1427 e> stderr 2\n
1447 1428 e> transaction abort!\n
@@ -1494,11 +1475,10 b' Shell hook writing to stderr has output '
1494 1475 o> read(1) -> 1: 0
1495 1476 result: 0
1496 1477 remote output:
1497 e> read(-1) -> 212:
1478 e> read(-1) -> 167:
1498 1479 e> adding changesets\n
1499 1480 e> adding manifests\n
1500 1481 e> adding file changes\n
1501 e> added 1 changesets with 1 changes to 1 files\n
1502 1482 e> stderr 1\n
1503 1483 e> stderr 2\n
1504 1484 e> transaction abort!\n
@@ -1568,11 +1548,10 b' Shell hook writing to stdout and stderr '
1568 1548 o> read(1) -> 1: 0
1569 1549 result: 0
1570 1550 remote output:
1571 e> read(-1) -> 230:
1551 e> read(-1) -> 185:
1572 1552 e> adding changesets\n
1573 1553 e> adding manifests\n
1574 1554 e> adding file changes\n
1575 e> added 1 changesets with 1 changes to 1 files\n
1576 1555 e> stdout 1\n
1577 1556 e> stderr 1\n
1578 1557 e> stdout 2\n
@@ -1627,11 +1606,10 b' Shell hook writing to stdout and stderr '
1627 1606 o> read(1) -> 1: 0
1628 1607 result: 0
1629 1608 remote output:
1630 e> read(-1) -> 230:
1609 e> read(-1) -> 185:
1631 1610 e> adding changesets\n
1632 1611 e> adding manifests\n
1633 1612 e> adding file changes\n
1634 e> added 1 changesets with 1 changes to 1 files\n
1635 1613 e> stdout 1\n
1636 1614 e> stderr 1\n
1637 1615 e> stdout 2\n
@@ -1709,11 +1687,10 b' Shell and Python hooks writing to stdout'
1709 1687 o> read(1) -> 1: 0
1710 1688 result: 0
1711 1689 remote output:
1712 e> read(-1) -> 273:
1690 e> read(-1) -> 228:
1713 1691 e> adding changesets\n
1714 1692 e> adding manifests\n
1715 1693 e> adding file changes\n
1716 e> added 1 changesets with 1 changes to 1 files\n
1717 1694 e> shell stdout 1\n
1718 1695 e> shell stderr 1\n
1719 1696 e> shell stdout 2\n
@@ -1772,11 +1749,10 b' Shell and Python hooks writing to stdout'
1772 1749 o> read(1) -> 1: 0
1773 1750 result: 0
1774 1751 remote output:
1775 e> read(-1) -> 273:
1752 e> read(-1) -> 228:
1776 1753 e> adding changesets\n
1777 1754 e> adding manifests\n
1778 1755 e> adding file changes\n
1779 e> added 1 changesets with 1 changes to 1 files\n
1780 1756 e> shell stdout 1\n
1781 1757 e> shell stderr 1\n
1782 1758 e> shell stdout 2\n
@@ -1983,11 +1959,11 b' Pushing a bundle1 with ui.write() and ui'
1983 1959 e> adding changesets\n
1984 1960 e> adding manifests\n
1985 1961 e> adding file changes\n
1986 e> added 1 changesets with 1 changes to 1 files\n
1987 1962 e> ui.write 1\n
1988 1963 e> ui.write_err 1\n
1989 1964 e> ui.write 2\n
1990 1965 e> ui.write_err 2\n
1966 e> added 1 changesets with 1 changes to 1 files\n
1991 1967
1992 1968 testing ssh2
1993 1969 creating ssh peer from handshake results
@@ -2039,8 +2015,8 b' Pushing a bundle1 with ui.write() and ui'
2039 2015 e> adding changesets\n
2040 2016 e> adding manifests\n
2041 2017 e> adding file changes\n
2042 e> added 1 changesets with 1 changes to 1 files\n
2043 2018 e> ui.write 1\n
2044 2019 e> ui.write_err 1\n
2045 2020 e> ui.write 2\n
2046 2021 e> ui.write_err 2\n
2022 e> added 1 changesets with 1 changes to 1 files\n
@@ -644,7 +644,6 b' remote hook failure is attributed to rem'
644 644 remote: adding changesets
645 645 remote: adding manifests
646 646 remote: adding file changes
647 remote: added 1 changesets with 1 changes to 1 files
648 647 remote: hook failure!
649 648 remote: transaction abort!
650 649 remote: rollback completed
@@ -362,9 +362,9 b' remote transplant with pull'
362 362 adding changesets
363 363 adding manifests
364 364 adding file changes
365 added 1 changesets with 1 changes to 1 files
366 365 applying a53251cdf717
367 366 a53251cdf717 transplanted to 8d9279348abb
367 added 1 changesets with 1 changes to 1 files
368 368 $ hg log --template '{rev} {parents} {desc}\n'
369 369 2 b3
370 370 1 b1
@@ -654,9 +654,9 b' test "--merge" causing pull from source '
654 654 adding changesets
655 655 adding manifests
656 656 adding file changes
657 added 2 changesets with 2 changes to 2 files
658 657 applying a53251cdf717
659 658 4:a53251cdf717 merged at 4831f4dc831a
659 added 2 changesets with 2 changes to 2 files
660 660
661 661 test interactive transplant
662 662
@@ -56,7 +56,6 b' push should fail'
56 56 adding changesets
57 57 adding manifests
58 58 adding file changes
59 added 2 changesets with 2 changes to 2 files
60 59 attempt to commit or push text file(s) using CRLF line endings
61 60 in bc2d09796734: g
62 61 in b1aa5cde7ff4: f
@@ -265,7 +264,6 b' and now for something completely differe'
265 264 adding changesets
266 265 adding manifests
267 266 adding file changes
268 added 3 changesets with 4 changes to 4 files
269 267 attempt to commit or push text file(s) using CRLF line endings
270 268 in 67ac5962ab43: d
271 269 in 68c127d1834e: b
General Comments 0
You need to be logged in to leave comments. Login now