diff 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
line wrap: on
line diff
--- a/hgeditor	Tue Feb 07 23:01:11 2006 -0600
+++ b/hgeditor	Thu Feb 09 07:01:23 2006 +0100
@@ -34,7 +34,6 @@
 }
 
 (
-    cd "`hg root`"
     grep '^HG: changed' "$1" | cut -b 13- | while read changed; do
         hg diff "$changed" >> "$HGTMP/diff"
     done