Mercurial > public > mercurial-scm > hg
diff mercurial/formatter.py @ 20605:a8aa699a812a
ui: edit(): rebase, graft: set HGREVISION environment variable for an editor
rebase and graft commands set 'rebase_source' or 'source' extras for the revision.
Allow an editor to access the extras using HGREVISION environment variable.
This may be useful when an editor is actually a script which modifies a commit
message.
The name 'HGREVISION' has been selected as transplant already sets this variable
for its filters (--filter).
author | Alexander Drozdov <al.drozdov@gmail.com> |
---|---|
date | Thu, 06 Feb 2014 12:21:20 +0400 |
parents | 3326fd05eb1f |
children | 1f72226064b8 |