changeset 5315:121f961b358c

statichttprepo: fix calls on '/' URI (issue 747)
author Paul Bx <pb@e-scribe.com>
date Sat, 22 Sep 2007 18:37:35 +0200
parents 5b0b0834419c
children 598dae804a5f
files mercurial/statichttprepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/statichttprepo.py	Fri Sep 14 22:47:15 2007 +0200
+++ b/mercurial/statichttprepo.py	Sat Sep 22 18:37:35 2007 +0200
@@ -33,7 +33,7 @@
         self._url = path
         self.ui = ui
 
-        self.path = (path + "/.hg")
+        self.path = path.rstrip('/') + "/.hg"
         self.opener = opener(self.path)
         # find requirements
         try: