test-glog.t
1507 lines
| 49.3 KiB
| text/troff
|
Tads3Lexer
/ tests / test-glog.t
|
r12003 | @ (34) head | ||
| | ||||
| o (33) head | ||||
| | | ||||
o | (32) expand | ||||
|\ \ | ||||
| o \ (31) expand | ||||
| |\ \ | ||||
| | o \ (30) expand | ||||
| | |\ \ | ||||
| | | o | (29) regular commit | ||||
| | | | | | ||||
| | o | | (28) merge zero known | ||||
| | |\ \ \ | ||||
o | | | | | (27) collapse | ||||
|/ / / / / | ||||
| | o---+ (26) merge one known; far right | ||||
| | | | | | ||||
+---o | | (25) merge one known; far left | ||||
| | | | | | ||||
| | o | | (24) merge one known; immediate right | ||||
| | |\| | | ||||
| | o | | (23) merge one known; immediate left | ||||
| |/| | | | ||||
+---o---+ (22) merge two known; one far left, one far right | ||||
| | / / | ||||
o | | | (21) expand | ||||
|\ \ \ \ | ||||
| o---+-+ (20) merge two known; two far right | ||||
| / / / | ||||
o | | | (19) expand | ||||
|\ \ \ \ | ||||
+---+---o (18) merge two known; two far left | ||||
| | | | | ||||
| o | | (17) expand | ||||
| |\ \ \ | ||||
| | o---+ (16) merge two known; one immediate right, one near right | ||||
| | |/ / | ||||
o | | | (15) expand | ||||
|\ \ \ \ | ||||
| o-----+ (14) merge two known; one immediate right, one far right | ||||
| |/ / / | ||||
o | | | (13) expand | ||||
|\ \ \ \ | ||||
+---o | | (12) merge two known; one immediate right, one far left | ||||
| | |/ / | ||||
| o | | (11) expand | ||||
| |\ \ \ | ||||
| | o---+ (10) merge two known; one immediate left, one near right | ||||
| |/ / / | ||||
o | | | (9) expand | ||||
|\ \ \ \ | ||||
| o-----+ (8) merge two known; one immediate left, one far right | ||||
|/ / / / | ||||
o | | | (7) expand | ||||
|\ \ \ \ | ||||
+---o | | (6) merge two known; one immediate left, one far left | ||||
| |/ / / | ||||
| o | | (5) expand | ||||
| |\ \ \ | ||||
| | o | | (4) merge two known; one immediate left, one immediate right | ||||
| |/|/ / | ||||
| o / / (3) collapse | ||||
|/ / / | ||||
o / / (2) collapse | ||||
|/ / | ||||
o / (1) collapse | ||||
|/ | ||||
o (0) root | ||||
$ "$TESTDIR/hghave" no-outer-repo || exit 80 | ||||
$ commit() | ||||
> { | ||||
> rev=$1 | ||||
> msg=$2 | ||||
> shift 2 | ||||
> if [ "$#" -gt 0 ]; then | ||||
> hg debugsetparents "$@" | ||||
> fi | ||||
> echo $rev > a | ||||
> hg commit -Aqd "$rev 0" -m "($rev) $msg" | ||||
> } | ||||
|
r16146 | $ cat > printrevset.py <<EOF | ||
> from mercurial import extensions, revset, commands | ||||
> from hgext import graphlog | ||||
> | ||||
> def uisetup(ui): | ||||
> def printrevset(orig, ui, repo, *pats, **opts): | ||||
> if opts.get('print_revset'): | ||||
> expr = graphlog.revset(pats, opts) | ||||
> tree = revset.parse(expr)[0] | ||||
> ui.write(tree, "\n") | ||||
> return 0 | ||||
> return orig(ui, repo, *pats, **opts) | ||||
> entry = extensions.wrapcommand(commands.table, 'log', printrevset) | ||||
> entry[1].append(('', 'print-revset', False, | ||||
> 'print generated revset and exit (DEPRECATED)')) | ||||
> EOF | ||||
|
r12003 | $ echo "[extensions]" >> $HGRCPATH | ||
$ echo "graphlog=" >> $HGRCPATH | ||||
|
r16146 | $ echo "printrevset=`pwd`/printrevset.py" >> $HGRCPATH | ||
|
r12003 | |||
$ hg init repo | ||||
$ cd repo | ||||
Empty repo: | ||||
$ hg glog | ||||
Building DAG: | ||||
$ commit 0 "root" | ||||
$ commit 1 "collapse" 0 | ||||
$ commit 2 "collapse" 1 | ||||
$ commit 3 "collapse" 2 | ||||
$ commit 4 "merge two known; one immediate left, one immediate right" 1 3 | ||||
$ commit 5 "expand" 3 4 | ||||
$ commit 6 "merge two known; one immediate left, one far left" 2 5 | ||||
$ commit 7 "expand" 2 5 | ||||
$ commit 8 "merge two known; one immediate left, one far right" 0 7 | ||||
$ commit 9 "expand" 7 8 | ||||
$ commit 10 "merge two known; one immediate left, one near right" 0 6 | ||||
$ commit 11 "expand" 6 10 | ||||
$ commit 12 "merge two known; one immediate right, one far left" 1 9 | ||||
$ commit 13 "expand" 9 11 | ||||
$ commit 14 "merge two known; one immediate right, one far right" 0 12 | ||||
$ commit 15 "expand" 13 14 | ||||
$ commit 16 "merge two known; one immediate right, one near right" 0 1 | ||||
$ commit 17 "expand" 12 16 | ||||
$ commit 18 "merge two known; two far left" 1 15 | ||||
$ commit 19 "expand" 15 17 | ||||
$ commit 20 "merge two known; two far right" 0 18 | ||||
$ commit 21 "expand" 19 20 | ||||
$ commit 22 "merge two known; one far left, one far right" 18 21 | ||||
$ commit 23 "merge one known; immediate left" 1 22 | ||||
$ commit 24 "merge one known; immediate right" 0 23 | ||||
$ commit 25 "merge one known; far left" 21 24 | ||||
$ commit 26 "merge one known; far right" 18 25 | ||||
$ commit 27 "collapse" 21 | ||||
$ commit 28 "merge zero known" 1 26 | ||||
$ commit 29 "regular commit" 0 | ||||
$ commit 30 "expand" 28 29 | ||||
$ commit 31 "expand" 21 30 | ||||
$ commit 32 "expand" 27 31 | ||||
$ commit 33 "head" 18 | ||||
$ commit 34 "head" 32 | ||||
$ hg glog -q | ||||
@ 34:fea3ac5810e0 | ||||
| | ||||
| o 33:68608f5145f9 | ||||
| | | ||||
o | 32:d06dffa21a31 | ||||
|\ \ | ||||
| o \ 31:621d83e11f67 | ||||
| |\ \ | ||||
| | o \ 30:6e11cd4b648f | ||||
| | |\ \ | ||||
| | | o | 29:cd9bb2be7593 | ||||
| | | | | | ||||
| | o | | 28:44ecd0b9ae99 | ||||
| | |\ \ \ | ||||
o | | | | | 27:886ed638191b | ||||
|/ / / / / | ||||
| | o---+ 26:7f25b6c2f0b9 | ||||
| | | | | | ||||
+---o | | 25:91da8ed57247 | ||||
| | | | | | ||||
| | o | | 24:a9c19a3d96b7 | ||||
| | |\| | | ||||
| | o | | 23:a01cddf0766d | ||||
| |/| | | | ||||
+---o---+ 22:e0d9cccacb5d | ||||
| | / / | ||||
o | | | 21:d42a756af44d | ||||
|\ \ \ \ | ||||
| o---+-+ 20:d30ed6450e32 | ||||
| / / / | ||||
o | | | 19:31ddc2c1573b | ||||
|\ \ \ \ | ||||
+---+---o 18:1aa84d96232a | ||||
| | | | | ||||
| o | | 17:44765d7c06e0 | ||||
| |\ \ \ | ||||
| | o---+ 16:3677d192927d | ||||
| | |/ / | ||||
o | | | 15:1dda3f72782d | ||||
|\ \ \ \ | ||||
| o-----+ 14:8eac370358ef | ||||
| |/ / / | ||||
o | | | 13:22d8966a97e3 | ||||
|\ \ \ \ | ||||
+---o | | 12:86b91144a6e9 | ||||
| | |/ / | ||||
| o | | 11:832d76e6bdf2 | ||||
| |\ \ \ | ||||
| | o---+ 10:74c64d036d72 | ||||
| |/ / / | ||||
o | | | 9:7010c0af0a35 | ||||
|\ \ \ \ | ||||
| o-----+ 8:7a0b11f71937 | ||||
|/ / / / | ||||
o | | | 7:b632bb1b1224 | ||||
|\ \ \ \ | ||||
+---o | | 6:b105a072e251 | ||||
| |/ / / | ||||
| o | | 5:4409d547b708 | ||||
| |\ \ \ | ||||
| | o | | 4:26a8bac39d9f | ||||
| |/|/ / | ||||
| o / / 3:27eef8ed80b4 | ||||
|/ / / | ||||
o / / 2:3d9a33b8d1e1 | ||||
|/ / | ||||
o / 1:6db2ef61d156 | ||||
|/ | ||||
o 0:e6eb3150255d | ||||
$ hg glog | ||||
@ changeset: 34:fea3ac5810e0 | ||||
| tag: tip | ||||
| parent: 32:d06dffa21a31 | ||||
| user: test | ||||
| date: Thu Jan 01 00:00:34 1970 +0000 | ||||
| summary: (34) head | ||||
| | ||||
| o changeset: 33:68608f5145f9 | ||||
| | parent: 18:1aa84d96232a | ||||
| | user: test | ||||
| | date: Thu Jan 01 00:00:33 1970 +0000 | ||||
| | summary: (33) head | ||||
| | | ||||
o | changeset: 32:d06dffa21a31 | ||||
|\ \ parent: 27:886ed638191b | ||||
| | | parent: 31:621d83e11f67 | ||||
| | | user: test | ||||
| | | date: Thu Jan 01 00:00:32 1970 +0000 | ||||
| | | summary: (32) expand | ||||
| | | | ||||
| o | changeset: 31:621d83e11f67 | ||||
| |\ \ parent: 21:d42a756af44d | ||||
| | | | parent: 30:6e11cd4b648f | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:31 1970 +0000 | ||||
| | | | summary: (31) expand | ||||
| | | | | ||||
| | o | changeset: 30:6e11cd4b648f | ||||
| | |\ \ parent: 28:44ecd0b9ae99 | ||||
| | | | | parent: 29:cd9bb2be7593 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:30 1970 +0000 | ||||
| | | | | summary: (30) expand | ||||
| | | | | | ||||
| | | o | changeset: 29:cd9bb2be7593 | ||||
| | | | | parent: 0:e6eb3150255d | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:29 1970 +0000 | ||||
| | | | | summary: (29) regular commit | ||||
| | | | | | ||||
| | o | | changeset: 28:44ecd0b9ae99 | ||||
| | |\ \ \ parent: 1:6db2ef61d156 | ||||
| | | | | | parent: 26:7f25b6c2f0b9 | ||||
| | | | | | user: test | ||||
| | | | | | date: Thu Jan 01 00:00:28 1970 +0000 | ||||
| | | | | | summary: (28) merge zero known | ||||
| | | | | | | ||||
o | | | | | changeset: 27:886ed638191b | ||||
|/ / / / / parent: 21:d42a756af44d | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:27 1970 +0000 | ||||
| | | | | summary: (27) collapse | ||||
| | | | | | ||||
| | o---+ changeset: 26:7f25b6c2f0b9 | ||||
| | | | | parent: 18:1aa84d96232a | ||||
| | | | | parent: 25:91da8ed57247 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:26 1970 +0000 | ||||
| | | | | summary: (26) merge one known; far right | ||||
| | | | | | ||||
+---o | | changeset: 25:91da8ed57247 | ||||
| | | | | parent: 21:d42a756af44d | ||||
| | | | | parent: 24:a9c19a3d96b7 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:25 1970 +0000 | ||||
| | | | | summary: (25) merge one known; far left | ||||
| | | | | | ||||
| | o | | changeset: 24:a9c19a3d96b7 | ||||
| | |\| | parent: 0:e6eb3150255d | ||||
| | | | | parent: 23:a01cddf0766d | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:24 1970 +0000 | ||||
| | | | | summary: (24) merge one known; immediate right | ||||
| | | | | | ||||
| | o | | changeset: 23:a01cddf0766d | ||||
| |/| | | parent: 1:6db2ef61d156 | ||||
| | | | | parent: 22:e0d9cccacb5d | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:23 1970 +0000 | ||||
| | | | | summary: (23) merge one known; immediate left | ||||
| | | | | | ||||
+---o---+ changeset: 22:e0d9cccacb5d | ||||
| | | | parent: 18:1aa84d96232a | ||||
| | / / parent: 21:d42a756af44d | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:22 1970 +0000 | ||||
| | | | summary: (22) merge two known; one far left, one far right | ||||
| | | | | ||||
o | | | changeset: 21:d42a756af44d | ||||
|\ \ \ \ parent: 19:31ddc2c1573b | ||||
| | | | | parent: 20:d30ed6450e32 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:21 1970 +0000 | ||||
| | | | | summary: (21) expand | ||||
| | | | | | ||||
| o---+-+ changeset: 20:d30ed6450e32 | ||||
| | | | parent: 0:e6eb3150255d | ||||
| / / / parent: 18:1aa84d96232a | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:20 1970 +0000 | ||||
| | | | summary: (20) merge two known; two far right | ||||
| | | | | ||||
o | | | changeset: 19:31ddc2c1573b | ||||
|\ \ \ \ parent: 15:1dda3f72782d | ||||
| | | | | parent: 17:44765d7c06e0 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:19 1970 +0000 | ||||
| | | | | summary: (19) expand | ||||
| | | | | | ||||
+---+---o changeset: 18:1aa84d96232a | ||||
| | | | parent: 1:6db2ef61d156 | ||||
| | | | parent: 15:1dda3f72782d | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:18 1970 +0000 | ||||
| | | | summary: (18) merge two known; two far left | ||||
| | | | | ||||
| o | | changeset: 17:44765d7c06e0 | ||||
| |\ \ \ parent: 12:86b91144a6e9 | ||||
| | | | | parent: 16:3677d192927d | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:17 1970 +0000 | ||||
| | | | | summary: (17) expand | ||||
| | | | | | ||||
| | o---+ changeset: 16:3677d192927d | ||||
| | | | | parent: 0:e6eb3150255d | ||||
| | |/ / parent: 1:6db2ef61d156 | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:16 1970 +0000 | ||||
| | | | summary: (16) merge two known; one immediate right, one near right | ||||
| | | | | ||||
o | | | changeset: 15:1dda3f72782d | ||||
|\ \ \ \ parent: 13:22d8966a97e3 | ||||
| | | | | parent: 14:8eac370358ef | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:15 1970 +0000 | ||||
| | | | | summary: (15) expand | ||||
| | | | | | ||||
| o-----+ changeset: 14:8eac370358ef | ||||
| | | | | parent: 0:e6eb3150255d | ||||
| |/ / / parent: 12:86b91144a6e9 | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:14 1970 +0000 | ||||
| | | | summary: (14) merge two known; one immediate right, one far right | ||||
| | | | | ||||
o | | | changeset: 13:22d8966a97e3 | ||||
|\ \ \ \ parent: 9:7010c0af0a35 | ||||
| | | | | parent: 11:832d76e6bdf2 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:13 1970 +0000 | ||||
| | | | | summary: (13) expand | ||||
| | | | | | ||||
+---o | | changeset: 12:86b91144a6e9 | ||||
| | |/ / parent: 1:6db2ef61d156 | ||||
| | | | parent: 9:7010c0af0a35 | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:12 1970 +0000 | ||||
| | | | summary: (12) merge two known; one immediate right, one far left | ||||
| | | | | ||||
| o | | changeset: 11:832d76e6bdf2 | ||||
| |\ \ \ parent: 6:b105a072e251 | ||||
| | | | | parent: 10:74c64d036d72 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:11 1970 +0000 | ||||
| | | | | summary: (11) expand | ||||
| | | | | | ||||
| | o---+ changeset: 10:74c64d036d72 | ||||
| | | | | parent: 0:e6eb3150255d | ||||
| |/ / / parent: 6:b105a072e251 | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:10 1970 +0000 | ||||
| | | | summary: (10) merge two known; one immediate left, one near right | ||||
| | | | | ||||
o | | | changeset: 9:7010c0af0a35 | ||||
|\ \ \ \ parent: 7:b632bb1b1224 | ||||
| | | | | parent: 8:7a0b11f71937 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:09 1970 +0000 | ||||
| | | | | summary: (9) expand | ||||
| | | | | | ||||
| o-----+ changeset: 8:7a0b11f71937 | ||||
| | | | | parent: 0:e6eb3150255d | ||||
|/ / / / parent: 7:b632bb1b1224 | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:08 1970 +0000 | ||||
| | | | summary: (8) merge two known; one immediate left, one far right | ||||
| | | | | ||||
o | | | changeset: 7:b632bb1b1224 | ||||
|\ \ \ \ parent: 2:3d9a33b8d1e1 | ||||
| | | | | parent: 5:4409d547b708 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:07 1970 +0000 | ||||
| | | | | summary: (7) expand | ||||
| | | | | | ||||
+---o | | changeset: 6:b105a072e251 | ||||
| |/ / / parent: 2:3d9a33b8d1e1 | ||||
| | | | parent: 5:4409d547b708 | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:06 1970 +0000 | ||||
| | | | summary: (6) merge two known; one immediate left, one far left | ||||
| | | | | ||||
| o | | changeset: 5:4409d547b708 | ||||
| |\ \ \ parent: 3:27eef8ed80b4 | ||||
| | | | | parent: 4:26a8bac39d9f | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:05 1970 +0000 | ||||
| | | | | summary: (5) expand | ||||
| | | | | | ||||
| | o | | changeset: 4:26a8bac39d9f | ||||
| |/|/ / parent: 1:6db2ef61d156 | ||||
| | | | parent: 3:27eef8ed80b4 | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:04 1970 +0000 | ||||
| | | | summary: (4) merge two known; one immediate left, one immediate right | ||||
| | | | | ||||
| o | | changeset: 3:27eef8ed80b4 | ||||
|/ / / user: test | ||||
| | | date: Thu Jan 01 00:00:03 1970 +0000 | ||||
| | | summary: (3) collapse | ||||
| | | | ||||
o | | changeset: 2:3d9a33b8d1e1 | ||||
|/ / user: test | ||||
| | date: Thu Jan 01 00:00:02 1970 +0000 | ||||
| | summary: (2) collapse | ||||
| | | ||||
o | changeset: 1:6db2ef61d156 | ||||
|/ user: test | ||||
| date: Thu Jan 01 00:00:01 1970 +0000 | ||||
| summary: (1) collapse | ||||
| | ||||
o changeset: 0:e6eb3150255d | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: (0) root | ||||
File glog: | ||||
$ hg glog a | ||||
@ changeset: 34:fea3ac5810e0 | ||||
| tag: tip | ||||
| parent: 32:d06dffa21a31 | ||||
| user: test | ||||
| date: Thu Jan 01 00:00:34 1970 +0000 | ||||
| summary: (34) head | ||||
| | ||||
| o changeset: 33:68608f5145f9 | ||||
| | parent: 18:1aa84d96232a | ||||
| | user: test | ||||
| | date: Thu Jan 01 00:00:33 1970 +0000 | ||||
| | summary: (33) head | ||||
| | | ||||
o | changeset: 32:d06dffa21a31 | ||||
|\ \ parent: 27:886ed638191b | ||||
| | | parent: 31:621d83e11f67 | ||||
| | | user: test | ||||
| | | date: Thu Jan 01 00:00:32 1970 +0000 | ||||
| | | summary: (32) expand | ||||
| | | | ||||
|
r14042 | | o | changeset: 31:621d83e11f67 | ||
| |\ \ parent: 21:d42a756af44d | ||||
| | | | parent: 30:6e11cd4b648f | ||||
|
r12003 | | | | | user: test | ||
|
r14042 | | | | | date: Thu Jan 01 00:00:31 1970 +0000 | ||
| | | | summary: (31) expand | ||||
|
r12003 | | | | | | ||
|
r14042 | | | o | changeset: 30:6e11cd4b648f | ||
| | |\ \ parent: 28:44ecd0b9ae99 | ||||
| | | | | parent: 29:cd9bb2be7593 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:30 1970 +0000 | ||||
| | | | | summary: (30) expand | ||||
| | | | | | ||||
| | | o | changeset: 29:cd9bb2be7593 | ||||
| | | | | parent: 0:e6eb3150255d | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:29 1970 +0000 | ||||
| | | | | summary: (29) regular commit | ||||
| | | | | | ||||
| | o | | changeset: 28:44ecd0b9ae99 | ||||
| | |\ \ \ parent: 1:6db2ef61d156 | ||||
| | | | | | parent: 26:7f25b6c2f0b9 | ||||
| | | | | | user: test | ||||
| | | | | | date: Thu Jan 01 00:00:28 1970 +0000 | ||||
| | | | | | summary: (28) merge zero known | ||||
| | | | | | | ||||
o | | | | | changeset: 27:886ed638191b | ||||
|/ / / / / parent: 21:d42a756af44d | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:27 1970 +0000 | ||||
| | | | | summary: (27) collapse | ||||
| | | | | | ||||
| | o---+ changeset: 26:7f25b6c2f0b9 | ||||
| | | | | parent: 18:1aa84d96232a | ||||
| | | | | parent: 25:91da8ed57247 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:26 1970 +0000 | ||||
| | | | | summary: (26) merge one known; far right | ||||
| | | | | | ||||
+---o | | changeset: 25:91da8ed57247 | ||||
| | | | | parent: 21:d42a756af44d | ||||
| | | | | parent: 24:a9c19a3d96b7 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:25 1970 +0000 | ||||
| | | | | summary: (25) merge one known; far left | ||||
| | | | | | ||||
| | o | | changeset: 24:a9c19a3d96b7 | ||||
| | |\| | parent: 0:e6eb3150255d | ||||
| | | | | parent: 23:a01cddf0766d | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:24 1970 +0000 | ||||
| | | | | summary: (24) merge one known; immediate right | ||||
| | | | | | ||||
| | o | | changeset: 23:a01cddf0766d | ||||
| |/| | | parent: 1:6db2ef61d156 | ||||
| | | | | parent: 22:e0d9cccacb5d | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:23 1970 +0000 | ||||
| | | | | summary: (23) merge one known; immediate left | ||||
| | | | | | ||||
+---o---+ changeset: 22:e0d9cccacb5d | ||||
| | | | parent: 18:1aa84d96232a | ||||
| | / / parent: 21:d42a756af44d | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:22 1970 +0000 | ||||
| | | | summary: (22) merge two known; one far left, one far right | ||||
|
r12003 | | | | | | ||
|
r14042 | o | | | changeset: 21:d42a756af44d | ||
|\ \ \ \ parent: 19:31ddc2c1573b | ||||
| | | | | parent: 20:d30ed6450e32 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:21 1970 +0000 | ||||
| | | | | summary: (21) expand | ||||
| | | | | | ||||
| o---+-+ changeset: 20:d30ed6450e32 | ||||
| | | | parent: 0:e6eb3150255d | ||||
| / / / parent: 18:1aa84d96232a | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:20 1970 +0000 | ||||
| | | | summary: (20) merge two known; two far right | ||||
|
r12003 | | | | | | ||
|
r14042 | o | | | changeset: 19:31ddc2c1573b | ||
|\ \ \ \ parent: 15:1dda3f72782d | ||||
| | | | | parent: 17:44765d7c06e0 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:19 1970 +0000 | ||||
| | | | | summary: (19) expand | ||||
| | | | | | ||||
+---+---o changeset: 18:1aa84d96232a | ||||
| | | | parent: 1:6db2ef61d156 | ||||
| | | | parent: 15:1dda3f72782d | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:18 1970 +0000 | ||||
| | | | summary: (18) merge two known; two far left | ||||
|
r12003 | | | | | | ||
|
r14042 | | o | | changeset: 17:44765d7c06e0 | ||
| |\ \ \ parent: 12:86b91144a6e9 | ||||
| | | | | parent: 16:3677d192927d | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:17 1970 +0000 | ||||
| | | | | summary: (17) expand | ||||
| | | | | | ||||
| | o---+ changeset: 16:3677d192927d | ||||
| | | | | parent: 0:e6eb3150255d | ||||
| | |/ / parent: 1:6db2ef61d156 | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:16 1970 +0000 | ||||
| | | | summary: (16) merge two known; one immediate right, one near right | ||||
|
r12003 | | | | | | ||
o | | | changeset: 15:1dda3f72782d | ||||
|\ \ \ \ parent: 13:22d8966a97e3 | ||||
| | | | | parent: 14:8eac370358ef | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:15 1970 +0000 | ||||
| | | | | summary: (15) expand | ||||
| | | | | | ||||
|
r14042 | | o-----+ changeset: 14:8eac370358ef | ||
| | | | | parent: 0:e6eb3150255d | ||||
| |/ / / parent: 12:86b91144a6e9 | ||||
|
r12003 | | | | | user: test | ||
| | | | date: Thu Jan 01 00:00:14 1970 +0000 | ||||
| | | | summary: (14) merge two known; one immediate right, one far right | ||||
| | | | | ||||
o | | | changeset: 13:22d8966a97e3 | ||||
|\ \ \ \ parent: 9:7010c0af0a35 | ||||
| | | | | parent: 11:832d76e6bdf2 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:13 1970 +0000 | ||||
| | | | | summary: (13) expand | ||||
| | | | | | ||||
+---o | | changeset: 12:86b91144a6e9 | ||||
|
r14042 | | | |/ / parent: 1:6db2ef61d156 | ||
|
r12003 | | | | | parent: 9:7010c0af0a35 | ||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:12 1970 +0000 | ||||
| | | | summary: (12) merge two known; one immediate right, one far left | ||||
| | | | | ||||
|
r14042 | | o | | changeset: 11:832d76e6bdf2 | ||
| |\ \ \ parent: 6:b105a072e251 | ||||
| | | | | parent: 10:74c64d036d72 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:11 1970 +0000 | ||||
| | | | | summary: (11) expand | ||||
| | | | | | ||||
| | o---+ changeset: 10:74c64d036d72 | ||||
| | | | | parent: 0:e6eb3150255d | ||||
| |/ / / parent: 6:b105a072e251 | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:10 1970 +0000 | ||||
| | | | summary: (10) merge two known; one immediate left, one near right | ||||
|
r12003 | | | | | | ||
|
r14042 | o | | | changeset: 9:7010c0af0a35 | ||
|\ \ \ \ parent: 7:b632bb1b1224 | ||||
| | | | | parent: 8:7a0b11f71937 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:09 1970 +0000 | ||||
| | | | | summary: (9) expand | ||||
| | | | | | ||||
| o-----+ changeset: 8:7a0b11f71937 | ||||
| | | | | parent: 0:e6eb3150255d | ||||
|/ / / / parent: 7:b632bb1b1224 | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:08 1970 +0000 | ||||
| | | | summary: (8) merge two known; one immediate left, one far right | ||||
|
r12003 | | | | | | ||
|
r14042 | o | | | changeset: 7:b632bb1b1224 | ||
|\ \ \ \ parent: 2:3d9a33b8d1e1 | ||||
| | | | | parent: 5:4409d547b708 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:07 1970 +0000 | ||||
| | | | | summary: (7) expand | ||||
| | | | | | ||||
+---o | | changeset: 6:b105a072e251 | ||||
| |/ / / parent: 2:3d9a33b8d1e1 | ||||
| | | | parent: 5:4409d547b708 | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:06 1970 +0000 | ||||
| | | | summary: (6) merge two known; one immediate left, one far left | ||||
|
r12003 | | | | | | ||
|
r14042 | | o | | changeset: 5:4409d547b708 | ||
| |\ \ \ parent: 3:27eef8ed80b4 | ||||
| | | | | parent: 4:26a8bac39d9f | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:05 1970 +0000 | ||||
| | | | | summary: (5) expand | ||||
| | | | | | ||||
| | o | | changeset: 4:26a8bac39d9f | ||||
| |/|/ / parent: 1:6db2ef61d156 | ||||
| | | | parent: 3:27eef8ed80b4 | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:04 1970 +0000 | ||||
| | | | summary: (4) merge two known; one immediate left, one immediate right | ||||
| | | | | ||||
| o | | changeset: 3:27eef8ed80b4 | ||||
|/ / / user: test | ||||
| | | date: Thu Jan 01 00:00:03 1970 +0000 | ||||
| | | summary: (3) collapse | ||||
|
r12003 | | | | | ||
o | | changeset: 2:3d9a33b8d1e1 | ||||
|/ / user: test | ||||
| | date: Thu Jan 01 00:00:02 1970 +0000 | ||||
| | summary: (2) collapse | ||||
| | | ||||
o | changeset: 1:6db2ef61d156 | ||||
|/ user: test | ||||
| date: Thu Jan 01 00:00:01 1970 +0000 | ||||
| summary: (1) collapse | ||||
| | ||||
o changeset: 0:e6eb3150255d | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: (0) root | ||||
|
r14043 | File glog per revset: | ||
$ hg glog -r 'file("a")' | ||||
@ changeset: 34:fea3ac5810e0 | ||||
| tag: tip | ||||
| parent: 32:d06dffa21a31 | ||||
| user: test | ||||
| date: Thu Jan 01 00:00:34 1970 +0000 | ||||
| summary: (34) head | ||||
| | ||||
| o changeset: 33:68608f5145f9 | ||||
| | parent: 18:1aa84d96232a | ||||
| | user: test | ||||
| | date: Thu Jan 01 00:00:33 1970 +0000 | ||||
| | summary: (33) head | ||||
| | | ||||
o | changeset: 32:d06dffa21a31 | ||||
|\ \ parent: 27:886ed638191b | ||||
| | | parent: 31:621d83e11f67 | ||||
| | | user: test | ||||
| | | date: Thu Jan 01 00:00:32 1970 +0000 | ||||
| | | summary: (32) expand | ||||
| | | | ||||
| o | changeset: 31:621d83e11f67 | ||||
| |\ \ parent: 21:d42a756af44d | ||||
| | | | parent: 30:6e11cd4b648f | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:31 1970 +0000 | ||||
| | | | summary: (31) expand | ||||
| | | | | ||||
| | o | changeset: 30:6e11cd4b648f | ||||
| | |\ \ parent: 28:44ecd0b9ae99 | ||||
| | | | | parent: 29:cd9bb2be7593 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:30 1970 +0000 | ||||
| | | | | summary: (30) expand | ||||
| | | | | | ||||
| | | o | changeset: 29:cd9bb2be7593 | ||||
| | | | | parent: 0:e6eb3150255d | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:29 1970 +0000 | ||||
| | | | | summary: (29) regular commit | ||||
| | | | | | ||||
| | o | | changeset: 28:44ecd0b9ae99 | ||||
| | |\ \ \ parent: 1:6db2ef61d156 | ||||
| | | | | | parent: 26:7f25b6c2f0b9 | ||||
| | | | | | user: test | ||||
| | | | | | date: Thu Jan 01 00:00:28 1970 +0000 | ||||
| | | | | | summary: (28) merge zero known | ||||
| | | | | | | ||||
o | | | | | changeset: 27:886ed638191b | ||||
|/ / / / / parent: 21:d42a756af44d | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:27 1970 +0000 | ||||
| | | | | summary: (27) collapse | ||||
| | | | | | ||||
| | o---+ changeset: 26:7f25b6c2f0b9 | ||||
| | | | | parent: 18:1aa84d96232a | ||||
| | | | | parent: 25:91da8ed57247 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:26 1970 +0000 | ||||
| | | | | summary: (26) merge one known; far right | ||||
| | | | | | ||||
+---o | | changeset: 25:91da8ed57247 | ||||
| | | | | parent: 21:d42a756af44d | ||||
| | | | | parent: 24:a9c19a3d96b7 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:25 1970 +0000 | ||||
| | | | | summary: (25) merge one known; far left | ||||
| | | | | | ||||
| | o | | changeset: 24:a9c19a3d96b7 | ||||
| | |\| | parent: 0:e6eb3150255d | ||||
| | | | | parent: 23:a01cddf0766d | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:24 1970 +0000 | ||||
| | | | | summary: (24) merge one known; immediate right | ||||
| | | | | | ||||
| | o | | changeset: 23:a01cddf0766d | ||||
| |/| | | parent: 1:6db2ef61d156 | ||||
| | | | | parent: 22:e0d9cccacb5d | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:23 1970 +0000 | ||||
| | | | | summary: (23) merge one known; immediate left | ||||
| | | | | | ||||
+---o---+ changeset: 22:e0d9cccacb5d | ||||
| | | | parent: 18:1aa84d96232a | ||||
| | / / parent: 21:d42a756af44d | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:22 1970 +0000 | ||||
| | | | summary: (22) merge two known; one far left, one far right | ||||
| | | | | ||||
o | | | changeset: 21:d42a756af44d | ||||
|\ \ \ \ parent: 19:31ddc2c1573b | ||||
| | | | | parent: 20:d30ed6450e32 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:21 1970 +0000 | ||||
| | | | | summary: (21) expand | ||||
| | | | | | ||||
| o---+-+ changeset: 20:d30ed6450e32 | ||||
| | | | parent: 0:e6eb3150255d | ||||
| / / / parent: 18:1aa84d96232a | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:20 1970 +0000 | ||||
| | | | summary: (20) merge two known; two far right | ||||
| | | | | ||||
o | | | changeset: 19:31ddc2c1573b | ||||
|\ \ \ \ parent: 15:1dda3f72782d | ||||
| | | | | parent: 17:44765d7c06e0 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:19 1970 +0000 | ||||
| | | | | summary: (19) expand | ||||
| | | | | | ||||
+---+---o changeset: 18:1aa84d96232a | ||||
| | | | parent: 1:6db2ef61d156 | ||||
| | | | parent: 15:1dda3f72782d | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:18 1970 +0000 | ||||
| | | | summary: (18) merge two known; two far left | ||||
| | | | | ||||
| o | | changeset: 17:44765d7c06e0 | ||||
| |\ \ \ parent: 12:86b91144a6e9 | ||||
| | | | | parent: 16:3677d192927d | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:17 1970 +0000 | ||||
| | | | | summary: (17) expand | ||||
| | | | | | ||||
| | o---+ changeset: 16:3677d192927d | ||||
| | | | | parent: 0:e6eb3150255d | ||||
| | |/ / parent: 1:6db2ef61d156 | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:16 1970 +0000 | ||||
| | | | summary: (16) merge two known; one immediate right, one near right | ||||
| | | | | ||||
o | | | changeset: 15:1dda3f72782d | ||||
|\ \ \ \ parent: 13:22d8966a97e3 | ||||
| | | | | parent: 14:8eac370358ef | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:15 1970 +0000 | ||||
| | | | | summary: (15) expand | ||||
| | | | | | ||||
| o-----+ changeset: 14:8eac370358ef | ||||
| | | | | parent: 0:e6eb3150255d | ||||
| |/ / / parent: 12:86b91144a6e9 | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:14 1970 +0000 | ||||
| | | | summary: (14) merge two known; one immediate right, one far right | ||||
| | | | | ||||
o | | | changeset: 13:22d8966a97e3 | ||||
|\ \ \ \ parent: 9:7010c0af0a35 | ||||
| | | | | parent: 11:832d76e6bdf2 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:13 1970 +0000 | ||||
| | | | | summary: (13) expand | ||||
| | | | | | ||||
+---o | | changeset: 12:86b91144a6e9 | ||||
| | |/ / parent: 1:6db2ef61d156 | ||||
| | | | parent: 9:7010c0af0a35 | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:12 1970 +0000 | ||||
| | | | summary: (12) merge two known; one immediate right, one far left | ||||
| | | | | ||||
| o | | changeset: 11:832d76e6bdf2 | ||||
| |\ \ \ parent: 6:b105a072e251 | ||||
| | | | | parent: 10:74c64d036d72 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:11 1970 +0000 | ||||
| | | | | summary: (11) expand | ||||
| | | | | | ||||
| | o---+ changeset: 10:74c64d036d72 | ||||
| | | | | parent: 0:e6eb3150255d | ||||
| |/ / / parent: 6:b105a072e251 | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:10 1970 +0000 | ||||
| | | | summary: (10) merge two known; one immediate left, one near right | ||||
| | | | | ||||
o | | | changeset: 9:7010c0af0a35 | ||||
|\ \ \ \ parent: 7:b632bb1b1224 | ||||
| | | | | parent: 8:7a0b11f71937 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:09 1970 +0000 | ||||
| | | | | summary: (9) expand | ||||
| | | | | | ||||
| o-----+ changeset: 8:7a0b11f71937 | ||||
| | | | | parent: 0:e6eb3150255d | ||||
|/ / / / parent: 7:b632bb1b1224 | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:08 1970 +0000 | ||||
| | | | summary: (8) merge two known; one immediate left, one far right | ||||
| | | | | ||||
o | | | changeset: 7:b632bb1b1224 | ||||
|\ \ \ \ parent: 2:3d9a33b8d1e1 | ||||
| | | | | parent: 5:4409d547b708 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:07 1970 +0000 | ||||
| | | | | summary: (7) expand | ||||
| | | | | | ||||
+---o | | changeset: 6:b105a072e251 | ||||
| |/ / / parent: 2:3d9a33b8d1e1 | ||||
| | | | parent: 5:4409d547b708 | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:06 1970 +0000 | ||||
| | | | summary: (6) merge two known; one immediate left, one far left | ||||
| | | | | ||||
| o | | changeset: 5:4409d547b708 | ||||
| |\ \ \ parent: 3:27eef8ed80b4 | ||||
| | | | | parent: 4:26a8bac39d9f | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:05 1970 +0000 | ||||
| | | | | summary: (5) expand | ||||
| | | | | | ||||
| | o | | changeset: 4:26a8bac39d9f | ||||
| |/|/ / parent: 1:6db2ef61d156 | ||||
| | | | parent: 3:27eef8ed80b4 | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:04 1970 +0000 | ||||
| | | | summary: (4) merge two known; one immediate left, one immediate right | ||||
| | | | | ||||
| o | | changeset: 3:27eef8ed80b4 | ||||
|/ / / user: test | ||||
| | | date: Thu Jan 01 00:00:03 1970 +0000 | ||||
| | | summary: (3) collapse | ||||
| | | | ||||
o | | changeset: 2:3d9a33b8d1e1 | ||||
|/ / user: test | ||||
| | date: Thu Jan 01 00:00:02 1970 +0000 | ||||
| | summary: (2) collapse | ||||
| | | ||||
o | changeset: 1:6db2ef61d156 | ||||
|/ user: test | ||||
| date: Thu Jan 01 00:00:01 1970 +0000 | ||||
| summary: (1) collapse | ||||
| | ||||
o changeset: 0:e6eb3150255d | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: (0) root | ||||
|
r12003 | |||
|
r14043 | |||
File glog per revset (only merges): | ||||
|
r12003 | |||
|
r14043 | $ hg log -G -r 'file("a")' -m | ||
o changeset: 32:d06dffa21a31 | ||||
|\ parent: 27:886ed638191b | ||||
| | parent: 31:621d83e11f67 | ||||
| | user: test | ||||
| | date: Thu Jan 01 00:00:32 1970 +0000 | ||||
| | summary: (32) expand | ||||
| | | ||||
o | changeset: 31:621d83e11f67 | ||||
|\| parent: 21:d42a756af44d | ||||
| | parent: 30:6e11cd4b648f | ||||
| | user: test | ||||
| | date: Thu Jan 01 00:00:31 1970 +0000 | ||||
| | summary: (31) expand | ||||
| | | ||||
o | changeset: 30:6e11cd4b648f | ||||
|\ \ parent: 28:44ecd0b9ae99 | ||||
| | | parent: 29:cd9bb2be7593 | ||||
| | | user: test | ||||
| | | date: Thu Jan 01 00:00:30 1970 +0000 | ||||
| | | summary: (30) expand | ||||
| | | | ||||
o | | changeset: 28:44ecd0b9ae99 | ||||
|\ \ \ parent: 1:6db2ef61d156 | ||||
| | | | parent: 26:7f25b6c2f0b9 | ||||
| | | | user: test | ||||
| | | | date: Thu Jan 01 00:00:28 1970 +0000 | ||||
| | | | summary: (28) merge zero known | ||||
| | | | | ||||
o | | | changeset: 26:7f25b6c2f0b9 | ||||
|\ \ \ \ parent: 18:1aa84d96232a | ||||
| | | | | parent: 25:91da8ed57247 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:26 1970 +0000 | ||||
| | | | | summary: (26) merge one known; far right | ||||
| | | | | | ||||
| o-----+ changeset: 25:91da8ed57247 | ||||
| | | | | parent: 21:d42a756af44d | ||||
| | | | | parent: 24:a9c19a3d96b7 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:25 1970 +0000 | ||||
| | | | | summary: (25) merge one known; far left | ||||
| | | | | | ||||
| o | | | changeset: 24:a9c19a3d96b7 | ||||
| |\ \ \ \ parent: 0:e6eb3150255d | ||||
| | | | | | parent: 23:a01cddf0766d | ||||
| | | | | | user: test | ||||
| | | | | | date: Thu Jan 01 00:00:24 1970 +0000 | ||||
| | | | | | summary: (24) merge one known; immediate right | ||||
| | | | | | | ||||
| o---+ | | changeset: 23:a01cddf0766d | ||||
| | | | | | parent: 1:6db2ef61d156 | ||||
| | | | | | parent: 22:e0d9cccacb5d | ||||
| | | | | | user: test | ||||
| | | | | | date: Thu Jan 01 00:00:23 1970 +0000 | ||||
| | | | | | summary: (23) merge one known; immediate left | ||||
| | | | | | | ||||
| o-------+ changeset: 22:e0d9cccacb5d | ||||
| | | | | | parent: 18:1aa84d96232a | ||||
|/ / / / / parent: 21:d42a756af44d | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:22 1970 +0000 | ||||
| | | | | summary: (22) merge two known; one far left, one far right | ||||
| | | | | | ||||
| | | | o changeset: 21:d42a756af44d | ||||
| | | | |\ parent: 19:31ddc2c1573b | ||||
| | | | | | parent: 20:d30ed6450e32 | ||||
| | | | | | user: test | ||||
| | | | | | date: Thu Jan 01 00:00:21 1970 +0000 | ||||
| | | | | | summary: (21) expand | ||||
| | | | | | | ||||
+-+-------o changeset: 20:d30ed6450e32 | ||||
| | | | | parent: 0:e6eb3150255d | ||||
| | | | | parent: 18:1aa84d96232a | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:20 1970 +0000 | ||||
| | | | | summary: (20) merge two known; two far right | ||||
| | | | | | ||||
| | | | o changeset: 19:31ddc2c1573b | ||||
| | | | |\ parent: 15:1dda3f72782d | ||||
| | | | | | parent: 17:44765d7c06e0 | ||||
| | | | | | user: test | ||||
| | | | | | date: Thu Jan 01 00:00:19 1970 +0000 | ||||
| | | | | | summary: (19) expand | ||||
| | | | | | | ||||
o---+---+ | changeset: 18:1aa84d96232a | ||||
| | | | | parent: 1:6db2ef61d156 | ||||
/ / / / / parent: 15:1dda3f72782d | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:18 1970 +0000 | ||||
| | | | | summary: (18) merge two known; two far left | ||||
| | | | | | ||||
| | | | o changeset: 17:44765d7c06e0 | ||||
| | | | |\ parent: 12:86b91144a6e9 | ||||
| | | | | | parent: 16:3677d192927d | ||||
| | | | | | user: test | ||||
| | | | | | date: Thu Jan 01 00:00:17 1970 +0000 | ||||
| | | | | | summary: (17) expand | ||||
| | | | | | | ||||
+-+-------o changeset: 16:3677d192927d | ||||
| | | | | parent: 0:e6eb3150255d | ||||
| | | | | parent: 1:6db2ef61d156 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:16 1970 +0000 | ||||
| | | | | summary: (16) merge two known; one immediate right, one near right | ||||
| | | | | | ||||
| | | o | changeset: 15:1dda3f72782d | ||||
| | | |\ \ parent: 13:22d8966a97e3 | ||||
| | | | | | parent: 14:8eac370358ef | ||||
| | | | | | user: test | ||||
| | | | | | date: Thu Jan 01 00:00:15 1970 +0000 | ||||
| | | | | | summary: (15) expand | ||||
| | | | | | | ||||
+-------o | changeset: 14:8eac370358ef | ||||
| | | | |/ parent: 0:e6eb3150255d | ||||
| | | | | parent: 12:86b91144a6e9 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:14 1970 +0000 | ||||
| | | | | summary: (14) merge two known; one immediate right, one far right | ||||
| | | | | | ||||
| | | o | changeset: 13:22d8966a97e3 | ||||
| | | |\ \ parent: 9:7010c0af0a35 | ||||
| | | | | | parent: 11:832d76e6bdf2 | ||||
| | | | | | user: test | ||||
| | | | | | date: Thu Jan 01 00:00:13 1970 +0000 | ||||
| | | | | | summary: (13) expand | ||||
| | | | | | | ||||
| +---+---o changeset: 12:86b91144a6e9 | ||||
| | | | | parent: 1:6db2ef61d156 | ||||
| | | | | parent: 9:7010c0af0a35 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:12 1970 +0000 | ||||
| | | | | summary: (12) merge two known; one immediate right, one far left | ||||
| | | | | | ||||
| | | | o changeset: 11:832d76e6bdf2 | ||||
| | | | |\ parent: 6:b105a072e251 | ||||
| | | | | | parent: 10:74c64d036d72 | ||||
| | | | | | user: test | ||||
| | | | | | date: Thu Jan 01 00:00:11 1970 +0000 | ||||
| | | | | | summary: (11) expand | ||||
| | | | | | | ||||
+---------o changeset: 10:74c64d036d72 | ||||
| | | | |/ parent: 0:e6eb3150255d | ||||
| | | | | parent: 6:b105a072e251 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:10 1970 +0000 | ||||
| | | | | summary: (10) merge two known; one immediate left, one near right | ||||
| | | | | | ||||
| | | o | changeset: 9:7010c0af0a35 | ||||
| | | |\ \ parent: 7:b632bb1b1224 | ||||
| | | | | | parent: 8:7a0b11f71937 | ||||
| | | | | | user: test | ||||
| | | | | | date: Thu Jan 01 00:00:09 1970 +0000 | ||||
| | | | | | summary: (9) expand | ||||
| | | | | | | ||||
+-------o | changeset: 8:7a0b11f71937 | ||||
| | | |/ / parent: 0:e6eb3150255d | ||||
| | | | | parent: 7:b632bb1b1224 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:08 1970 +0000 | ||||
| | | | | summary: (8) merge two known; one immediate left, one far right | ||||
| | | | | | ||||
| | | o | changeset: 7:b632bb1b1224 | ||||
| | | |\ \ parent: 2:3d9a33b8d1e1 | ||||
| | | | | | parent: 5:4409d547b708 | ||||
| | | | | | user: test | ||||
| | | | | | date: Thu Jan 01 00:00:07 1970 +0000 | ||||
| | | | | | summary: (7) expand | ||||
| | | | | | | ||||
| | | +---o changeset: 6:b105a072e251 | ||||
| | | | |/ parent: 2:3d9a33b8d1e1 | ||||
| | | | | parent: 5:4409d547b708 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:06 1970 +0000 | ||||
| | | | | summary: (6) merge two known; one immediate left, one far left | ||||
| | | | | | ||||
| | | o | changeset: 5:4409d547b708 | ||||
| | | |\ \ parent: 3:27eef8ed80b4 | ||||
| | | | | | parent: 4:26a8bac39d9f | ||||
| | | | | | user: test | ||||
| | | | | | date: Thu Jan 01 00:00:05 1970 +0000 | ||||
| | | | | | summary: (5) expand | ||||
| | | | | | | ||||
| +---o | | changeset: 4:26a8bac39d9f | ||||
| | | |/ / parent: 1:6db2ef61d156 | ||||
| | | | | parent: 3:27eef8ed80b4 | ||||
| | | | | user: test | ||||
| | | | | date: Thu Jan 01 00:00:04 1970 +0000 | ||||
| | | | | summary: (4) merge two known; one immediate left, one immediate right | ||||
| | | | | | ||||
|
r13631 | |||
|
r12003 | Empty revision range - display nothing: | ||
$ hg glog -r 1..0 | ||||
From outer space: | ||||
$ cd .. | ||||
$ hg glog -l1 repo | ||||
@ changeset: 34:fea3ac5810e0 | ||||
| tag: tip | ||||
| parent: 32:d06dffa21a31 | ||||
| user: test | ||||
| date: Thu Jan 01 00:00:34 1970 +0000 | ||||
| summary: (34) head | ||||
| | ||||
$ hg glog -l1 repo/a | ||||
@ changeset: 34:fea3ac5810e0 | ||||
| tag: tip | ||||
| parent: 32:d06dffa21a31 | ||||
| user: test | ||||
| date: Thu Jan 01 00:00:34 1970 +0000 | ||||
| summary: (34) head | ||||
| | ||||
$ hg glog -l1 repo/missing | ||||
File log with revs != cset revs: | ||||
$ hg init flog | ||||
$ cd flog | ||||
$ echo one >one | ||||
$ hg add one | ||||
$ hg commit -mone | ||||
$ echo two >two | ||||
$ hg add two | ||||
$ hg commit -mtwo | ||||
$ echo more >two | ||||
$ hg commit -mmore | ||||
$ hg glog two | ||||
@ changeset: 2:12c28321755b | ||||
| tag: tip | ||||
| user: test | ||||
| date: Thu Jan 01 00:00:00 1970 +0000 | ||||
| summary: more | ||||
| | ||||
o changeset: 1:5ac72c0599bf | ||||
|
r14042 | | user: test | ||
| date: Thu Jan 01 00:00:00 1970 +0000 | ||||
| summary: two | ||||
| | ||||
|
r12003 | |||
|
r12399 | Issue1896: File log with explicit style | ||
|
r12003 | $ hg glog --style=default one | ||
o changeset: 0:3d578b4a1f53 | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: one | ||||
|
r12579 | Issue2395: glog --style header and footer | ||
$ hg glog --style=xml one | ||||
<?xml version="1.0"?> | ||||
<log> | ||||
o <logentry revision="0" node="3d578b4a1f537d5fcf7301bfa9c0b97adfaa6fb1"> | ||||
<author email="test">test</author> | ||||
<date>1970-01-01T00:00:00+00:00</date> | ||||
<msg xml:space="preserve">one</msg> | ||||
</logentry> | ||||
</log> | ||||
|
r12003 | $ cd .. | ||
Incoming and outgoing: | ||||
$ hg clone -U -r31 repo repo2 | ||||
adding changesets | ||||
adding manifests | ||||
adding file changes | ||||
added 31 changesets with 31 changes to 1 files | ||||
$ cd repo2 | ||||
$ hg incoming --graph ../repo | ||||
comparing with ../repo | ||||
searching for changes | ||||
o changeset: 34:fea3ac5810e0 | ||||
| tag: tip | ||||
| parent: 32:d06dffa21a31 | ||||
| user: test | ||||
| date: Thu Jan 01 00:00:34 1970 +0000 | ||||
| summary: (34) head | ||||
| | ||||
| o changeset: 33:68608f5145f9 | ||||
| parent: 18:1aa84d96232a | ||||
| user: test | ||||
| date: Thu Jan 01 00:00:33 1970 +0000 | ||||
| summary: (33) head | ||||
| | ||||
o changeset: 32:d06dffa21a31 | ||||
| parent: 27:886ed638191b | ||||
| parent: 31:621d83e11f67 | ||||
| user: test | ||||
| date: Thu Jan 01 00:00:32 1970 +0000 | ||||
| summary: (32) expand | ||||
| | ||||
o changeset: 27:886ed638191b | ||||
parent: 21:d42a756af44d | ||||
user: test | ||||
date: Thu Jan 01 00:00:27 1970 +0000 | ||||
summary: (27) collapse | ||||
$ cd .. | ||||
$ hg -R repo outgoing --graph repo2 | ||||
comparing with repo2 | ||||
searching for changes | ||||
@ changeset: 34:fea3ac5810e0 | ||||
| tag: tip | ||||
| parent: 32:d06dffa21a31 | ||||
| user: test | ||||
| date: Thu Jan 01 00:00:34 1970 +0000 | ||||
| summary: (34) head | ||||
| | ||||
| o changeset: 33:68608f5145f9 | ||||
| parent: 18:1aa84d96232a | ||||
| user: test | ||||
| date: Thu Jan 01 00:00:33 1970 +0000 | ||||
| summary: (33) head | ||||
| | ||||
o changeset: 32:d06dffa21a31 | ||||
| parent: 27:886ed638191b | ||||
| parent: 31:621d83e11f67 | ||||
| user: test | ||||
| date: Thu Jan 01 00:00:32 1970 +0000 | ||||
| summary: (32) expand | ||||
| | ||||
o changeset: 27:886ed638191b | ||||
parent: 21:d42a756af44d | ||||
user: test | ||||
date: Thu Jan 01 00:00:27 1970 +0000 | ||||
summary: (27) collapse | ||||
File + limit with revs != cset revs: | ||||
$ cd repo | ||||
$ touch b | ||||
$ hg ci -Aqm0 | ||||
$ hg glog -l2 a | ||||
o changeset: 34:fea3ac5810e0 | ||||
| parent: 32:d06dffa21a31 | ||||
| user: test | ||||
| date: Thu Jan 01 00:00:34 1970 +0000 | ||||
| summary: (34) head | ||||
| | ||||
| o changeset: 33:68608f5145f9 | ||||
| | parent: 18:1aa84d96232a | ||||
| | user: test | ||||
| | date: Thu Jan 01 00:00:33 1970 +0000 | ||||
| | summary: (33) head | ||||
| | | ||||
File + limit + -ra:b, (b - a) < limit: | ||||
$ hg glog -l3000 -r32:tip a | ||||
o changeset: 34:fea3ac5810e0 | ||||
| parent: 32:d06dffa21a31 | ||||
| user: test | ||||
| date: Thu Jan 01 00:00:34 1970 +0000 | ||||
| summary: (34) head | ||||
| | ||||
| o changeset: 33:68608f5145f9 | ||||
| | parent: 18:1aa84d96232a | ||||
| | user: test | ||||
| | date: Thu Jan 01 00:00:33 1970 +0000 | ||||
| | summary: (33) head | ||||
| | | ||||
o | changeset: 32:d06dffa21a31 | ||||
|\ \ parent: 27:886ed638191b | ||||
| | | parent: 31:621d83e11f67 | ||||
| | | user: test | ||||
| | | date: Thu Jan 01 00:00:32 1970 +0000 | ||||
| | | summary: (32) expand | ||||
| | | | ||||
|
r14043 | Point out a common and an uncommon unshown parent | ||
$ hg glog -r 'rev(8) or rev(9)' | ||||
o changeset: 9:7010c0af0a35 | ||||
|\ parent: 7:b632bb1b1224 | ||||
| | parent: 8:7a0b11f71937 | ||||
| | user: test | ||||
| | date: Thu Jan 01 00:00:09 1970 +0000 | ||||
| | summary: (9) expand | ||||
| | | ||||
o | changeset: 8:7a0b11f71937 | ||||
|\| parent: 0:e6eb3150255d | ||||
| | parent: 7:b632bb1b1224 | ||||
| | user: test | ||||
| | date: Thu Jan 01 00:00:08 1970 +0000 | ||||
| | summary: (8) merge two known; one immediate left, one far right | ||||
| | | ||||
|
r12003 | File + limit + -ra:b, b < tip: | ||
|
r14043 | |||
|
r12003 | $ hg glog -l1 -r32:34 a | ||
o changeset: 34:fea3ac5810e0 | ||||
| parent: 32:d06dffa21a31 | ||||
| user: test | ||||
| date: Thu Jan 01 00:00:34 1970 +0000 | ||||
| summary: (34) head | ||||
| | ||||
|
r14043 | file(File) + limit + -ra:b, b < tip: | ||
$ hg glog -l1 -r32:34 -r 'file("a")' | ||||
|
r14133 | o changeset: 34:fea3ac5810e0 | ||
| parent: 32:d06dffa21a31 | ||||
| user: test | ||||
| date: Thu Jan 01 00:00:34 1970 +0000 | ||||
| summary: (34) head | ||||
| | ||||
|
r14043 | |||
limit(file(File) and a::b), b < tip: | ||||
$ hg glog -r 'limit(file("a") and 32::34, 1)' | ||||
o changeset: 32:d06dffa21a31 | ||||
|\ parent: 27:886ed638191b | ||||
| | parent: 31:621d83e11f67 | ||||
| | user: test | ||||
| | date: Thu Jan 01 00:00:32 1970 +0000 | ||||
| | summary: (32) expand | ||||
| | | ||||
File + limit + -ra:b, b < tip: | ||||
$ hg glog -r 'limit(file("a") and 34::32, 1)' | ||||
|
r12003 | File + limit + -ra:b, b < tip, (b - a) < limit: | ||
|
r14043 | |||
|
r12003 | $ hg glog -l10 -r33:34 a | ||
o changeset: 34:fea3ac5810e0 | ||||
| parent: 32:d06dffa21a31 | ||||
| user: test | ||||
| date: Thu Jan 01 00:00:34 1970 +0000 | ||||
| summary: (34) head | ||||
| | ||||
| o changeset: 33:68608f5145f9 | ||||
| | parent: 18:1aa84d96232a | ||||
| | user: test | ||||
| | date: Thu Jan 01 00:00:33 1970 +0000 | ||||
| | summary: (33) head | ||||
| | | ||||
|
r12951 | Do not crash or produce strange graphs if history is buggy | ||
|
r16149 | $ hg branch branch | ||
marked working directory as branch branch | ||||
(branches are permanent and global, did you want a bookmark?) | ||||
|
r12951 | $ commit 36 "buggy merge: identical parents" 35 35 | ||
$ hg glog -l5 | ||||
|
r16149 | @ changeset: 36:08a19a744424 | ||
| branch: branch | ||||
|
r12951 | | tag: tip | ||
| parent: 35:9159c3644c5e | ||||
| parent: 35:9159c3644c5e | ||||
| user: test | ||||
| date: Thu Jan 01 00:00:36 1970 +0000 | ||||
| summary: (36) buggy merge: identical parents | ||||
| | ||||
o changeset: 35:9159c3644c5e | ||||
| user: test | ||||
| date: Thu Jan 01 00:00:00 1970 +0000 | ||||
| summary: 0 | ||||
| | ||||
o changeset: 34:fea3ac5810e0 | ||||
| parent: 32:d06dffa21a31 | ||||
| user: test | ||||
| date: Thu Jan 01 00:00:34 1970 +0000 | ||||
| summary: (34) head | ||||
| | ||||
| o changeset: 33:68608f5145f9 | ||||
| | parent: 18:1aa84d96232a | ||||
| | user: test | ||||
| | date: Thu Jan 01 00:00:33 1970 +0000 | ||||
| | summary: (33) head | ||||
| | | ||||
o | changeset: 32:d06dffa21a31 | ||||
|\ \ parent: 27:886ed638191b | ||||
| | | parent: 31:621d83e11f67 | ||||
| | | user: test | ||||
| | | date: Thu Jan 01 00:00:32 1970 +0000 | ||||
| | | summary: (32) expand | ||||
| | | | ||||
|
r14081 | |||
Test log -G options | ||||
|
r16148 | $ testlog() { | ||
> hg log -G --print-revset "$@" | ||||
> hg log --template 'nodetag {rev}\n' "$@" | grep nodetag \ | ||||
> | sed 's/.*nodetag/nodetag/' > log.nodes | ||||
> hg log -G --template 'nodetag {rev}\n' "$@" | grep nodetag \ | ||||
> | sed 's/.*nodetag/nodetag/' > glog.nodes | ||||
> diff -u log.nodes glog.nodes | ||||
> } | ||||
$ testlog -u test -u not-a-user | ||||
('group', ('group', ('or', ('func', ('symbol', 'user'), ('string', 'test')), ('func', ('symbol', 'user'), ('string', 'not-a-user'))))) | ||||
|
r16149 | $ testlog -b not-a-branch | ||
('group', ('group', ('func', ('symbol', 'branch'), ('string', 'not-a-branch')))) | ||||
abort: unknown revision 'not-a-branch'! | ||||
abort: unknown revision 'not-a-branch'! | ||||
$ testlog -b default -b branch | ||||
('group', ('group', ('or', ('func', ('symbol', 'branch'), ('string', 'default')), ('func', ('symbol', 'branch'), ('string', 'branch'))))) | ||||
|
r16146 | $ hg log -G --print-revset -k 'something' -k 'nice' | ||
|
r16147 | ('group', ('group', ('and', ('func', ('symbol', 'keyword'), ('string', 'something')), ('func', ('symbol', 'keyword'), ('string', 'nice'))))) | ||
|
r14081 | $ hg log -G --only-branch 'something nice' | ||
abort: unknown revision 'something nice'! | ||||
[255] | ||||
$ hg log -G --include 'some file' --exclude 'another file' | ||||
|
r14082 | $ hg log -G --follow --template 'nodetag {rev}\n' | grep nodetag | wc -l | ||
\s*36 (re) | ||||
$ hg log -G --removed --template 'nodetag {rev}\n' | grep nodetag | wc -l | ||||
\s*0 (re) | ||||
$ hg log -G --only-merges --template 'nodetag {rev}\n' | grep nodetag | wc -l | ||||
\s*28 (re) | ||||
|
r14131 | $ hg log -G --no-merges --template 'nodetag {rev}\n' | ||
o nodetag 35 | ||||
| | ||||
o nodetag 34 | ||||
|\ | ||||
| \ | ||||
| |\ | ||||
| | \ | ||||
| | |\ | ||||
| | | \ | ||||
| | | |\ | ||||
| | | | \ | ||||
| | | | |\ | ||||
+-+-+-+-----o nodetag 33 | ||||
| | | | | | | ||||
+---------o nodetag 29 | ||||
| | | | | | ||||
+-+-+---o nodetag 27 | ||||
| | | |/ | ||||
| | | o nodetag 3 | ||||
| | |/ | ||||
| | o nodetag 2 | ||||
| |/ | ||||
| o nodetag 1 | ||||
|/ | ||||
o nodetag 0 | ||||
|
r14083 | $ hg log -G -d 'brace ) in a date' | ||
abort: invalid date: 'brace ) in a date' | ||||
[255] | ||||
|
r14084 | $ hg log -G -P 32 --template '{rev}\n' | ||
@ 36 | ||||
| | ||||
o 35 | ||||
| | ||||
o 34 | ||||
| | ||||
| o 33 | ||||
| | | ||||
|
r14086 | $ hg log -G --follow a | ||
abort: -G/--graph option is incompatible with --follow with file argument | ||||
[255] | ||||
|
r14132 | |||
Test multiple revision specifications are correctly handled | ||||
|
r14133 | $ hg log -G -r 27 -r 25 -r 21 -r 34 -r 32 -r 31 --template '{rev}\n' | ||
o 34 | ||||
| | ||||
o 32 | ||||
|
r14132 | |\ | ||
|
r14133 | | o 31 | ||
| |\ | ||||
o | | 27 | ||||
|/ / | ||||
| o 25 | ||||
|/ | ||||
o 21 | ||||
|\ | ||||