##// END OF EJS Templates
hgeditor: Remove EMAIL default for HGUSER, comment editor selection ...
Radoslaw "AstralStorm" Szkodzinski -
r666:0100a437 default
parent child Browse files
Show More
@@ -9,6 +9,8 b' cleanup_exit() {'
9 9 exit $1
10 10 }
11 11
12 # If you want to pass your favourite editor some other parameters
13 # only for Mercurial, modify this:
12 14 case "${EDITOR:=vi}" in
13 15 emacs)
14 16 EDITOR="$EDITOR -nw"
@@ -44,7 +46,7 b' else'
44 46 {
45 47 head -n 1 "$T1"
46 48 echo
47 grep -v "^HG:" "$T1" | gpg -t -a -u "${HGUSER:-$EMAIL}" --clearsign
49 grep -v "^HG:" "$T1" | gpg -t -a -u "${HGUSER}" --clearsign
48 50 } > "$T2" && mv "$T2" "$1"
49 51 cleanup_exit $?
50 52 fi
General Comments 0
You need to be logged in to leave comments. Login now