mercurial/bundlerepo.py
changeset 39565 089fc0db0954
parent 39271 0d97530eb535
child 39618 2d2bbf3f3e09
equal deleted inserted replaced
39564:7ce9dea3a14a 39565:089fc0db0954
   447             self.ui.warn(msg % nodemod.hex(p1))
   447             self.ui.warn(msg % nodemod.hex(p1))
   448         if self.changelog.repotiprev < p2rev:
   448         if self.changelog.repotiprev < p2rev:
   449             self.ui.warn(msg % nodemod.hex(p2))
   449             self.ui.warn(msg % nodemod.hex(p2))
   450         return super(bundlerepository, self).setparents(p1, p2)
   450         return super(bundlerepository, self).setparents(p1, p2)
   451 
   451 
   452 def instance(ui, path, create, intents=None):
   452 def instance(ui, path, create, intents=None, createopts=None):
   453     if create:
   453     if create:
   454         raise error.Abort(_('cannot create new bundle repository'))
   454         raise error.Abort(_('cannot create new bundle repository'))
   455     # internal config: bundle.mainreporoot
   455     # internal config: bundle.mainreporoot
   456     parentpath = ui.config("bundle", "mainreporoot")
   456     parentpath = ui.config("bundle", "mainreporoot")
   457     if not parentpath:
   457     if not parentpath: