changeset 6129 | 3d666e8e6398 |
parent 5664 | da72b4d24797 |
child 6211 | f89fd07fc51d |
--- 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")