Show More
@@ -496,7 +496,7 b' def revrange(repo, revs):' | |||||
496 | start, end = spec.split(_revrangesep, 1) |
|
496 | start, end = spec.split(_revrangesep, 1) | |
497 | start = revfix(repo, start, 0) |
|
497 | start = revfix(repo, start, 0) | |
498 | end = revfix(repo, end, len(repo) - 1) |
|
498 | end = revfix(repo, end, len(repo) - 1) | |
499 |
if end == nullrev and start < |
|
499 | if end == nullrev and start < 0: | |
500 | start = nullrev |
|
500 | start = nullrev | |
501 | rangeiter = repo.changelog.revs(start, end) |
|
501 | rangeiter = repo.changelog.revs(start, end) | |
502 | if not seen and not l: |
|
502 | if not seen and not l: |
@@ -2111,6 +2111,11 b' The almost-empty template should do some' | |||||
2111 | issue3772 |
|
2111 | issue3772 | |
2112 |
|
2112 | |||
2113 | $ hg log -G -r :null |
|
2113 | $ hg log -G -r :null | |
|
2114 | o changeset: 0:f8035bb17114 | |||
|
2115 | | user: test | |||
|
2116 | | date: Thu Jan 01 00:00:00 1970 +0000 | |||
|
2117 | | summary: add a | |||
|
2118 | | | |||
2114 | o changeset: -1:000000000000 |
|
2119 | o changeset: -1:000000000000 | |
2115 | user: |
|
2120 | user: | |
2116 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
2121 | date: Thu Jan 01 00:00:00 1970 +0000 |
@@ -1356,6 +1356,12 b' test hg log on non-existent files and on' | |||||
1356 | issue3772: hg log -r :null showing revision 0 as well |
|
1356 | issue3772: hg log -r :null showing revision 0 as well | |
1357 |
|
1357 | |||
1358 | $ hg log -r :null |
|
1358 | $ hg log -r :null | |
|
1359 | changeset: 0:65624cd9070a | |||
|
1360 | tag: tip | |||
|
1361 | user: test | |||
|
1362 | date: Thu Jan 01 00:00:00 1970 +0000 | |||
|
1363 | summary: a bunch of weird directories | |||
|
1364 | ||||
1359 | changeset: -1:000000000000 |
|
1365 | changeset: -1:000000000000 | |
1360 | user: |
|
1366 | user: | |
1361 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
1367 | date: Thu Jan 01 00:00:00 1970 +0000 |
General Comments 0
You need to be logged in to leave comments.
Login now