mercurial/localrepo.py
changeset 2288 dfa17bd1d45e
parent 2269 8cb77698f5fd
child 2301 7c2623aedeb4
--- a/mercurial/localrepo.py	Mon May 15 08:53:32 2006 -0700
+++ b/mercurial/localrepo.py	Mon May 15 09:13:00 2006 -0700
@@ -136,8 +136,7 @@
 
         def runhook(name, cmd):
             self.ui.note(_("running hook %s: %s\n") % (name, cmd))
-            env = dict([('HG_' + k.upper(), v) for k, v in args.iteritems()] +
-                       [(k.upper(), v) for k, v in args.iteritems()])
+            env = dict([('HG_' + k.upper(), v) for k, v in args.iteritems()])
             r = util.system(cmd, environ=env, cwd=self.root)
             if r:
                 desc, r = util.explain_exit(r)