diff -r b3286a92f4bc -r 3d666e8e6398 mercurial/bundlerepo.py --- a/mercurial/bundlerepo.py Sun Feb 10 08:52:50 2008 +0100 +++ b/mercurial/bundlerepo.py Sun Feb 10 08:53:39 2008 +0100 @@ -154,8 +154,10 @@ def __init__(self, ui, path, bundlename): localrepo.localrepository.__init__(self, ui, path) - self._url = 'bundle:' + bundlename - if path: self._url += '+' + path + if path: + self._url = 'bundle:' + path + '+' + bundlename + else: + self._url = 'bundle:' + bundlename self.tempfile = None self.bundlefile = open(bundlename, "rb")