hook parameters must be strings.
authorVadim Gelfer <vadim.gelfer@gmail.com>
Tue, 14 Feb 2006 15:37:27 -0800
changeset 1719 98072468ffde
parent 1718 c1996b84d4f5
child 1720 55017891051b
hook parameters must be strings.
mercurial/localrepo.py
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -55,7 +55,7 @@ class localrepository(object):
             for k, v in args.items():
                 k = k.upper()
                 old[k] = os.environ.get(k, None)
-                os.environ[k] = v
+                os.environ[k] = str(v)
 
             try:
                 # Hooks run in the repository root