Show More
@@ -1043,8 +1043,6 b' class localrepository(repo.repository):' | |||
|
1043 | 1043 | tr = lock = None |
|
1044 | 1044 | removed = list(ctx.removed()) |
|
1045 | 1045 | p1, p2 = ctx.p1(), ctx.p2() |
|
1046 | m1 = p1.manifest().copy() | |
|
1047 | m2 = p2.manifest() | |
|
1048 | 1046 | user = ctx.user() |
|
1049 | 1047 | |
|
1050 | 1048 | lock = self.lock() |
@@ -1052,40 +1050,48 b' class localrepository(repo.repository):' | |||
|
1052 | 1050 | tr = self.transaction("commit") |
|
1053 | 1051 | trp = weakref.proxy(tr) |
|
1054 | 1052 | |
|
1055 |
|
|
|
1056 | new = {} | |
|
1057 | changed = [] | |
|
1058 | linkrev = len(self) | |
|
1059 | for f in sorted(ctx.modified() + ctx.added()): | |
|
1060 |
|
|
|
1061 |
|
|
|
1062 | fctx = ctx[f] | |
|
1063 | new[f] = self._filecommit(fctx, m1, m2, linkrev, trp, | |
|
1064 | changed) | |
|
1065 |
|
|
|
1066 | except OSError, inst: | |
|
1067 | self.ui.warn(_("trouble committing %s!\n") % f) | |
|
1068 | raise | |
|
1069 | except IOError, inst: | |
|
1070 | errcode = getattr(inst, 'errno', errno.ENOENT) | |
|
1071 | if error or errcode and errcode != errno.ENOENT: | |
|
1053 | if ctx.files(): | |
|
1054 | m1 = p1.manifest().copy() | |
|
1055 | m2 = p2.manifest() | |
|
1056 | ||
|
1057 | # check in files | |
|
1058 | new = {} | |
|
1059 | changed = [] | |
|
1060 | linkrev = len(self) | |
|
1061 | for f in sorted(ctx.modified() + ctx.added()): | |
|
1062 | self.ui.note(f + "\n") | |
|
1063 | try: | |
|
1064 | fctx = ctx[f] | |
|
1065 | new[f] = self._filecommit(fctx, m1, m2, linkrev, trp, | |
|
1066 | changed) | |
|
1067 | m1.set(f, fctx.flags()) | |
|
1068 | except OSError, inst: | |
|
1072 | 1069 | self.ui.warn(_("trouble committing %s!\n") % f) |
|
1073 | 1070 | raise |
|
1074 |
e |
|
|
1075 | removed.append(f) | |
|
1071 | except IOError, inst: | |
|
1072 | errcode = getattr(inst, 'errno', errno.ENOENT) | |
|
1073 | if error or errcode and errcode != errno.ENOENT: | |
|
1074 | self.ui.warn(_("trouble committing %s!\n") % f) | |
|
1075 | raise | |
|
1076 | else: | |
|
1077 | removed.append(f) | |
|
1076 | 1078 | |
|
1077 | # update manifest | |
|
1078 | m1.update(new) | |
|
1079 | removed = [f for f in sorted(removed) if f in m1 or f in m2] | |
|
1080 | drop = [f for f in removed if f in m1] | |
|
1081 | for f in drop: | |
|
1082 | del m1[f] | |
|
1083 | mn = self.manifest.add(m1, trp, linkrev, p1.manifestnode(), | |
|
1084 | p2.manifestnode(), (new, drop)) | |
|
1079 | # update manifest | |
|
1080 | m1.update(new) | |
|
1081 | removed = [f for f in sorted(removed) if f in m1 or f in m2] | |
|
1082 | drop = [f for f in removed if f in m1] | |
|
1083 | for f in drop: | |
|
1084 | del m1[f] | |
|
1085 | mn = self.manifest.add(m1, trp, linkrev, p1.manifestnode(), | |
|
1086 | p2.manifestnode(), (new, drop)) | |
|
1087 | files = changed + removed | |
|
1088 | else: | |
|
1089 | mn = p1.manifestnode() | |
|
1090 | files = [] | |
|
1085 | 1091 | |
|
1086 | 1092 | # update changelog |
|
1087 | 1093 | self.changelog.delayupdate() |
|
1088 |
n = self.changelog.add(mn, |
|
|
1094 | n = self.changelog.add(mn, files, ctx.description(), | |
|
1089 | 1095 | trp, p1.node(), p2.node(), |
|
1090 | 1096 | user, ctx.date(), ctx.extra().copy()) |
|
1091 | 1097 | p = lambda: self.changelog.writepending() and self.root or "" |
@@ -1365,7 +1365,7 b' No branch acls specified' | |||
|
1365 | 1365 | ef1ea85a6374b77d6da9dcda9541f498f2d17df7 |
|
1366 | 1366 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
1367 | 1367 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1368 | 4ea792ff64284af438188103a0ee8aca1724fb8c | |
|
1368 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 | |
|
1369 | 1369 | adding changesets |
|
1370 | 1370 | bundling: 1 changesets |
|
1371 | 1371 | bundling: 2 changesets |
@@ -1386,7 +1386,7 b' No branch acls specified' | |||
|
1386 | 1386 | changesets: 3 chunks |
|
1387 | 1387 | add changeset 911600dab2ae |
|
1388 | 1388 | changesets: 4 chunks |
|
1389 |
add changeset |
|
|
1389 | add changeset e8fc755d4d82 | |
|
1390 | 1390 | adding manifests |
|
1391 | 1391 | manifests: 1/4 chunks (25.00%) |
|
1392 | 1392 | manifests: 2/4 chunks (50.00%) |
@@ -1413,13 +1413,13 b' No branch acls specified' | |||
|
1413 | 1413 | acl: allowing changeset f9cafe1212c8 |
|
1414 | 1414 | acl: branch access granted: "911600dab2ae" on branch "default" |
|
1415 | 1415 | acl: allowing changeset 911600dab2ae |
|
1416 |
acl: branch access granted: " |
|
|
1417 |
acl: allowing changeset |
|
|
1416 | acl: branch access granted: "e8fc755d4d82" on branch "foobar" | |
|
1417 | acl: allowing changeset e8fc755d4d82 | |
|
1418 | 1418 | updating the branch cache |
|
1419 | 1419 | checking for updated bookmarks |
|
1420 | 1420 | repository tip rolled back to revision 2 (undo push) |
|
1421 | 1421 | working directory now based on revision 2 |
|
1422 | 2:07e028174695 | |
|
1422 | 2:fb35475503ef | |
|
1423 | 1423 | |
|
1424 | 1424 | |
|
1425 | 1425 | Branch acl deny test |
@@ -1443,7 +1443,7 b' Branch acl deny test' | |||
|
1443 | 1443 | ef1ea85a6374b77d6da9dcda9541f498f2d17df7 |
|
1444 | 1444 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
1445 | 1445 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1446 | 4ea792ff64284af438188103a0ee8aca1724fb8c | |
|
1446 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 | |
|
1447 | 1447 | adding changesets |
|
1448 | 1448 | bundling: 1 changesets |
|
1449 | 1449 | bundling: 2 changesets |
@@ -1464,7 +1464,7 b' Branch acl deny test' | |||
|
1464 | 1464 | changesets: 3 chunks |
|
1465 | 1465 | add changeset 911600dab2ae |
|
1466 | 1466 | changesets: 4 chunks |
|
1467 |
add changeset |
|
|
1467 | add changeset e8fc755d4d82 | |
|
1468 | 1468 | adding manifests |
|
1469 | 1469 | manifests: 1/4 chunks (25.00%) |
|
1470 | 1470 | manifests: 2/4 chunks (50.00%) |
@@ -1491,12 +1491,12 b' Branch acl deny test' | |||
|
1491 | 1491 | acl: allowing changeset f9cafe1212c8 |
|
1492 | 1492 | acl: branch access granted: "911600dab2ae" on branch "default" |
|
1493 | 1493 | acl: allowing changeset 911600dab2ae |
|
1494 |
error: pretxnchangegroup.acl hook failed: acl: user "astro" denied on branch "foobar" (changeset " |
|
|
1494 | error: pretxnchangegroup.acl hook failed: acl: user "astro" denied on branch "foobar" (changeset "e8fc755d4d82") | |
|
1495 | 1495 | transaction abort! |
|
1496 | 1496 | rollback completed |
|
1497 |
abort: acl: user "astro" denied on branch "foobar" (changeset " |
|
|
1497 | abort: acl: user "astro" denied on branch "foobar" (changeset "e8fc755d4d82") | |
|
1498 | 1498 | no rollback information available |
|
1499 | 2:07e028174695 | |
|
1499 | 2:fb35475503ef | |
|
1500 | 1500 | |
|
1501 | 1501 | |
|
1502 | 1502 | Branch acl empty allow test |
@@ -1518,7 +1518,7 b' Branch acl empty allow test' | |||
|
1518 | 1518 | ef1ea85a6374b77d6da9dcda9541f498f2d17df7 |
|
1519 | 1519 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
1520 | 1520 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1521 | 4ea792ff64284af438188103a0ee8aca1724fb8c | |
|
1521 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 | |
|
1522 | 1522 | adding changesets |
|
1523 | 1523 | bundling: 1 changesets |
|
1524 | 1524 | bundling: 2 changesets |
@@ -1539,7 +1539,7 b' Branch acl empty allow test' | |||
|
1539 | 1539 | changesets: 3 chunks |
|
1540 | 1540 | add changeset 911600dab2ae |
|
1541 | 1541 | changesets: 4 chunks |
|
1542 |
add changeset |
|
|
1542 | add changeset e8fc755d4d82 | |
|
1543 | 1543 | adding manifests |
|
1544 | 1544 | manifests: 1/4 chunks (25.00%) |
|
1545 | 1545 | manifests: 2/4 chunks (50.00%) |
@@ -1565,7 +1565,7 b' Branch acl empty allow test' | |||
|
1565 | 1565 | rollback completed |
|
1566 | 1566 | abort: acl: user "astro" not allowed on branch "default" (changeset "ef1ea85a6374") |
|
1567 | 1567 | no rollback information available |
|
1568 | 2:07e028174695 | |
|
1568 | 2:fb35475503ef | |
|
1569 | 1569 | |
|
1570 | 1570 | |
|
1571 | 1571 | Branch acl allow other |
@@ -1589,7 +1589,7 b' Branch acl allow other' | |||
|
1589 | 1589 | ef1ea85a6374b77d6da9dcda9541f498f2d17df7 |
|
1590 | 1590 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
1591 | 1591 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1592 | 4ea792ff64284af438188103a0ee8aca1724fb8c | |
|
1592 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 | |
|
1593 | 1593 | adding changesets |
|
1594 | 1594 | bundling: 1 changesets |
|
1595 | 1595 | bundling: 2 changesets |
@@ -1610,7 +1610,7 b' Branch acl allow other' | |||
|
1610 | 1610 | changesets: 3 chunks |
|
1611 | 1611 | add changeset 911600dab2ae |
|
1612 | 1612 | changesets: 4 chunks |
|
1613 |
add changeset |
|
|
1613 | add changeset e8fc755d4d82 | |
|
1614 | 1614 | adding manifests |
|
1615 | 1615 | manifests: 1/4 chunks (25.00%) |
|
1616 | 1616 | manifests: 2/4 chunks (50.00%) |
@@ -1636,7 +1636,7 b' Branch acl allow other' | |||
|
1636 | 1636 | rollback completed |
|
1637 | 1637 | abort: acl: user "astro" not allowed on branch "default" (changeset "ef1ea85a6374") |
|
1638 | 1638 | no rollback information available |
|
1639 | 2:07e028174695 | |
|
1639 | 2:fb35475503ef | |
|
1640 | 1640 | |
|
1641 | 1641 |
$ |
|
1642 | 1642 | Pushing as user george |
@@ -1654,7 +1654,7 b' Branch acl allow other' | |||
|
1654 | 1654 | ef1ea85a6374b77d6da9dcda9541f498f2d17df7 |
|
1655 | 1655 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
1656 | 1656 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1657 | 4ea792ff64284af438188103a0ee8aca1724fb8c | |
|
1657 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 | |
|
1658 | 1658 | adding changesets |
|
1659 | 1659 | bundling: 1 changesets |
|
1660 | 1660 | bundling: 2 changesets |
@@ -1675,7 +1675,7 b' Branch acl allow other' | |||
|
1675 | 1675 | changesets: 3 chunks |
|
1676 | 1676 | add changeset 911600dab2ae |
|
1677 | 1677 | changesets: 4 chunks |
|
1678 |
add changeset |
|
|
1678 | add changeset e8fc755d4d82 | |
|
1679 | 1679 | adding manifests |
|
1680 | 1680 | manifests: 1/4 chunks (25.00%) |
|
1681 | 1681 | manifests: 2/4 chunks (50.00%) |
@@ -1702,13 +1702,13 b' Branch acl allow other' | |||
|
1702 | 1702 | acl: allowing changeset f9cafe1212c8 |
|
1703 | 1703 | acl: branch access granted: "911600dab2ae" on branch "default" |
|
1704 | 1704 | acl: allowing changeset 911600dab2ae |
|
1705 |
acl: branch access granted: " |
|
|
1706 |
acl: allowing changeset |
|
|
1705 | acl: branch access granted: "e8fc755d4d82" on branch "foobar" | |
|
1706 | acl: allowing changeset e8fc755d4d82 | |
|
1707 | 1707 | updating the branch cache |
|
1708 | 1708 | checking for updated bookmarks |
|
1709 | 1709 | repository tip rolled back to revision 2 (undo push) |
|
1710 | 1710 | working directory now based on revision 2 |
|
1711 | 2:07e028174695 | |
|
1711 | 2:fb35475503ef | |
|
1712 | 1712 | |
|
1713 | 1713 | |
|
1714 | 1714 | Branch acl conflicting allow |
@@ -1737,7 +1737,7 b' push foobar into the remote' | |||
|
1737 | 1737 | ef1ea85a6374b77d6da9dcda9541f498f2d17df7 |
|
1738 | 1738 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
1739 | 1739 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1740 | 4ea792ff64284af438188103a0ee8aca1724fb8c | |
|
1740 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 | |
|
1741 | 1741 | adding changesets |
|
1742 | 1742 | bundling: 1 changesets |
|
1743 | 1743 | bundling: 2 changesets |
@@ -1758,7 +1758,7 b' push foobar into the remote' | |||
|
1758 | 1758 | changesets: 3 chunks |
|
1759 | 1759 | add changeset 911600dab2ae |
|
1760 | 1760 | changesets: 4 chunks |
|
1761 |
add changeset |
|
|
1761 | add changeset e8fc755d4d82 | |
|
1762 | 1762 | adding manifests |
|
1763 | 1763 | manifests: 1/4 chunks (25.00%) |
|
1764 | 1764 | manifests: 2/4 chunks (50.00%) |
@@ -1785,13 +1785,13 b' push foobar into the remote' | |||
|
1785 | 1785 | acl: allowing changeset f9cafe1212c8 |
|
1786 | 1786 | acl: branch access granted: "911600dab2ae" on branch "default" |
|
1787 | 1787 | acl: allowing changeset 911600dab2ae |
|
1788 |
acl: branch access granted: " |
|
|
1789 |
acl: allowing changeset |
|
|
1788 | acl: branch access granted: "e8fc755d4d82" on branch "foobar" | |
|
1789 | acl: allowing changeset e8fc755d4d82 | |
|
1790 | 1790 | updating the branch cache |
|
1791 | 1791 | checking for updated bookmarks |
|
1792 | 1792 | repository tip rolled back to revision 2 (undo push) |
|
1793 | 1793 | working directory now based on revision 2 |
|
1794 | 2:07e028174695 | |
|
1794 | 2:fb35475503ef | |
|
1795 | 1795 | |
|
1796 | 1796 | Branch acl conflicting deny |
|
1797 | 1797 | |
@@ -1819,7 +1819,7 b' Branch acl conflicting deny' | |||
|
1819 | 1819 | ef1ea85a6374b77d6da9dcda9541f498f2d17df7 |
|
1820 | 1820 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
1821 | 1821 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1822 | 4ea792ff64284af438188103a0ee8aca1724fb8c | |
|
1822 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 | |
|
1823 | 1823 | adding changesets |
|
1824 | 1824 | bundling: 1 changesets |
|
1825 | 1825 | bundling: 2 changesets |
@@ -1840,7 +1840,7 b' Branch acl conflicting deny' | |||
|
1840 | 1840 | changesets: 3 chunks |
|
1841 | 1841 | add changeset 911600dab2ae |
|
1842 | 1842 | changesets: 4 chunks |
|
1843 |
add changeset |
|
|
1843 | add changeset e8fc755d4d82 | |
|
1844 | 1844 | adding manifests |
|
1845 | 1845 | manifests: 1/4 chunks (25.00%) |
|
1846 | 1846 | manifests: 2/4 chunks (50.00%) |
@@ -1866,5 +1866,5 b' Branch acl conflicting deny' | |||
|
1866 | 1866 | rollback completed |
|
1867 | 1867 | abort: acl: user "george" denied on branch "default" (changeset "ef1ea85a6374") |
|
1868 | 1868 | no rollback information available |
|
1869 | 2:07e028174695 | |
|
1869 | 2:fb35475503ef | |
|
1870 | 1870 |
@@ -19,7 +19,7 b' Create a branch with the same name as th' | |||
|
19 | 19 | This is what we have: |
|
20 | 20 | |
|
21 | 21 | $ hg log |
|
22 |
changeset: 2: |
|
|
22 | changeset: 2:10519b3f489a | |
|
23 | 23 | branch: branchortag |
|
24 | 24 | tag: tip |
|
25 | 25 | user: test |
@@ -53,7 +53,7 b' Updating to the branch:' | |||
|
53 | 53 | $ hg up 'branch(branchortag)' |
|
54 | 54 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
55 | 55 | $ hg parents |
|
56 |
changeset: 2: |
|
|
56 | changeset: 2:10519b3f489a | |
|
57 | 57 | branch: branchortag |
|
58 | 58 | tag: tip |
|
59 | 59 | user: test |
@@ -230,7 +230,7 b'' | |||
|
230 | 230 | default 0:19709c5a4e75 (inactive) |
|
231 | 231 | $ hg branches -c |
|
232 | 232 | a branch name much longer than the default justification used by branches 7:10ff5895aa57 |
|
233 |
b 12: |
|
|
233 | b 12:e3d49c0575d8 (closed) | |
|
234 | 234 | c 6:589736a22561 (inactive) |
|
235 | 235 | a 5:d8cbc61dbaa6 (inactive) |
|
236 | 236 | default 0:19709c5a4e75 (inactive) |
@@ -240,7 +240,7 b'' | |||
|
240 | 240 | no open branch heads found on branches b |
|
241 | 241 | [1] |
|
242 | 242 | $ hg heads --closed b |
|
243 |
changeset: 12: |
|
|
243 | changeset: 12:e3d49c0575d8 | |
|
244 | 244 | branch: b |
|
245 | 245 | tag: tip |
|
246 | 246 | parent: 8:eebb944467c9 |
@@ -248,7 +248,7 b'' | |||
|
248 | 248 | date: Thu Jan 01 00:00:09 1970 +0000 |
|
249 | 249 | summary: close this part branch too |
|
250 | 250 | |
|
251 |
changeset: 11: |
|
|
251 | changeset: 11:d3f163457ebf | |
|
252 | 252 | branch: b |
|
253 | 253 | user: test |
|
254 | 254 | date: Thu Jan 01 00:00:09 1970 +0000 |
@@ -261,13 +261,13 b'' | |||
|
261 | 261 | --- branch b is back in action |
|
262 | 262 | |
|
263 | 263 | $ hg branches -a |
|
264 |
b 13: |
|
|
264 | b 13:e23b5505d1ad | |
|
265 | 265 | a branch name much longer than the default justification used by branches 7:10ff5895aa57 |
|
266 | 266 | |
|
267 | 267 | ---- test heads listings |
|
268 | 268 | |
|
269 | 269 | $ hg heads |
|
270 |
changeset: 13: |
|
|
270 | changeset: 13:e23b5505d1ad | |
|
271 | 271 | branch: b |
|
272 | 272 | tag: tip |
|
273 | 273 | user: test |
@@ -325,7 +325,7 b' branch a' | |||
|
325 | 325 | branch b |
|
326 | 326 | |
|
327 | 327 | $ hg heads b |
|
328 |
changeset: 13: |
|
|
328 | changeset: 13:e23b5505d1ad | |
|
329 | 329 | branch: b |
|
330 | 330 | tag: tip |
|
331 | 331 | user: test |
@@ -333,14 +333,14 b' branch b' | |||
|
333 | 333 | summary: reopen branch with a change |
|
334 | 334 | |
|
335 | 335 | $ hg heads --closed b |
|
336 |
changeset: 13: |
|
|
336 | changeset: 13:e23b5505d1ad | |
|
337 | 337 | branch: b |
|
338 | 338 | tag: tip |
|
339 | 339 | user: test |
|
340 | 340 | date: Thu Jan 01 00:00:09 1970 +0000 |
|
341 | 341 | summary: reopen branch with a change |
|
342 | 342 | |
|
343 |
changeset: 11: |
|
|
343 | changeset: 11:d3f163457ebf | |
|
344 | 344 | branch: b |
|
345 | 345 | user: test |
|
346 | 346 | date: Thu Jan 01 00:00:09 1970 +0000 |
@@ -359,7 +359,7 b' default branch colors:' | |||
|
359 | 359 | $ hg up -C b |
|
360 | 360 | 2 files updated, 0 files merged, 3 files removed, 0 files unresolved |
|
361 | 361 | $ hg branches --color=always |
|
362 |
\x1b[0;32mb\x1b[0m \x1b[0;33m 13: |
|
|
362 | \x1b[0;32mb\x1b[0m \x1b[0;33m 13:e23b5505d1ad\x1b[0m (esc) | |
|
363 | 363 | \x1b[0;0ma branch name much longer than the default justification used by branches\x1b[0m \x1b[0;33m7:10ff5895aa57\x1b[0m (esc) |
|
364 | 364 | \x1b[0;0ma\x1b[0m \x1b[0;33m 5:d8cbc61dbaa6\x1b[0m (inactive) (esc) |
|
365 | 365 | \x1b[0;0mdefault\x1b[0m \x1b[0;33m 0:19709c5a4e75\x1b[0m (inactive) (esc) |
@@ -367,9 +367,9 b' default branch colors:' | |||
|
367 | 367 | default closed branch color: |
|
368 | 368 | |
|
369 | 369 | $ hg branches --color=always --closed |
|
370 |
\x1b[0;32mb\x1b[0m \x1b[0;33m 13: |
|
|
370 | \x1b[0;32mb\x1b[0m \x1b[0;33m 13:e23b5505d1ad\x1b[0m (esc) | |
|
371 | 371 | \x1b[0;0ma branch name much longer than the default justification used by branches\x1b[0m \x1b[0;33m7:10ff5895aa57\x1b[0m (esc) |
|
372 |
\x1b[0;30;1mc\x1b[0m \x1b[0;33m 14: |
|
|
372 | \x1b[0;30;1mc\x1b[0m \x1b[0;33m 14:f894c25619d3\x1b[0m (closed) (esc) | |
|
373 | 373 | \x1b[0;0ma\x1b[0m \x1b[0;33m 5:d8cbc61dbaa6\x1b[0m (inactive) (esc) |
|
374 | 374 | \x1b[0;0mdefault\x1b[0m \x1b[0;33m 0:19709c5a4e75\x1b[0m (inactive) (esc) |
|
375 | 375 | |
@@ -385,7 +385,7 b' default closed branch color:' | |||
|
385 | 385 | custom branch colors: |
|
386 | 386 | |
|
387 | 387 | $ hg branches --color=always |
|
388 |
\x1b[0;31mb\x1b[0m \x1b[0;36m 13: |
|
|
388 | \x1b[0;31mb\x1b[0m \x1b[0;36m 13:e23b5505d1ad\x1b[0m (esc) | |
|
389 | 389 | \x1b[0;32ma branch name much longer than the default justification used by branches\x1b[0m \x1b[0;36m7:10ff5895aa57\x1b[0m (esc) |
|
390 | 390 | \x1b[0;35ma\x1b[0m \x1b[0;36m 5:d8cbc61dbaa6\x1b[0m (inactive) (esc) |
|
391 | 391 | \x1b[0;35mdefault\x1b[0m \x1b[0;36m 0:19709c5a4e75\x1b[0m (inactive) (esc) |
@@ -393,8 +393,8 b' custom branch colors:' | |||
|
393 | 393 | custom closed branch color: |
|
394 | 394 | |
|
395 | 395 | $ hg branches --color=always --closed |
|
396 |
\x1b[0;31mb\x1b[0m \x1b[0;36m 13: |
|
|
396 | \x1b[0;31mb\x1b[0m \x1b[0;36m 13:e23b5505d1ad\x1b[0m (esc) | |
|
397 | 397 | \x1b[0;32ma branch name much longer than the default justification used by branches\x1b[0m \x1b[0;36m7:10ff5895aa57\x1b[0m (esc) |
|
398 |
\x1b[0;34mc\x1b[0m \x1b[0;36m 14: |
|
|
398 | \x1b[0;34mc\x1b[0m \x1b[0;36m 14:f894c25619d3\x1b[0m (closed) (esc) | |
|
399 | 399 | \x1b[0;35ma\x1b[0m \x1b[0;36m 5:d8cbc61dbaa6\x1b[0m (inactive) (esc) |
|
400 | 400 | \x1b[0;35mdefault\x1b[0m \x1b[0;36m 0:19709c5a4e75\x1b[0m (inactive) (esc) |
@@ -77,13 +77,13 b' Compact style works:' | |||
|
77 | 77 | 7:-1 29114dbae42b 1970-01-12 13:46 +0000 user |
|
78 | 78 | second |
|
79 | 79 | |
|
80 |
6:5,4 |
|
|
80 | 6:5,4 d41e714fe50d 1970-01-18 08:40 +0000 person | |
|
81 | 81 | merge |
|
82 | 82 | |
|
83 | 83 | 5:3 13207e5a10d9 1970-01-18 08:40 +0000 person |
|
84 | 84 | new head |
|
85 | 85 | |
|
86 |
4 |
|
|
86 | 4 bbe44766e73d 1970-01-17 04:53 +0000 person | |
|
87 | 87 | new branch |
|
88 | 88 | |
|
89 | 89 | 3 10e46f2dcbf4 1970-01-16 01:06 +0000 person |
@@ -106,13 +106,13 b' Compact style works:' | |||
|
106 | 106 | 7:-1 29114dbae42b 1970-01-12 13:46 +0000 User Name <user@hostname> |
|
107 | 107 | second |
|
108 | 108 | |
|
109 |
6:5,4 |
|
|
109 | 6:5,4 d41e714fe50d 1970-01-18 08:40 +0000 person | |
|
110 | 110 | merge |
|
111 | 111 | |
|
112 | 112 | 5:3 13207e5a10d9 1970-01-18 08:40 +0000 person |
|
113 | 113 | new head |
|
114 | 114 | |
|
115 |
4 |
|
|
115 | 4 bbe44766e73d 1970-01-17 04:53 +0000 person | |
|
116 | 116 | new branch |
|
117 | 117 | |
|
118 | 118 | 3 10e46f2dcbf4 1970-01-16 01:06 +0000 person |
@@ -139,13 +139,13 b' Compact style works:' | |||
|
139 | 139 | 7:-1,-1 29114dbae42b 1970-01-12 13:46 +0000 User Name <user@hostname> |
|
140 | 140 | second |
|
141 | 141 | |
|
142 |
6:5,4 |
|
|
142 | 6:5,4 d41e714fe50d 1970-01-18 08:40 +0000 person | |
|
143 | 143 | merge |
|
144 | 144 | |
|
145 | 145 | 5:3,-1 13207e5a10d9 1970-01-18 08:40 +0000 person |
|
146 | 146 | new head |
|
147 | 147 | |
|
148 |
4:3,-1 |
|
|
148 | 4:3,-1 bbe44766e73d 1970-01-17 04:53 +0000 person | |
|
149 | 149 | new branch |
|
150 | 150 | |
|
151 | 151 | 3:2,-1 10e46f2dcbf4 1970-01-16 01:06 +0000 person |
@@ -182,9 +182,9 b' Test xml styles:' | |||
|
182 | 182 | <date>1970-01-12T13:46:40+00:00</date> |
|
183 | 183 | <msg xml:space="preserve">second</msg> |
|
184 | 184 | </logentry> |
|
185 | <logentry revision="6" node="c7b487c6c50ef1cf464cafdc4f4f5e615fc5999f"> | |
|
185 | <logentry revision="6" node="d41e714fe50d9e4a5f11b4d595d543481b5f980b"> | |
|
186 | 186 | <parent revision="5" node="13207e5a10d9fd28ec424934298e176197f2c67f" /> |
|
187 | <parent revision="4" node="32a18f097fcccf76ef282f62f8a85b3adf8d13c4" /> | |
|
187 | <parent revision="4" node="bbe44766e73d5f11ed2177f1838de10c53ef3e74" /> | |
|
188 | 188 | <author email="person">person</author> |
|
189 | 189 | <date>1970-01-18T08:40:01+00:00</date> |
|
190 | 190 | <msg xml:space="preserve">merge</msg> |
@@ -195,7 +195,7 b' Test xml styles:' | |||
|
195 | 195 | <date>1970-01-18T08:40:00+00:00</date> |
|
196 | 196 | <msg xml:space="preserve">new head</msg> |
|
197 | 197 | </logentry> |
|
198 | <logentry revision="4" node="32a18f097fcccf76ef282f62f8a85b3adf8d13c4"> | |
|
198 | <logentry revision="4" node="bbe44766e73d5f11ed2177f1838de10c53ef3e74"> | |
|
199 | 199 | <branch>foo</branch> |
|
200 | 200 | <author email="person">person</author> |
|
201 | 201 | <date>1970-01-17T04:53:20+00:00</date> |
@@ -253,9 +253,9 b' Test xml styles:' | |||
|
253 | 253 | <path action="A">second</path> |
|
254 | 254 | </paths> |
|
255 | 255 | </logentry> |
|
256 | <logentry revision="6" node="c7b487c6c50ef1cf464cafdc4f4f5e615fc5999f"> | |
|
256 | <logentry revision="6" node="d41e714fe50d9e4a5f11b4d595d543481b5f980b"> | |
|
257 | 257 | <parent revision="5" node="13207e5a10d9fd28ec424934298e176197f2c67f" /> |
|
258 | <parent revision="4" node="32a18f097fcccf76ef282f62f8a85b3adf8d13c4" /> | |
|
258 | <parent revision="4" node="bbe44766e73d5f11ed2177f1838de10c53ef3e74" /> | |
|
259 | 259 | <author email="person">person</author> |
|
260 | 260 | <date>1970-01-18T08:40:01+00:00</date> |
|
261 | 261 | <msg xml:space="preserve">merge</msg> |
@@ -271,7 +271,7 b' Test xml styles:' | |||
|
271 | 271 | <path action="A">d</path> |
|
272 | 272 | </paths> |
|
273 | 273 | </logentry> |
|
274 | <logentry revision="4" node="32a18f097fcccf76ef282f62f8a85b3adf8d13c4"> | |
|
274 | <logentry revision="4" node="bbe44766e73d5f11ed2177f1838de10c53ef3e74"> | |
|
275 | 275 | <branch>foo</branch> |
|
276 | 276 | <author email="person">person</author> |
|
277 | 277 | <date>1970-01-17T04:53:20+00:00</date> |
@@ -348,9 +348,9 b' Test xml styles:' | |||
|
348 | 348 | </paths> |
|
349 | 349 | <extra key="branch">default</extra> |
|
350 | 350 | </logentry> |
|
351 | <logentry revision="6" node="c7b487c6c50ef1cf464cafdc4f4f5e615fc5999f"> | |
|
351 | <logentry revision="6" node="d41e714fe50d9e4a5f11b4d595d543481b5f980b"> | |
|
352 | 352 | <parent revision="5" node="13207e5a10d9fd28ec424934298e176197f2c67f" /> |
|
353 | <parent revision="4" node="32a18f097fcccf76ef282f62f8a85b3adf8d13c4" /> | |
|
353 | <parent revision="4" node="bbe44766e73d5f11ed2177f1838de10c53ef3e74" /> | |
|
354 | 354 | <author email="person">person</author> |
|
355 | 355 | <date>1970-01-18T08:40:01+00:00</date> |
|
356 | 356 | <msg xml:space="preserve">merge</msg> |
@@ -369,7 +369,7 b' Test xml styles:' | |||
|
369 | 369 | </paths> |
|
370 | 370 | <extra key="branch">default</extra> |
|
371 | 371 | </logentry> |
|
372 | <logentry revision="4" node="32a18f097fcccf76ef282f62f8a85b3adf8d13c4"> | |
|
372 | <logentry revision="4" node="bbe44766e73d5f11ed2177f1838de10c53ef3e74"> | |
|
373 | 373 | <branch>foo</branch> |
|
374 | 374 | <parent revision="3" node="10e46f2dcbf4823578cf180f33ecf0b957964c47" /> |
|
375 | 375 | <parent revision="-1" node="0000000000000000000000000000000000000000" /> |
@@ -510,7 +510,7 b' Issue338:' | |||
|
510 | 510 | 1970-01-18 person <person> |
|
511 | 511 | |
|
512 | 512 | * merge |
|
513 | [c7b487c6c50e] | |
|
513 | [d41e714fe50d] | |
|
514 | 514 | |
|
515 | 515 | * d: |
|
516 | 516 | new head |
@@ -519,7 +519,7 b' Issue338:' | |||
|
519 | 519 | 1970-01-17 person <person> |
|
520 | 520 | |
|
521 | 521 | * new branch |
|
522 | [32a18f097fcc] <foo> | |
|
522 | [bbe44766e73d] <foo> | |
|
523 | 523 | |
|
524 | 524 | 1970-01-16 person <person> |
|
525 | 525 | |
@@ -560,12 +560,12 b" Issue2130: xml output for 'hg heads' is " | |||
|
560 | 560 | 1970-01-18 person <person> |
|
561 | 561 | |
|
562 | 562 | * merge |
|
563 | [c7b487c6c50e] | |
|
563 | [d41e714fe50d] | |
|
564 | 564 | |
|
565 | 565 | 1970-01-17 person <person> |
|
566 | 566 | |
|
567 | 567 | * new branch |
|
568 | [32a18f097fcc] <foo> | |
|
568 | [bbe44766e73d] <foo> | |
|
569 | 569 | |
|
570 | 570 | |
|
571 | 571 | Keys work: |
@@ -886,63 +886,63 b' Keys work:' | |||
|
886 | 886 | files--debug: c |
|
887 | 887 | files--debug: b |
|
888 | 888 | files--debug: a |
|
889 |
manifest: |
|
|
890 |
manifest: |
|
|
891 | manifest: 6:91015e9dbdd7 | |
|
892 |
manifest: |
|
|
893 | manifest: 4:90ae8dda64e1 | |
|
889 | manifest: 6:94961b75a2da | |
|
890 | manifest: 5:f2dbc354b94e | |
|
891 | manifest: 4:4dc3def4f9b4 | |
|
892 | manifest: 4:4dc3def4f9b4 | |
|
893 | manifest: 3:cb5a1327723b | |
|
894 | 894 | manifest: 3:cb5a1327723b |
|
895 | 895 | manifest: 2:6e0e82995c35 |
|
896 | 896 | manifest: 1:4e8d705b1e53 |
|
897 | 897 | manifest: 0:a0c8bcbbb45c |
|
898 |
manifest--verbose: |
|
|
899 |
manifest--verbose: |
|
|
900 |
manifest--verbose: |
|
|
901 |
manifest--verbose: |
|
|
902 |
manifest--verbose: |
|
|
898 | manifest--verbose: 6:94961b75a2da | |
|
899 | manifest--verbose: 5:f2dbc354b94e | |
|
900 | manifest--verbose: 4:4dc3def4f9b4 | |
|
901 | manifest--verbose: 4:4dc3def4f9b4 | |
|
902 | manifest--verbose: 3:cb5a1327723b | |
|
903 | 903 | manifest--verbose: 3:cb5a1327723b |
|
904 | 904 | manifest--verbose: 2:6e0e82995c35 |
|
905 | 905 | manifest--verbose: 1:4e8d705b1e53 |
|
906 | 906 | manifest--verbose: 0:a0c8bcbbb45c |
|
907 |
manifest--debug: |
|
|
908 |
manifest--debug: |
|
|
909 | manifest--debug: 6:91015e9dbdd76a6791085d12b0a0ec7fcd22ffbf | |
|
910 |
manifest--debug: |
|
|
911 | manifest--debug: 4:90ae8dda64e1a876c792bccb9af66284f6018363 | |
|
907 | manifest--debug: 6:94961b75a2da554b4df6fb599e5bfc7d48de0c64 | |
|
908 | manifest--debug: 5:f2dbc354b94e5ec0b4f10680ee0cee816101d0bf | |
|
909 | manifest--debug: 4:4dc3def4f9b4c6e8de820f6ee74737f91e96a216 | |
|
910 | manifest--debug: 4:4dc3def4f9b4c6e8de820f6ee74737f91e96a216 | |
|
911 | manifest--debug: 3:cb5a1327723bada42f117e4c55a303246eaf9ccc | |
|
912 | 912 | manifest--debug: 3:cb5a1327723bada42f117e4c55a303246eaf9ccc |
|
913 | 913 | manifest--debug: 2:6e0e82995c35d0d57a52aca8da4e56139e06b4b1 |
|
914 | 914 | manifest--debug: 1:4e8d705b1e53e3f9375e0e60dc7b525d8211fe55 |
|
915 | 915 | manifest--debug: 0:a0c8bcbbb45c63b90b70ad007bf38961f64f2af0 |
|
916 | 916 | node: 95c24699272ef57d062b8bccc32c878bf841784a |
|
917 | 917 | node: 29114dbae42b9f078cf2714dbe3a86bba8ec7453 |
|
918 | node: c7b487c6c50ef1cf464cafdc4f4f5e615fc5999f | |
|
918 | node: d41e714fe50d9e4a5f11b4d595d543481b5f980b | |
|
919 | 919 | node: 13207e5a10d9fd28ec424934298e176197f2c67f |
|
920 | node: 32a18f097fcccf76ef282f62f8a85b3adf8d13c4 | |
|
920 | node: bbe44766e73d5f11ed2177f1838de10c53ef3e74 | |
|
921 | 921 | node: 10e46f2dcbf4823578cf180f33ecf0b957964c47 |
|
922 | 922 | node: 97054abb4ab824450e9164180baf491ae0078465 |
|
923 | 923 | node: b608e9d1a3f0273ccf70fb85fd6866b3482bf965 |
|
924 | 924 | node: 1e4e1b8f71e05681d422154f5421e385fec3454f |
|
925 | 925 | node--verbose: 95c24699272ef57d062b8bccc32c878bf841784a |
|
926 | 926 | node--verbose: 29114dbae42b9f078cf2714dbe3a86bba8ec7453 |
|
927 | node--verbose: c7b487c6c50ef1cf464cafdc4f4f5e615fc5999f | |
|
927 | node--verbose: d41e714fe50d9e4a5f11b4d595d543481b5f980b | |
|
928 | 928 | node--verbose: 13207e5a10d9fd28ec424934298e176197f2c67f |
|
929 | node--verbose: 32a18f097fcccf76ef282f62f8a85b3adf8d13c4 | |
|
929 | node--verbose: bbe44766e73d5f11ed2177f1838de10c53ef3e74 | |
|
930 | 930 | node--verbose: 10e46f2dcbf4823578cf180f33ecf0b957964c47 |
|
931 | 931 | node--verbose: 97054abb4ab824450e9164180baf491ae0078465 |
|
932 | 932 | node--verbose: b608e9d1a3f0273ccf70fb85fd6866b3482bf965 |
|
933 | 933 | node--verbose: 1e4e1b8f71e05681d422154f5421e385fec3454f |
|
934 | 934 | node--debug: 95c24699272ef57d062b8bccc32c878bf841784a |
|
935 | 935 | node--debug: 29114dbae42b9f078cf2714dbe3a86bba8ec7453 |
|
936 | node--debug: c7b487c6c50ef1cf464cafdc4f4f5e615fc5999f | |
|
936 | node--debug: d41e714fe50d9e4a5f11b4d595d543481b5f980b | |
|
937 | 937 | node--debug: 13207e5a10d9fd28ec424934298e176197f2c67f |
|
938 | node--debug: 32a18f097fcccf76ef282f62f8a85b3adf8d13c4 | |
|
938 | node--debug: bbe44766e73d5f11ed2177f1838de10c53ef3e74 | |
|
939 | 939 | node--debug: 10e46f2dcbf4823578cf180f33ecf0b957964c47 |
|
940 | 940 | node--debug: 97054abb4ab824450e9164180baf491ae0078465 |
|
941 | 941 | node--debug: b608e9d1a3f0273ccf70fb85fd6866b3482bf965 |
|
942 | 942 | node--debug: 1e4e1b8f71e05681d422154f5421e385fec3454f |
|
943 | 943 | parents: |
|
944 | 944 | parents: -1:000000000000 |
|
945 |
parents: 5:13207e5a10d9 4: |
|
|
945 | parents: 5:13207e5a10d9 4:bbe44766e73d | |
|
946 | 946 | parents: 3:10e46f2dcbf4 |
|
947 | 947 | parents: |
|
948 | 948 | parents: |
@@ -951,7 +951,7 b' Keys work:' | |||
|
951 | 951 | parents: |
|
952 | 952 | parents--verbose: |
|
953 | 953 | parents--verbose: -1:000000000000 |
|
954 |
parents--verbose: 5:13207e5a10d9 4: |
|
|
954 | parents--verbose: 5:13207e5a10d9 4:bbe44766e73d | |
|
955 | 955 | parents--verbose: 3:10e46f2dcbf4 |
|
956 | 956 | parents--verbose: |
|
957 | 957 | parents--verbose: |
@@ -960,7 +960,7 b' Keys work:' | |||
|
960 | 960 | parents--verbose: |
|
961 | 961 | parents--debug: 7:29114dbae42b9f078cf2714dbe3a86bba8ec7453 -1:0000000000000000000000000000000000000000 |
|
962 | 962 | parents--debug: -1:0000000000000000000000000000000000000000 -1:0000000000000000000000000000000000000000 |
|
963 |
parents--debug: 5:13207e5a10d9fd28ec424934298e176197f2c67f 4: |
|
|
963 | parents--debug: 5:13207e5a10d9fd28ec424934298e176197f2c67f 4:bbe44766e73d5f11ed2177f1838de10c53ef3e74 | |
|
964 | 964 | parents--debug: 3:10e46f2dcbf4823578cf180f33ecf0b957964c47 -1:0000000000000000000000000000000000000000 |
|
965 | 965 | parents--debug: 3:10e46f2dcbf4823578cf180f33ecf0b957964c47 -1:0000000000000000000000000000000000000000 |
|
966 | 966 | parents--debug: 2:97054abb4ab824450e9164180baf491ae0078465 -1:0000000000000000000000000000000000000000 |
@@ -1174,9 +1174,9 b' Filters work:' | |||
|
1174 | 1174 | $ hg log --template '{node|short}\n' |
|
1175 | 1175 | 95c24699272e |
|
1176 | 1176 | 29114dbae42b |
|
1177 | c7b487c6c50e | |
|
1177 | d41e714fe50d | |
|
1178 | 1178 | 13207e5a10d9 |
|
1179 | 32a18f097fcc | |
|
1179 | bbe44766e73d | |
|
1180 | 1180 | 10e46f2dcbf4 |
|
1181 | 1181 | 97054abb4ab8 |
|
1182 | 1182 | b608e9d1a3f0 |
@@ -1197,9 +1197,9 b' Filters work:' | |||
|
1197 | 1197 | 8: |
|
1198 | 1198 | 7: 8:95c24699272e |
|
1199 | 1199 | 6: |
|
1200 | 5: 6:c7b487c6c50e | |
|
1201 | 4: 6:c7b487c6c50e | |
|
1202 |
3: 4: |
|
|
1200 | 5: 6:d41e714fe50d | |
|
1201 | 4: 6:d41e714fe50d | |
|
1202 | 3: 4:bbe44766e73d 5:13207e5a10d9 | |
|
1203 | 1203 | 2: 3:10e46f2dcbf4 |
|
1204 | 1204 | 1: 2:97054abb4ab8 |
|
1205 | 1205 | 0: 1:b608e9d1a3f0 |
@@ -83,10 +83,10 b' Convert again' | |||
|
83 | 83 | |
|
84 | 84 | |
|
85 | 85 | $ hg branches |
|
86 |
newbranch 11: |
|
|
87 |
default 10: |
|
|
88 |
old 9: |
|
|
89 |
old2 8: |
|
|
86 | newbranch 11:a6d7cc050ad1 | |
|
87 | default 10:6e2b33404495 | |
|
88 | old 9:93c4b0f99529 | |
|
89 | old2 8:b52884d7bead (inactive) | |
|
90 | 90 | $ hg tags -q |
|
91 | 91 | tip |
|
92 | 92 | $ cd .. |
@@ -129,7 +129,7 b' Convert while testing all possible outpu' | |||
|
129 | 129 | Check tags are in UTF-8 |
|
130 | 130 | |
|
131 | 131 | $ cat .hgtags |
|
132 | 221c3fdaf24df5f14c0a64c597581e2eacfb47bb branch\xc3\xa9e (esc) | |
|
133 | 7a40952c2db29cf00d9e31df3749e98d8a4bdcbf branch\xc3\xa9 (esc) | |
|
132 | e94e4422020e715add80525e8f0f46c9968689f1 branch\xc3\xa9e (esc) | |
|
133 | f7e66f98380ed1e53a797c5c7a7a2616a7ab377d branch\xc3\xa9 (esc) | |
|
134 | 134 | |
|
135 | 135 | $ cd .. |
@@ -67,7 +67,7 b'' | |||
|
67 | 67 | $ hg -R a outgoing b |
|
68 | 68 | comparing with b |
|
69 | 69 | searching for changes |
|
70 |
changeset: 4:1 |
|
|
70 | changeset: 4:1ec3c74fc0e0 | |
|
71 | 71 | tag: tip |
|
72 | 72 | parent: 1:79f9e10cd04e |
|
73 | 73 | parent: 2:8e1bb01c1a24 |
@@ -78,7 +78,7 b'' | |||
|
78 | 78 | $ hg -R a outgoing c |
|
79 | 79 | comparing with c |
|
80 | 80 | searching for changes |
|
81 |
changeset: 3: |
|
|
81 | changeset: 3:d15a0c284984 | |
|
82 | 82 | parent: 2:8e1bb01c1a24 |
|
83 | 83 | parent: 1:79f9e10cd04e |
|
84 | 84 | user: test |
@@ -88,7 +88,7 b'' | |||
|
88 | 88 | $ hg -R b outgoing c |
|
89 | 89 | comparing with c |
|
90 | 90 | searching for changes |
|
91 |
changeset: 3: |
|
|
91 | changeset: 3:d15a0c284984 | |
|
92 | 92 | tag: tip |
|
93 | 93 | parent: 2:8e1bb01c1a24 |
|
94 | 94 | parent: 1:79f9e10cd04e |
@@ -99,7 +99,7 b'' | |||
|
99 | 99 | $ hg -R c outgoing b |
|
100 | 100 | comparing with b |
|
101 | 101 | searching for changes |
|
102 |
changeset: 3:1 |
|
|
102 | changeset: 3:1ec3c74fc0e0 | |
|
103 | 103 | tag: tip |
|
104 | 104 | parent: 1:79f9e10cd04e |
|
105 | 105 | parent: 2:8e1bb01c1a24 |
@@ -48,7 +48,7 b' these should work' | |||
|
48 | 48 | hg log (ascii) |
|
49 | 49 | |
|
50 | 50 | $ hg --encoding ascii log |
|
51 |
changeset: 5: |
|
|
51 | changeset: 5:a52c0692f24a | |
|
52 | 52 | branch: ? |
|
53 | 53 | tag: tip |
|
54 | 54 | user: test |
@@ -85,7 +85,7 b' hg log (ascii)' | |||
|
85 | 85 | hg log (latin-1) |
|
86 | 86 | |
|
87 | 87 | $ hg --encoding latin-1 log |
|
88 |
changeset: 5: |
|
|
88 | changeset: 5:a52c0692f24a | |
|
89 | 89 | branch: \xe9 (esc) |
|
90 | 90 | tag: tip |
|
91 | 91 | user: test |
@@ -122,7 +122,7 b' hg log (latin-1)' | |||
|
122 | 122 | hg log (utf-8) |
|
123 | 123 | |
|
124 | 124 | $ hg --encoding utf-8 log |
|
125 |
changeset: 5: |
|
|
125 | changeset: 5:a52c0692f24a | |
|
126 | 126 | branch: \xc3\xa9 (esc) |
|
127 | 127 | tag: tip |
|
128 | 128 | user: test |
@@ -159,37 +159,37 b' hg log (utf-8)' | |||
|
159 | 159 | hg tags (ascii) |
|
160 | 160 | |
|
161 | 161 | $ HGENCODING=ascii hg tags |
|
162 |
tip 5: |
|
|
162 | tip 5:a52c0692f24a | |
|
163 | 163 | ? 3:ca661e7520de |
|
164 | 164 | |
|
165 | 165 | hg tags (latin-1) |
|
166 | 166 | |
|
167 | 167 | $ HGENCODING=latin-1 hg tags |
|
168 |
tip 5: |
|
|
168 | tip 5:a52c0692f24a | |
|
169 | 169 | \xe9 3:ca661e7520de (esc) |
|
170 | 170 | |
|
171 | 171 | hg tags (utf-8) |
|
172 | 172 | |
|
173 | 173 | $ HGENCODING=utf-8 hg tags |
|
174 |
tip 5: |
|
|
174 | tip 5:a52c0692f24a | |
|
175 | 175 | \xc3\xa9 3:ca661e7520de (esc) |
|
176 | 176 | |
|
177 | 177 | hg branches (ascii) |
|
178 | 178 | |
|
179 | 179 | $ HGENCODING=ascii hg branches |
|
180 |
? 5: |
|
|
180 | ? 5:a52c0692f24a | |
|
181 | 181 | default 4:94db611b4196 (inactive) |
|
182 | 182 | |
|
183 | 183 | hg branches (latin-1) |
|
184 | 184 | |
|
185 | 185 | $ HGENCODING=latin-1 hg branches |
|
186 |
\xe9 5: |
|
|
186 | \xe9 5:a52c0692f24a (esc) | |
|
187 | 187 | default 4:94db611b4196 (inactive) |
|
188 | 188 | |
|
189 | 189 | hg branches (utf-8) |
|
190 | 190 | |
|
191 | 191 | $ HGENCODING=utf-8 hg branches |
|
192 |
\xc3\xa9 5: |
|
|
192 | \xc3\xa9 5:a52c0692f24a (esc) | |
|
193 | 193 | default 4:94db611b4196 (inactive) |
|
194 | 194 | $ echo '[ui]' >> .hg/hgrc |
|
195 | 195 | $ echo 'fallbackencoding = koi8-r' >> .hg/hgrc |
@@ -197,7 +197,7 b' hg branches (utf-8)' | |||
|
197 | 197 | hg log (utf-8) |
|
198 | 198 | |
|
199 | 199 | $ HGENCODING=utf-8 hg log |
|
200 |
changeset: 5: |
|
|
200 | changeset: 5:a52c0692f24a | |
|
201 | 201 | branch: \xc3\xa9 (esc) |
|
202 | 202 | tag: tip |
|
203 | 203 | user: test |
@@ -18,14 +18,14 b' Initialize remote repo with branches:' | |||
|
18 | 18 | adding c |
|
19 | 19 | |
|
20 | 20 | $ hg log |
|
21 |
changeset: 2: |
|
|
21 | changeset: 2:ae3d9c30ec50 | |
|
22 | 22 | branch: br |
|
23 | 23 | tag: tip |
|
24 | 24 | user: test |
|
25 | 25 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
26 | 26 | summary: c |
|
27 | 27 | |
|
28 |
changeset: 1: |
|
|
28 | changeset: 1:3f7f930ca414 | |
|
29 | 29 | branch: br |
|
30 | 30 | user: test |
|
31 | 31 | date: Thu Jan 01 00:00:00 1970 +0000 |
@@ -50,7 +50,7 b' Try cloning -r branch:' | |||
|
50 | 50 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
51 | 51 | |
|
52 | 52 | $ hg -R local1 parents |
|
53 |
changeset: 2: |
|
|
53 | changeset: 2:ae3d9c30ec50 | |
|
54 | 54 | branch: br |
|
55 | 55 | tag: tip |
|
56 | 56 | user: test |
@@ -86,7 +86,7 b' Try cloning -r1 clone#branch:' | |||
|
86 | 86 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
87 | 87 | |
|
88 | 88 | $ hg -R local3 parents |
|
89 |
changeset: 1: |
|
|
89 | changeset: 1:3f7f930ca414 | |
|
90 | 90 | branch: br |
|
91 | 91 | user: test |
|
92 | 92 | date: Thu Jan 01 00:00:00 1970 +0000 |
@@ -982,7 +982,7 b' resolve to local' | |||
|
982 | 982 | $ HGMERGE=internal:local hg resolve -a |
|
983 | 983 | $ hg commit -m localresolve |
|
984 | 984 | $ cat m |
|
985 |
$Id: m |
|
|
985 | $Id: m 800511b3a22d Thu, 01 Jan 1970 00:00:00 +0000 test $ | |
|
986 | 986 | bar |
|
987 | 987 | |
|
988 | 988 | Test restricted mode with transplant -b |
@@ -1000,19 +1000,19 b' Test restricted mode with transplant -b' | |||
|
1000 | 1000 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
1001 | 1001 | $ hg -y transplant -b foo tip |
|
1002 | 1002 | applying 4aa30d025d50 |
|
1003 |
4aa30d025d50 transplanted to |
|
|
1003 | 4aa30d025d50 transplanted to e00abbf63521 | |
|
1004 | 1004 | |
|
1005 | 1005 | Expansion in changeset but not in file |
|
1006 | 1006 | |
|
1007 | 1007 | $ hg tip -p |
|
1008 |
changeset: 11: |
|
|
1008 | changeset: 11:e00abbf63521 | |
|
1009 | 1009 | tag: tip |
|
1010 |
parent: 9: |
|
|
1010 | parent: 9:800511b3a22d | |
|
1011 | 1011 | user: test |
|
1012 | 1012 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
1013 | 1013 | summary: 9foobranch |
|
1014 | 1014 | |
|
1015 | diff -r 41efa6d38e9b -r 5a4da427c162 a | |
|
1015 | diff -r 800511b3a22d -r e00abbf63521 a | |
|
1016 | 1016 | --- a/a Thu Jan 01 00:00:00 1970 +0000 |
|
1017 | 1017 | +++ b/a Thu Jan 01 00:00:00 1970 +0000 |
|
1018 | 1018 | @@ -1,3 +1,4 @@ |
@@ -1023,7 +1023,7 b' Expansion in changeset but not in file' | |||
|
1023 | 1023 | |
|
1024 | 1024 | $ head -n 2 a |
|
1025 | 1025 | foobranch |
|
1026 |
expand $Id: a |
|
|
1026 | expand $Id: a e00abbf63521 Thu, 01 Jan 1970 00:00:00 +0000 test $ | |
|
1027 | 1027 | |
|
1028 | 1028 | Turn off expansion |
|
1029 | 1029 |
@@ -8,77 +8,77 b'' | |||
|
8 | 8 | $ hg ci -Ambase -d '1 0' |
|
9 | 9 | adding base |
|
10 | 10 | |
|
11 | $ hg qnew -d '1 0' a | |
|
12 | $ hg qnew -d '1 0' b | |
|
13 | $ hg qnew -d '1 0' c | |
|
11 | $ hg qnew -d '1 0' pa | |
|
12 | $ hg qnew -d '1 0' pb | |
|
13 | $ hg qnew -d '1 0' pc | |
|
14 | 14 | |
|
15 | 15 | $ hg qdel |
|
16 | 16 | abort: qdelete requires at least one revision or patch name |
|
17 | 17 | [255] |
|
18 | 18 | |
|
19 | $ hg qdel c | |
|
20 | abort: cannot delete applied patch c | |
|
19 | $ hg qdel pc | |
|
20 | abort: cannot delete applied patch pc | |
|
21 | 21 | [255] |
|
22 | 22 | |
|
23 | 23 | $ hg qpop |
|
24 | popping c | |
|
25 | now at: b | |
|
24 | popping pc | |
|
25 | now at: pb | |
|
26 | 26 | |
|
27 | 27 | Delete the same patch twice in one command (issue2427) |
|
28 | 28 | |
|
29 | $ hg qdel c c | |
|
29 | $ hg qdel pc pc | |
|
30 | 30 | |
|
31 | 31 | $ hg qseries |
|
32 | a | |
|
33 | b | |
|
32 | pa | |
|
33 | pb | |
|
34 | 34 | |
|
35 | 35 | $ ls .hg/patches |
|
36 | a | |
|
37 | b | |
|
36 | pa | |
|
37 | pb | |
|
38 | 38 | series |
|
39 | 39 | status |
|
40 | 40 | |
|
41 | 41 | $ hg qpop |
|
42 | popping b | |
|
43 | now at: a | |
|
42 | popping pb | |
|
43 | now at: pa | |
|
44 | 44 | |
|
45 | 45 | $ hg qdel -k 1 |
|
46 | 46 | |
|
47 | 47 | $ ls .hg/patches |
|
48 | a | |
|
49 | b | |
|
48 | pa | |
|
49 | pb | |
|
50 | 50 | series |
|
51 | 51 | status |
|
52 | 52 | |
|
53 | $ hg qdel -r a | |
|
54 | patch a finalized without changeset message | |
|
53 | $ hg qdel -r pa | |
|
54 | patch pa finalized without changeset message | |
|
55 | 55 | |
|
56 | 56 | $ hg qapplied |
|
57 | 57 | |
|
58 | 58 | $ hg log --template '{rev} {desc}\n' |
|
59 | 1 [mq]: a | |
|
59 | 1 [mq]: pa | |
|
60 | 60 | 0 base |
|
61 | 61 | |
|
62 | $ hg qnew d | |
|
63 | $ hg qnew e | |
|
64 | $ hg qnew f | |
|
62 | $ hg qnew pd | |
|
63 | $ hg qnew pe | |
|
64 | $ hg qnew pf | |
|
65 | 65 | |
|
66 | $ hg qdel -r e | |
|
66 | $ hg qdel -r pe | |
|
67 | 67 | abort: cannot delete revision 3 above applied patches |
|
68 | 68 | [255] |
|
69 | 69 | |
|
70 | $ hg qdel -r qbase:e | |
|
71 | patch d finalized without changeset message | |
|
72 | patch e finalized without changeset message | |
|
70 | $ hg qdel -r qbase:pe | |
|
71 | patch pd finalized without changeset message | |
|
72 | patch pe finalized without changeset message | |
|
73 | 73 | |
|
74 | 74 | $ hg qapplied |
|
75 | f | |
|
75 | pf | |
|
76 | 76 | |
|
77 | 77 | $ hg log --template '{rev} {desc}\n' |
|
78 | 4 [mq]: f | |
|
79 | 3 [mq]: e | |
|
80 | 2 [mq]: d | |
|
81 | 1 [mq]: a | |
|
78 | 4 [mq]: pf | |
|
79 | 3 [mq]: pe | |
|
80 | 2 [mq]: pd | |
|
81 | 1 [mq]: pa | |
|
82 | 82 | 0 base |
|
83 | 83 | |
|
84 | 84 | $ cd .. |
@@ -97,53 +97,53 b' Delete the same patch twice in one comma' | |||
|
97 | 97 | $ hg qfinish -a |
|
98 | 98 | no patches applied |
|
99 | 99 | |
|
100 | $ hg qnew -d '1 0' a | |
|
101 | $ hg qnew -d '1 0' b | |
|
102 | $ hg qnew c # XXX fails to apply by /usr/bin/patch if we put a date | |
|
100 | $ hg qnew -d '1 0' pa | |
|
101 | $ hg qnew -d '1 0' pb | |
|
102 | $ hg qnew pc # XXX fails to apply by /usr/bin/patch if we put a date | |
|
103 | 103 | |
|
104 | 104 | $ hg qfinish 0 |
|
105 | 105 | abort: revision 0 is not managed |
|
106 | 106 | [255] |
|
107 | 107 | |
|
108 | $ hg qfinish b | |
|
108 | $ hg qfinish pb | |
|
109 | 109 | abort: cannot delete revision 2 above applied patches |
|
110 | 110 | [255] |
|
111 | 111 | |
|
112 | 112 | $ hg qpop |
|
113 | popping c | |
|
114 | now at: b | |
|
113 | popping pc | |
|
114 | now at: pb | |
|
115 | 115 | |
|
116 | $ hg qfinish -a c | |
|
117 | abort: unknown revision 'c'! | |
|
116 | $ hg qfinish -a pc | |
|
117 | abort: unknown revision 'pc'! | |
|
118 | 118 | [255] |
|
119 | 119 | |
|
120 | 120 | $ hg qpush |
|
121 | applying c | |
|
122 | patch c is empty | |
|
123 | now at: c | |
|
121 | applying pc | |
|
122 | patch pc is empty | |
|
123 | now at: pc | |
|
124 | 124 | |
|
125 | $ hg qfinish qbase:b | |
|
126 | patch a finalized without changeset message | |
|
127 | patch b finalized without changeset message | |
|
125 | $ hg qfinish qbase:pb | |
|
126 | patch pa finalized without changeset message | |
|
127 | patch pb finalized without changeset message | |
|
128 | 128 | |
|
129 | 129 | $ hg qapplied |
|
130 | c | |
|
130 | pc | |
|
131 | 131 | |
|
132 | 132 | $ hg log --template '{rev} {desc}\n' |
|
133 | 3 imported patch c | |
|
134 | 2 [mq]: b | |
|
135 | 1 [mq]: a | |
|
133 | 3 imported patch pc | |
|
134 | 2 [mq]: pb | |
|
135 | 1 [mq]: pa | |
|
136 | 136 | 0 base |
|
137 | 137 | |
|
138 | $ hg qfinish -a c | |
|
139 | patch c finalized without changeset message | |
|
138 | $ hg qfinish -a pc | |
|
139 | patch pc finalized without changeset message | |
|
140 | 140 | |
|
141 | 141 | $ hg qapplied |
|
142 | 142 | |
|
143 | 143 | $ hg log --template '{rev} {desc}\n' |
|
144 | 3 imported patch c | |
|
145 | 2 [mq]: b | |
|
146 | 1 [mq]: a | |
|
144 | 3 imported patch pc | |
|
145 | 2 [mq]: pb | |
|
146 | 1 [mq]: pa | |
|
147 | 147 | 0 base |
|
148 | 148 | |
|
149 | 149 | $ ls .hg/patches |
@@ -177,7 +177,7 b' resilience to inconsistency: qfinish -a ' | |||
|
177 | 177 | $ hg qrefresh -d '1 0' |
|
178 | 178 | $ echo > .hg/patches/series # remove 3.diff from series to confuse mq |
|
179 | 179 | $ hg qfinish -a |
|
180 |
revision |
|
|
180 | revision 47dfa8501675 refers to unknown patches: 3.diff | |
|
181 | 181 | |
|
182 | 182 | more complex state 'both known and unknown patches |
|
183 | 183 | |
@@ -189,6 +189,6 b" more complex state 'both known and unkno" | |||
|
189 | 189 | $ echo hup >> base |
|
190 | 190 | $ hg qnew -f -d '1 0' -m 6 6.diff |
|
191 | 191 | $ hg qfinish -a |
|
192 |
revision |
|
|
193 |
revision |
|
|
192 | revision 2b1c98802260 refers to unknown patches: 5.diff | |
|
193 | revision 33a6861311c0 refers to unknown patches: 4.diff | |
|
194 | 194 |
@@ -1282,7 +1282,7 b' apply force, should not discard changes ' | |||
|
1282 | 1282 | patch empty is empty |
|
1283 | 1283 | now at: empty |
|
1284 | 1284 | $ hg diff --config diff.nodates=True |
|
1285 |
diff -r |
|
|
1285 | diff -r d58265112590 hello.txt | |
|
1286 | 1286 | --- a/hello.txt |
|
1287 | 1287 | +++ b/hello.txt |
|
1288 | 1288 | @@ -1,1 +1,2 @@ |
@@ -1296,7 +1296,7 b' apply force, should not discard changes ' | |||
|
1296 | 1296 | hello |
|
1297 | 1297 | +world |
|
1298 | 1298 | $ hg log -l1 -p |
|
1299 |
changeset: 1: |
|
|
1299 | changeset: 1:d58265112590 | |
|
1300 | 1300 | tag: empty |
|
1301 | 1301 | tag: qbase |
|
1302 | 1302 | tag: qtip |
@@ -31,7 +31,7 b' Branch shadowing:' | |||
|
31 | 31 | There should be only one default branch head |
|
32 | 32 | |
|
33 | 33 | $ hg heads . |
|
34 |
changeset: 3: |
|
|
34 | changeset: 3:1c28f494dae6 | |
|
35 | 35 | tag: tip |
|
36 | 36 | user: test |
|
37 | 37 | date: Thu Jan 01 00:00:00 1970 +0000 |
@@ -54,34 +54,34 b' There should be only one default branch ' | |||
|
54 | 54 | $ hg ci -m "merge" |
|
55 | 55 | |
|
56 | 56 | $ hg log |
|
57 |
changeset: 5: |
|
|
57 | changeset: 5:530046499edf | |
|
58 | 58 | branch: foo |
|
59 | 59 | tag: tip |
|
60 |
parent: 4: |
|
|
61 |
parent: 3: |
|
|
60 | parent: 4:adf1a74a7f7b | |
|
61 | parent: 3:1c28f494dae6 | |
|
62 | 62 | user: test |
|
63 | 63 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
64 | 64 | summary: merge |
|
65 | 65 | |
|
66 |
changeset: 4: |
|
|
66 | changeset: 4:adf1a74a7f7b | |
|
67 | 67 | branch: foo |
|
68 |
parent: 1: |
|
|
68 | parent: 1:6c0e42da283a | |
|
69 | 69 | user: test |
|
70 | 70 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
71 | 71 | summary: modify a branch |
|
72 | 72 | |
|
73 |
changeset: 3: |
|
|
73 | changeset: 3:1c28f494dae6 | |
|
74 | 74 | user: test |
|
75 | 75 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
76 | 76 | summary: clear branch name |
|
77 | 77 | |
|
78 |
changeset: 2: |
|
|
78 | changeset: 2:c21617b13b22 | |
|
79 | 79 | branch: bar |
|
80 | 80 | user: test |
|
81 | 81 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
82 | 82 | summary: change branch name |
|
83 | 83 | |
|
84 |
changeset: 1: |
|
|
84 | changeset: 1:6c0e42da283a | |
|
85 | 85 | branch: foo |
|
86 | 86 | user: test |
|
87 | 87 | date: Thu Jan 01 00:00:00 1970 +0000 |
@@ -93,9 +93,9 b' There should be only one default branch ' | |||
|
93 | 93 | summary: initial |
|
94 | 94 | |
|
95 | 95 | $ hg branches |
|
96 |
foo 5: |
|
|
97 |
default 3: |
|
|
98 |
bar 2: |
|
|
96 | foo 5:530046499edf | |
|
97 | default 3:1c28f494dae6 (inactive) | |
|
98 | bar 2:c21617b13b22 (inactive) | |
|
99 | 99 | |
|
100 | 100 | $ hg branches -q |
|
101 | 101 | foo |
@@ -111,10 +111,10 b' Test for invalid branch cache:' | |||
|
111 | 111 | $ cp $branchcache .hg/bc-invalid |
|
112 | 112 | |
|
113 | 113 | $ hg log -r foo |
|
114 |
changeset: 4: |
|
|
114 | changeset: 4:adf1a74a7f7b | |
|
115 | 115 | branch: foo |
|
116 | 116 | tag: tip |
|
117 |
parent: 1: |
|
|
117 | parent: 1:6c0e42da283a | |
|
118 | 118 | user: test |
|
119 | 119 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
120 | 120 | summary: modify a branch |
@@ -123,12 +123,12 b' Test for invalid branch cache:' | |||
|
123 | 123 | |
|
124 | 124 | $ hg --debug log -r foo |
|
125 | 125 | invalidating branch cache (tip differs) |
|
126 | changeset: 4:98d14f698afeaff8cb612dcf215ce95e639effc3 | |
|
126 | changeset: 4:adf1a74a7f7b4cd193d12992f5d0d6a004ed21d6 | |
|
127 | 127 | branch: foo |
|
128 | 128 | tag: tip |
|
129 | parent: 1:0079f24813e2b73a891577c243684c5066347bc8 | |
|
129 | parent: 1:6c0e42da283a56b5edc5b4fadb491365ec7f5fa8 | |
|
130 | 130 | parent: -1:0000000000000000000000000000000000000000 |
|
131 | manifest: 4:d01b250baaa05909152f7ae07d7a649deea0df9a | |
|
131 | manifest: 1:8c342a37dfba0b3d3ce073562a00d8a813c54ffe | |
|
132 | 132 | user: test |
|
133 | 133 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
134 | 134 | files: a |
@@ -141,13 +141,13 b' Test for invalid branch cache:' | |||
|
141 | 141 | $ echo corrupted > $branchcache |
|
142 | 142 | |
|
143 | 143 | $ hg log -qr foo |
|
144 | 4:98d14f698afe | |
|
144 | 4:adf1a74a7f7b | |
|
145 | 145 | |
|
146 | 146 | $ cat $branchcache |
|
147 | 98d14f698afeaff8cb612dcf215ce95e639effc3 4 | |
|
148 | 9d567d0b51f9e2068b054e1948e1a927f99b5874 default | |
|
149 | 98d14f698afeaff8cb612dcf215ce95e639effc3 foo | |
|
150 | ed2bbf4e01029020711be82ca905283e883f0e11 bar | |
|
147 | adf1a74a7f7b4cd193d12992f5d0d6a004ed21d6 4 | |
|
148 | 1c28f494dae69a2f8fc815059d257eccf3fcfe75 default | |
|
149 | adf1a74a7f7b4cd193d12992f5d0d6a004ed21d6 foo | |
|
150 | c21617b13b220988e7a2e26290fbe4325ffa7139 bar | |
|
151 | 151 | |
|
152 | 152 | Push should update the branch cache: |
|
153 | 153 | |
@@ -166,22 +166,22 b' Pushing everything:' | |||
|
166 | 166 | $ hg push -qf ../target |
|
167 | 167 | |
|
168 | 168 | $ cat ../target/$branchcache |
|
169 | 98d14f698afeaff8cb612dcf215ce95e639effc3 4 | |
|
170 | 9d567d0b51f9e2068b054e1948e1a927f99b5874 default | |
|
171 | 98d14f698afeaff8cb612dcf215ce95e639effc3 foo | |
|
172 | ed2bbf4e01029020711be82ca905283e883f0e11 bar | |
|
169 | adf1a74a7f7b4cd193d12992f5d0d6a004ed21d6 4 | |
|
170 | 1c28f494dae69a2f8fc815059d257eccf3fcfe75 default | |
|
171 | adf1a74a7f7b4cd193d12992f5d0d6a004ed21d6 foo | |
|
172 | c21617b13b220988e7a2e26290fbe4325ffa7139 bar | |
|
173 | 173 | |
|
174 | 174 | Update with no arguments: tipmost revision of the current branch: |
|
175 | 175 | |
|
176 | 176 | $ hg up -q -C 0 |
|
177 | 177 | $ hg up -q |
|
178 | 178 | $ hg id |
|
179 | 9d567d0b51f9 | |
|
179 | 1c28f494dae6 | |
|
180 | 180 | |
|
181 | 181 | $ hg up -q 1 |
|
182 | 182 | $ hg up -q |
|
183 | 183 | $ hg id |
|
184 |
|
|
|
184 | adf1a74a7f7b (foo) tip | |
|
185 | 185 | |
|
186 | 186 | $ hg branch foobar |
|
187 | 187 | marked working directory as branch foobar |
@@ -210,11 +210,11 b' Fastforward merge:' | |||
|
210 | 210 | foo |
|
211 | 211 | $ hg commit -m'Merge ff into foo' |
|
212 | 212 | $ hg parents |
|
213 |
changeset: 6: |
|
|
213 | changeset: 6:185ffbfefa30 | |
|
214 | 214 | branch: foo |
|
215 | 215 | tag: tip |
|
216 |
parent: 4: |
|
|
217 |
parent: 5: |
|
|
216 | parent: 4:adf1a74a7f7b | |
|
217 | parent: 5:1a3c27dc5e11 | |
|
218 | 218 | user: test |
|
219 | 219 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
220 | 220 | summary: Merge ff into foo |
@@ -298,11 +298,11 b' test merge' | |||
|
298 | 298 | Date: * (glob) |
|
299 | 299 | Subject: merge |
|
300 | 300 | From: test@test.com |
|
301 |
X-Hg-Notification: changeset |
|
|
301 | X-Hg-Notification: changeset 6a0cf76b2701 | |
|
302 | 302 | Message-Id: <*> (glob) |
|
303 | 303 | To: baz@test.com, foo@bar |
|
304 | 304 | |
|
305 |
changeset |
|
|
305 | changeset 6a0cf76b2701 in b | |
|
306 | 306 | description: merge |
|
307 | 307 | (run 'hg update' to get a working copy) |
|
308 | 308 | |
@@ -330,11 +330,11 b' truncate multi-byte subject' | |||
|
330 | 330 | Date: * (glob) |
|
331 | 331 | Subject: \xc3\xa0... (esc) |
|
332 | 332 | From: test@test.com |
|
333 |
X-Hg-Notification: changeset |
|
|
333 | X-Hg-Notification: changeset 7ea05ad269dc | |
|
334 | 334 | Message-Id: <*> (glob) |
|
335 | 335 | To: baz@test.com, foo@bar |
|
336 | 336 | |
|
337 |
changeset |
|
|
337 | changeset 7ea05ad269dc in b | |
|
338 | 338 | description: \xc3\xa0\xc3\xa1\xc3\xa2\xc3\xa3\xc3\xa4 (esc) |
|
339 | 339 | diffstat: |
|
340 | 340 | |
@@ -343,7 +343,7 b' truncate multi-byte subject' | |||
|
343 | 343 | |
|
344 | 344 | diffs (7 lines): |
|
345 | 345 | |
|
346 | diff -r 22c88b85aa27 -r 4a47f01c1356 a | |
|
346 | diff -r 6a0cf76b2701 -r 7ea05ad269dc a | |
|
347 | 347 | --- a/a Thu Jan 01 00:00:03 1970 +0000 |
|
348 | 348 | +++ b/a Thu Jan 01 00:00:00 1970 +0000 |
|
349 | 349 | @@ -1,2 +1,3 @@ |
@@ -51,7 +51,7 b' don\'t show "(+1 heads)" message when pul' | |||
|
51 | 51 | added 2 changesets with 1 changes to 1 files |
|
52 | 52 | (run 'hg update' to get a working copy) |
|
53 | 53 | $ hg heads -q --closed |
|
54 | 4:996201fa1abf | |
|
54 | 4:00cfe9073916 | |
|
55 | 55 | 2:effea6de0384 |
|
56 | 56 | 1:ed1b79f46b9a |
|
57 | 57 |
@@ -85,9 +85,9 b' Rebase part of branch2 (5-6) onto branch' | |||
|
85 | 85 | o 0: 'A' |
|
86 | 86 | |
|
87 | 87 | $ hg branches |
|
88 |
branch3 8: |
|
|
89 |
branch2 6: |
|
|
90 |
branch1 2: |
|
|
88 | branch3 8:4666b71e8e32 | |
|
89 | branch2 6:5097051d331d | |
|
90 | branch1 2:0a03079c47fd (inactive) | |
|
91 | 91 | default 0:1994f17a630e (inactive) |
|
92 | 92 | |
|
93 | 93 | $ hg theads |
@@ -101,9 +101,9 b' Rebase part of branch2 (5-6) onto branch' | |||
|
101 | 101 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/*-backup.hg (glob) |
|
102 | 102 | |
|
103 | 103 | $ hg branches |
|
104 |
branch3 8: |
|
|
105 |
branch2 4: |
|
|
106 |
branch1 2: |
|
|
104 | branch3 8:466cdfb14b62 | |
|
105 | branch2 4:e4fdb121d036 | |
|
106 | branch1 2:0a03079c47fd | |
|
107 | 107 | default 0:1994f17a630e (inactive) |
|
108 | 108 | |
|
109 | 109 | $ hg theads |
@@ -162,9 +162,9 b' Rebase head of branch3 (8) onto branch2 ' | |||
|
162 | 162 | saved backup bundle to $TESTTMP/a2/.hg/strip-backup/*-backup.hg (glob) |
|
163 | 163 | |
|
164 | 164 | $ hg branches |
|
165 |
branch2 8: |
|
|
166 |
branch3 7: |
|
|
167 |
branch1 2: |
|
|
165 | branch2 8:6b4bdc1b5ac0 | |
|
166 | branch3 7:653b9feb4616 | |
|
167 | branch1 2:0a03079c47fd (inactive) | |
|
168 | 168 | default 0:1994f17a630e (inactive) |
|
169 | 169 | |
|
170 | 170 | $ hg theads |
@@ -226,8 +226,8 b' Rebase entire branch3 (7-8) onto branch2' | |||
|
226 | 226 | saved backup bundle to $TESTTMP/a3/.hg/strip-backup/*-backup.hg (glob) |
|
227 | 227 | |
|
228 | 228 | $ hg branches |
|
229 |
branch2 7: |
|
|
230 |
branch1 2: |
|
|
229 | branch2 7:6b4bdc1b5ac0 | |
|
230 | branch1 2:0a03079c47fd (inactive) | |
|
231 | 231 | default 0:1994f17a630e (inactive) |
|
232 | 232 | |
|
233 | 233 | $ hg theads |
General Comments 0
You need to be logged in to leave comments.
Login now