# HG changeset patch # User Paul Bx # Date 1190479055 -7200 # Node ID 121f961b358c55d2d17a20702f9d956c757faa27 # Parent 5b0b0834419c042cfad3185bf4d9c00ca89b319a statichttprepo: fix calls on '/' URI (issue 747) diff -r 5b0b0834419c -r 121f961b358c mercurial/statichttprepo.py --- 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: