Show More
@@ -8,6 +8,7 b'' | |||||
8 | from i18n import _ |
|
8 | from i18n import _ | |
9 | import errno, getpass, os, socket, sys, tempfile, traceback |
|
9 | import errno, getpass, os, socket, sys, tempfile, traceback | |
10 | import config, scmutil, util, error, formatter |
|
10 | import config, scmutil, util, error, formatter | |
|
11 | from node import hex | |||
11 |
|
12 | |||
12 | class ui(object): |
|
13 | class ui(object): | |
13 | def __init__(self, src=None): |
|
14 | def __init__(self, src=None): | |
@@ -723,6 +724,8 b' class ui(object):' | |||||
723 | f.close() |
|
724 | f.close() | |
724 |
|
725 | |||
725 | environ = {'HGUSER': user} |
|
726 | environ = {'HGUSER': user} | |
|
727 | if 'transplant_source' in extra: | |||
|
728 | environ.update({'HGREVISION': hex(extra['transplant_source'])}) | |||
726 | for label in ('source', 'rebase_source'): |
|
729 | for label in ('source', 'rebase_source'): | |
727 | if label in extra: |
|
730 | if label in extra: | |
728 | environ.update({'HGREVISION': extra[label]}) |
|
731 | environ.update({'HGREVISION': extra[label]}) |
General Comments 0
You need to be logged in to leave comments.
Login now