mercurial/bundlerepo.py
branchstable
changeset 16195 40cc20042fb4
parent 16042 4b7aa1c899dc
child 16375 d7d64b89a65c
equal deleted inserted replaced
16194:6ba530122d8b 16195:40cc20042fb4
   166             localrepo.localrepository.__init__(self, ui, path)
   166             localrepo.localrepository.__init__(self, ui, path)
   167         except error.RepoError:
   167         except error.RepoError:
   168             self._tempparent = tempfile.mkdtemp()
   168             self._tempparent = tempfile.mkdtemp()
   169             localrepo.instance(ui, self._tempparent, 1)
   169             localrepo.instance(ui, self._tempparent, 1)
   170             localrepo.localrepository.__init__(self, ui, self._tempparent)
   170             localrepo.localrepository.__init__(self, ui, self._tempparent)
       
   171         self.ui.setconfig('phases', 'publish', False)
   171 
   172 
   172         if path:
   173         if path:
   173             self._url = 'bundle:' + util.expandpath(path) + '+' + bundlename
   174             self._url = 'bundle:' + util.expandpath(path) + '+' + bundlename
   174         else:
   175         else:
   175             self._url = 'bundle:' + bundlename
   176             self._url = 'bundle:' + bundlename