configure external editor a script

Uwe Brauer oub at mat.ucm.es
Wed Oct 19 13:37:37 UTC 2016


   > On 10/19/2016 06:14 AM, Uwe Brauer wrote:

   > Why does it matter? The commit message is going to end up your repo
   > when you save.

Because I want to include the content or parts of the content of the
ChangeLog file of the repo in the message. When the external editor
however opens a temporally file in /tmp it is *cumbersome* to type the
whole path in order to insert the ChangeLog.

Example

Editor opens in /tmp/hg-editor-7TdQ5e.txt

Now I want to insert

/home/oub/ALLES/LaTeX/Pub5/ChangeLog

That is not very comfortable to type. If the editor opened in the local
directory the repo (and the ChangeLog file) were, it would be much more convenient.




More information about the Mercurial mailing list