Mercurial commit annotations

Asked by Yousry Abdallah

If I add following line to .hgrc

editor = scribes

I get following error:

/tmp/hg-editor-wn5jfe.txt does not exists

is there a working solution for this problem?

Question information

Language:
English Edit question
Status:
Solved
For:
Scribes Edit question
Assignee:
No assignee Edit question
Solved by:
Yousry Abdallah
Solved:
Last query:
Last reply:
Revision history for this message
Mystilleef (mystilleef) said :
#1

Scribes creates new files that do not exist when you add the -n flag at the command line.

Revision history for this message
Yousry Abdallah (yousry-abdallah) said :
#2

To use scribes for hg commit annotations, an option like -w(ait) would be necessary. Otherwise scribes immediately returns the shell and mercurial cancels the commit because of an empty textfile.

However it is much faster to use the -m "message" option.

Revision history for this message
Mystilleef (mystilleef) said :
#3

There's an option in the advanced configuration dialog that prevents scribes from forking when launched from the shell terminal.

Revision history for this message
Yousry Abdallah (yousry-abdallah) said :
#4

Disabling the process forking solves my problem.
Thanks!