Show More
@@ -336,7 +336,7 b' def showextras(**args):' | |||||
336 | c = [makemap(k) for k in extras] |
|
336 | c = [makemap(k) for k in extras] | |
337 | f = _showlist('extra', c, plural='extras', **args) |
|
337 | f = _showlist('extra', c, plural='extras', **args) | |
338 | return _hybrid(f, extras, makemap, |
|
338 | return _hybrid(f, extras, makemap, | |
339 | lambda x: '%s=%s' % (x['key'], x['value'])) |
|
339 | lambda x: '%s=%s' % (x['key'], util.escapestr(x['value']))) | |
340 |
|
340 | |||
341 | @templatekeyword('file_adds') |
|
341 | @templatekeyword('file_adds') | |
342 | def showfileadds(**args): |
|
342 | def showfileadds(**args): |
@@ -582,8 +582,7 b' The transplant case' | |||||
582 | 21: fbb6c5cc81002f2b4b49c9d731404688bcae5ade |
|
582 | 21: fbb6c5cc81002f2b4b49c9d731404688bcae5ade | |
583 | branch=dev |
|
583 | branch=dev | |
584 | convert_revision=7e61b508e709a11d28194a5359bc3532d910af21 |
|
584 | convert_revision=7e61b508e709a11d28194a5359bc3532d910af21 | |
585 |
transplant_source=z\xe8F\xe9\x11\x1f\xc8\xf5wEcBP\xc7\xb9\xac |
|
585 | transplant_source=z\xe8F\xe9\x11\x1f\xc8\xf5wEcBP\xc7\xb9\xac\n`h\x9b | |
586 | `h\x9b (esc) |
|
|||
587 | $ hg -R ../converted log -r 'origin(tip)' |
|
586 | $ hg -R ../converted log -r 'origin(tip)' | |
588 | changeset: 2:e0213322b2c1 |
|
587 | changeset: 2:e0213322b2c1 | |
589 | user: test |
|
588 | user: test |
@@ -94,6 +94,15 b' rebase b onto r1' | |||||
94 | 1 r2 |
|
94 | 1 r2 | |
95 | 0 r1 |
|
95 | 0 r1 | |
96 |
|
96 | |||
|
97 | test format of transplant_source | |||
|
98 | ||||
|
99 | $ hg log -r7 --debug | grep transplant_source | |||
|
100 | extra: transplant_source=\xa52Q\xcd\xf7\x17g\x9d\x19\x07\xb2\x89\xf9\x91SK\xe0\\\x99z | |||
|
101 | $ hg log -r7 -T '{extras}\n' | |||
|
102 | branch=defaulttransplant_source=\xa52Q\xcd\xf7\x17g\x9d\x19\x07\xb2\x89\xf9\x91SK\xe0\\\x99z | |||
|
103 | $ hg log -r7 -T '{join(extras, " ")}\n' | |||
|
104 | branch=default transplant_source=\xa52Q\xcd\xf7\x17g\x9d\x19\x07\xb2\x89\xf9\x91SK\xe0\\\x99z | |||
|
105 | ||||
97 | test transplanted revset |
|
106 | test transplanted revset | |
98 |
|
107 | |||
99 | $ hg log -r 'transplanted()' --template '{rev} {parents} {desc}\n' |
|
108 | $ hg log -r 'transplanted()' --template '{rev} {parents} {desc}\n' |
General Comments 0
You need to be logged in to leave comments.
Login now