diff mercurial/statichttprepo.py @ 5313: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 63b9d2deed48
children 639935f2e63a
line wrap: on
line diff
--- a/mercurial/statichttprepo.py
+++ b/mercurial/statichttprepo.py
@@ -33,7 +33,7 @@ class statichttprepository(localrepo.loc
         self._url = path
         self.ui = ui
 
-        self.path = (path + "/.hg")
+        self.path = path.rstrip('/') + "/.hg"
         self.opener = opener(self.path)
         # find requirements
         try: