[jhbuild] [hg] pass proper string as hint parameter



commit f48f7421a18b7c863d69734028c264af9a157eda
Author: Frédéric Péters <fpeters 0d be>
Date:   Fri Jun 26 17:50:07 2009 +0200

    [hg] pass proper string as hint parameter

 jhbuild/versioncontrol/hg.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/versioncontrol/hg.py b/jhbuild/versioncontrol/hg.py
index a297d27..72d5df8 100644
--- a/jhbuild/versioncontrol/hg.py
+++ b/jhbuild/versioncontrol/hg.py
@@ -94,7 +94,7 @@ class HgBranch(Branch):
         else:
             hg_update_path = os.path.join(PKGDATADIR, 'hg-update.py')
         hg_update_path = os.path.normpath(hg_update_path)
-        buildscript.execute([hg_update_path], hg_update, cwd=self.srcdir)
+        buildscript.execute([hg_update_path], 'hg', cwd=self.srcdir)
 
     def checkout(self, buildscript):
         if not inpath('hg', os.environ['PATH'].split(os.pathsep)):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]