mercurial/bundlerepo.py
changeset 48946 642e31cb55f0
parent 48875 6000f5b25c9b
child 49753 ff7134e03629
child 49969 84680c003d44
equal deleted inserted replaced
48945:55d132525155 48946:642e31cb55f0
   268         for chunk in iter(lambda: cgunpacker.deltachunk(None), {}):
   268         for chunk in iter(lambda: cgunpacker.deltachunk(None), {}):
   269             pass
   269             pass
   270     return filespos
   270     return filespos
   271 
   271 
   272 
   272 
   273 class bundlerepository(object):
   273 class bundlerepository:
   274     """A repository instance that is a union of a local repo and a bundle.
   274     """A repository instance that is a union of a local repo and a bundle.
   275 
   275 
   276     Instances represent a read-only repository composed of a local repository
   276     Instances represent a read-only repository composed of a local repository
   277     with the contents of a bundle file applied. The repository instance is
   277     with the contents of a bundle file applied. The repository instance is
   278     conceptually similar to the state of a repository after an
   278     conceptually similar to the state of a repository after an
   548     bundlerepository.__init__(repo, bundlepath, url, tempparent)
   548     bundlerepository.__init__(repo, bundlepath, url, tempparent)
   549 
   549 
   550     return repo
   550     return repo
   551 
   551 
   552 
   552 
   553 class bundletransactionmanager(object):
   553 class bundletransactionmanager:
   554     def transaction(self):
   554     def transaction(self):
   555         return None
   555         return None
   556 
   556 
   557     def close(self):
   557     def close(self):
   558         raise NotImplementedError
   558         raise NotImplementedError