changeset 1719:98072468ffde

hook parameters must be strings.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Tue, 14 Feb 2006 15:37:27 -0800
parents c1996b84d4f5
children 55017891051b
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/localrepo.py	Tue Feb 14 15:28:06 2006 -0800
+++ b/mercurial/localrepo.py	Tue Feb 14 15:37:27 2006 -0800
@@ -55,7 +55,7 @@
             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