configure external editor a script
Adrian Klaver
adrian.klaver at aklaver.com
Wed Oct 19 13:18:09 UTC 2016
On 10/19/2016 06:14 AM, Uwe Brauer wrote:
> Hi
>
> Following
> https://stackoverflow.com/questions/4291826/how-do-i-customize-the-commit-message-file-generated-by-hg-commit
> I tried the following
>
> editor = /home/oub/scripts/hg-commit-editor
>
> With
>
> #!/bin/sh
> hg status --unknown | sed -e 's|^|HG: |' >> $1
> /opt/emacs25/bin/emacsclient $1
>
> Still the file for the commit message is opened in /tmp not in the local
> repo directory.
>
> Any comments?
Why does it matter? The commit message is going to end up your repo when
you save.
>
> Uwe Brauer
>
--
Adrian Klaver
adrian.klaver at aklaver.com
More information about the Mercurial
mailing list