Show More
@@ -9,6 +9,8 b' cleanup_exit() {' | |||||
9 | exit $1 |
|
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 | case "${EDITOR:=vi}" in |
|
14 | case "${EDITOR:=vi}" in | |
13 | emacs) |
|
15 | emacs) | |
14 | EDITOR="$EDITOR -nw" |
|
16 | EDITOR="$EDITOR -nw" | |
@@ -44,7 +46,7 b' else' | |||||
44 | { |
|
46 | { | |
45 | head -n 1 "$T1" |
|
47 | head -n 1 "$T1" | |
46 | echo |
|
48 | echo | |
47 |
grep -v "^HG:" "$T1" | gpg -t -a -u "${HGUSER |
|
49 | grep -v "^HG:" "$T1" | gpg -t -a -u "${HGUSER}" --clearsign | |
48 | } > "$T2" && mv "$T2" "$1" |
|
50 | } > "$T2" && mv "$T2" "$1" | |
49 | cleanup_exit $? |
|
51 | cleanup_exit $? | |
50 | fi |
|
52 | fi |
General Comments 0
You need to be logged in to leave comments.
Login now