##// END OF EJS Templates
Store empty (default) branch in branch cache, too....
Store empty (default) branch in branch cache, too. Operations on this branch don't work otherwise. Reading branches.cache had to be adjusted to allow an empty label. Adjusted reading of the cache tip for symmetry, no functional change here.

File last commit:

r4167:4574a8cb default
r4167:4574a8cb default
Show More
test-log.out
219 lines | 4.4 KiB | text/plain | TextLexer
Vadim Gelfer
log: add -f/--follow option, to follow rename/copy
r2741 adding a
changeset: 0:8580ff50825a
user: test
date: Thu Jan 01 00:00:01 1970 +0000
summary: a
% -f, directory
abort: can only follow copies/renames for explicit file names
% -f, but no args
Matt Mackall
Fix log regression where log -p file showed diffs for other files
r3837 changeset: 4:b30c444c7c84
Vadim Gelfer
log: add -f/--follow option, to follow rename/copy
r2741 tag: tip
user: test
date: Thu Jan 01 00:00:05 1970 +0000
summary: e
Matt Mackall
Fix log regression where log -p file showed diffs for other files
r3837 changeset: 3:16b60bf3f99a
Vadim Gelfer
log: add -f/--follow option, to follow rename/copy
r2741 user: test
date: Thu Jan 01 00:00:04 1970 +0000
summary: d
changeset: 2:21fba396af4c
user: test
date: Thu Jan 01 00:00:03 1970 +0000
summary: c
changeset: 1:c0296dabce9b
user: test
date: Thu Jan 01 00:00:02 1970 +0000
summary: b
changeset: 0:8580ff50825a
user: test
date: Thu Jan 01 00:00:01 1970 +0000
summary: a
% one rename
Matt Mackall
Only show long hashes with --debug, not --verbose
r2966 changeset: 0:8580ff50825a
Vadim Gelfer
log: add -f/--follow option, to follow rename/copy
r2741 user: test
date: Thu Jan 01 00:00:01 1970 +0000
files: a
description:
a
% many renames
Matt Mackall
Fix log regression where log -p file showed diffs for other files
r3837 changeset: 4:b30c444c7c84
Vadim Gelfer
log: add -f/--follow option, to follow rename/copy
r2741 tag: tip
user: test
date: Thu Jan 01 00:00:05 1970 +0000
files: dir/b e
description:
e
Matt Mackall
Only show long hashes with --debug, not --verbose
r2966 changeset: 2:21fba396af4c
Vadim Gelfer
log: add -f/--follow option, to follow rename/copy
r2741 user: test
date: Thu Jan 01 00:00:03 1970 +0000
files: b dir/b
description:
c
Matt Mackall
Only show long hashes with --debug, not --verbose
r2966 changeset: 1:c0296dabce9b
Vadim Gelfer
log: add -f/--follow option, to follow rename/copy
r2741 user: test
date: Thu Jan 01 00:00:02 1970 +0000
files: b
description:
b
Matt Mackall
Only show long hashes with --debug, not --verbose
r2966 changeset: 0:8580ff50825a
Vadim Gelfer
log: add -f/--follow option, to follow rename/copy
r2741 user: test
date: Thu Jan 01 00:00:01 1970 +0000
files: a
description:
a
Brendan Cully
Show copies in hg log....
r3197 % log copies
4 e (dir/b)
3 b (a)
2 dir/b (b)
1 b (a)
0
Brendan Cully
Test case for log --copies on non-linear manifests (issue391)
r3383 % log copies, non-linear manifest
1 files updated, 0 files merged, 1 files removed, 0 files unresolved
adding foo
5 e (dir/b)
Matt Mackall
Fix log regression where log -p file showed diffs for other files
r3837 % log -p d
changeset: 3:16b60bf3f99a
user: test
date: Thu Jan 01 00:00:04 1970 +0000
files: a b d
description:
d
diff -r 21fba396af4c -r 16b60bf3f99a d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/d Thu Jan 01 00:00:04 1970 +0000
@@ -0,0 +1,1 @@
+a
Brendan Cully
Test suite for log --follow and --follow-first.
r2785 adding base
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
adding b1
% log -f
Thomas Arendsen Hein
Store empty (default) branch in branch cache, too....
r4167 changeset: 3:07a62f044f0d
branch: dummy
Brendan Cully
Test suite for log --follow and --follow-first.
r2785 tag: tip
Thomas Arendsen Hein
Store empty (default) branch in branch cache, too....
r4167 parent: 1:fb3d4e35b279
Brendan Cully
Test suite for log --follow and --follow-first.
r2785 user: test
date: Thu Jan 01 00:00:01 1970 +0000
summary: b1
Thomas Arendsen Hein
Store empty (default) branch in branch cache, too....
r4167 changeset: 1:fb3d4e35b279
branch: dummy
Brendan Cully
Test suite for log --follow and --follow-first.
r2785 user: test
date: Thu Jan 01 00:00:01 1970 +0000
summary: r1
Thomas Arendsen Hein
Store empty (default) branch in branch cache, too....
r4167 changeset: 0:ea445bfed6b9
branch: dummy
Brendan Cully
Test suite for log --follow and --follow-first.
r2785 user: test
date: Thu Jan 01 00:00:01 1970 +0000
summary: base
1 files updated, 0 files merged, 1 files removed, 0 files unresolved
adding b2
% log -f -r 1:tip
Thomas Arendsen Hein
Store empty (default) branch in branch cache, too....
r4167 changeset: 1:fb3d4e35b279
branch: dummy
Brendan Cully
Test suite for log --follow and --follow-first.
r2785 user: test
date: Thu Jan 01 00:00:01 1970 +0000
summary: r1
Thomas Arendsen Hein
Store empty (default) branch in branch cache, too....
r4167 changeset: 2:e8882cbc828c
branch: dummy
Brendan Cully
Test suite for log --follow and --follow-first.
r2785 user: test
date: Thu Jan 01 00:00:01 1970 +0000
summary: r2
Thomas Arendsen Hein
Store empty (default) branch in branch cache, too....
r4167 changeset: 3:07a62f044f0d
branch: dummy
parent: 1:fb3d4e35b279
Brendan Cully
Test suite for log --follow and --follow-first.
r2785 user: test
date: Thu Jan 01 00:00:01 1970 +0000
summary: b1
2 files updated, 0 files merged, 1 files removed, 0 files unresolved
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
(branch merge, don't forget to commit)
% log --follow-first
Thomas Arendsen Hein
Store empty (default) branch in branch cache, too....
r4167 changeset: 6:0f621dafa603
branch: dummy
Brendan Cully
Test suite for log --follow and --follow-first.
r2785 tag: tip
user: test
date: Thu Jan 01 00:00:01 1970 +0000
summary: b1.1
Thomas Arendsen Hein
Store empty (default) branch in branch cache, too....
r4167 changeset: 5:0cf53fb6dfd5
branch: dummy
parent: 3:07a62f044f0d
parent: 4:b76598590bc3
Brendan Cully
Test suite for log --follow and --follow-first.
r2785 user: test
date: Thu Jan 01 00:00:01 1970 +0000
summary: m12
Thomas Arendsen Hein
Store empty (default) branch in branch cache, too....
r4167 changeset: 3:07a62f044f0d
branch: dummy
parent: 1:fb3d4e35b279
Brendan Cully
Test suite for log --follow and --follow-first.
r2785 user: test
date: Thu Jan 01 00:00:01 1970 +0000
summary: b1
Thomas Arendsen Hein
Store empty (default) branch in branch cache, too....
r4167 changeset: 1:fb3d4e35b279
branch: dummy
Brendan Cully
Test suite for log --follow and --follow-first.
r2785 user: test
date: Thu Jan 01 00:00:01 1970 +0000
summary: r1
Thomas Arendsen Hein
Store empty (default) branch in branch cache, too....
r4167 changeset: 0:ea445bfed6b9
branch: dummy
Brendan Cully
Test suite for log --follow and --follow-first.
r2785 user: test
date: Thu Jan 01 00:00:01 1970 +0000
summary: base
Brendan Cully
Test for log --prune.
r2901 % log -P 2
Thomas Arendsen Hein
Store empty (default) branch in branch cache, too....
r4167 changeset: 6:0f621dafa603
branch: dummy
Brendan Cully
Test for log --prune.
r2901 tag: tip
user: test
date: Thu Jan 01 00:00:01 1970 +0000
summary: b1.1
Thomas Arendsen Hein
Store empty (default) branch in branch cache, too....
r4167 changeset: 5:0cf53fb6dfd5
branch: dummy
parent: 3:07a62f044f0d
parent: 4:b76598590bc3
Brendan Cully
Test for log --prune.
r2901 user: test
date: Thu Jan 01 00:00:01 1970 +0000
summary: m12
Thomas Arendsen Hein
Store empty (default) branch in branch cache, too....
r4167 changeset: 4:b76598590bc3
branch: dummy
parent: 0:ea445bfed6b9
Brendan Cully
Test for log --prune.
r2901 user: test
date: Thu Jan 01 00:00:01 1970 +0000
summary: b2
Thomas Arendsen Hein
Store empty (default) branch in branch cache, too....
r4167 changeset: 3:07a62f044f0d
branch: dummy
parent: 1:fb3d4e35b279
Brendan Cully
Test for log --prune.
r2901 user: test
date: Thu Jan 01 00:00:01 1970 +0000
summary: b1
Alexis S. L. Carvalho
fix hg log -r ''
r3718 % log -r ""
abort: Ambiguous identifier!