From 5886830fb5091139b9ab31e6db5e6eae538fcd9e Mon Sep 17 00:00:00 2001 From: Lukasz Kosewski Date: Sun, 10 Jan 2010 04:15:07 -0500 Subject: [PATCH] client.py: Windows files don't support ':', so rename cachedir. Cachedir was previously $host:$dir, and is now $host-$dir. --- client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.py b/client.py index c8e0818..6a373eb 100644 --- a/client.py +++ b/client.py @@ -40,7 +40,7 @@ class Client: (self.host, self.dir) = (host, dir) self.cachedir = git.repo('index-cache/%s' % re.sub(r'[^@:\w]', '_', - "%s:%s" % (host, dir))) + "%s-%s" % (host, dir))) try: self.p = p = Popen(argv, stdin=PIPE, stdout=PIPE, preexec_fn=fixenv) except OSError, e: -- 2.39.2