Show More
@@ -492,7 +492,7 b' def showrevslist(name, revs, **args):' | |||
|
492 | 492 | repo = args['ctx'].repo() |
|
493 | 493 | f = _showlist(name, revs, **args) |
|
494 | 494 | return _hybrid(f, revs, |
|
495 | lambda x: {name: x, 'ctx': repo[x], 'revcache': {}}) | |
|
495 | lambda x: {name: x, 'ctx': repo[int(x)], 'revcache': {}}) | |
|
496 | 496 | |
|
497 | 497 | def showsubrepos(**args): |
|
498 | 498 | """:subrepos: List of strings. Updated subrepositories in the changeset.""" |
@@ -3310,6 +3310,13 b' Test revset function' | |||
|
3310 | 3310 | 0 a |
|
3311 | 3311 | p |
|
3312 | 3312 | |
|
3313 | a revset item must be evaluated as an integer revision, not an offset from tip | |
|
3314 | ||
|
3315 | $ hg log -l 1 -T '{revset("null") % "{rev}:{node|short}"}\n' | |
|
3316 | -1:000000000000 | |
|
3317 | $ hg log -l 1 -T '{revset("%s", "null") % "{rev}:{node|short}"}\n' | |
|
3318 | -1:000000000000 | |
|
3319 | ||
|
3313 | 3320 | Test active bookmark templating |
|
3314 | 3321 | |
|
3315 | 3322 | $ hg book foo |
General Comments 0
You need to be logged in to leave comments.
Login now