comparison hgeditor @ 1706:20b621154e17

Run commit message editor in the repo root (like hooks). This makes the hgeditor script work with hg commit -R path/to/repo
author Thomas Arendsen Hein <thomas@intevation.de>
date Thu, 09 Feb 2006 07:01:23 +0100
parents f93fde8f5027
children
comparison
equal deleted inserted replaced
1705:4b5725a4a0a6 1706:20b621154e17
32 echo "Could not create temporary directory! Exiting." 1>&2 32 echo "Could not create temporary directory! Exiting." 1>&2
33 exit 1 33 exit 1
34 } 34 }
35 35
36 ( 36 (
37 cd "`hg root`"
38 grep '^HG: changed' "$1" | cut -b 13- | while read changed; do 37 grep '^HG: changed' "$1" | cut -b 13- | while read changed; do
39 hg diff "$changed" >> "$HGTMP/diff" 38 hg diff "$changed" >> "$HGTMP/diff"
40 done 39 done
41 ) 40 )
42 41