Mercurial > public > mercurial-scm > hg-stable
diff mercurial/statichttprepo.py @ 6988:907e4e9bd3c4
Fix for Issue1260
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Sun, 31 Aug 2008 00:22:20 +0200 |
parents | faea0d27e38f |
children | 7739b61897df |
line wrap: on
line diff
--- a/mercurial/statichttprepo.py Fri Sep 05 10:39:57 2008 +0200 +++ b/mercurial/statichttprepo.py Sun Aug 31 00:22:20 2008 +0200 @@ -54,7 +54,9 @@ raise repo.RepoError(_("requirement '%s' not supported") % r) # setup store - self.store = store.store(requirements, self.path, opener) + def pjoin(a, b): + return a + '/' + b + self.store = store.store(requirements, self.path, opener, pjoin) self.spath = self.store.path self.sopener = self.store.opener self.sjoin = self.store.join