diff -r e0e28e910fa3 -r 28d76bc069db mercurial/ui.py --- a/mercurial/ui.py Thu Apr 09 16:25:48 2015 -0400 +++ b/mercurial/ui.py Fri Apr 10 08:05:50 2015 +0300 @@ -809,7 +809,7 @@ environ = {'HGUSER': user} if 'transplant_source' in extra: environ.update({'HGREVISION': hex(extra['transplant_source'])}) - for label in ('source', 'rebase_source'): + for label in ('intermediate-source', 'source', 'rebase_source'): if label in extra: environ.update({'HGREVISION': extra[label]}) break