comparison mercurial/strutil.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 25e572394f5c
children b723f05ec49b
comparison
equal deleted inserted replaced
20604:4991cfc90f59 20605:a8aa699a812a