[issue2124] hgeditor does not close the diff window when :wq'ing the commit message window (patch included)

Itamar Ravid bugs at mercurial.selenic.com
Fri Apr 2 22:52:14 UTC 2010


New submission from Itamar Ravid <iravid at iravid.com>:

Hi guys, currently, using hgeditor with vim nicely opens up a split window 
with the diff. The only thing is, it doesn't automatically close it when you 
:wq, requiring you to repeat that last command.

This patch fixes that up nicely, with the vim arguments shamelessly stolen 
from the wiki. I know hgeditor is meant to be customized by users, but this 
is rather default functionality which any vim user would like, I think. Would 
be happy to see it included!

----------
files: hgeditor_treat_diff_window_as_help.patch
messages: 12210
nosy: iravid
priority: feature
status: unread
title: hgeditor does not close the diff window when :wq'ing the commit message window (patch included)

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2124>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hgeditor_treat_diff_window_as_help.patch
Type: text/x-patch
Size: 1551 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100402/baa1f6fb/attachment.bin>


More information about the Mercurial-devel mailing list