mercurial/exchange.py
changeset 23543 4dd8a6a1240d
parent 23439 743736fc7c41
child 23591 414374cfb531
equal deleted inserted replaced
23542:8b5adc6b72ae 23543:4dd8a6a1240d
   822     def gettransaction(self):
   822     def gettransaction(self):
   823         # deprecated; talk to trmanager directly
   823         # deprecated; talk to trmanager directly
   824         return self.trmanager.transaction()
   824         return self.trmanager.transaction()
   825 
   825 
   826 class transactionmanager(object):
   826 class transactionmanager(object):
   827     """An object to manages the lifecycle of a transaction
   827     """An object to manage the life cycle of a transaction
   828 
   828 
   829     It creates the transaction on demand and calls the appropriate hooks when
   829     It creates the transaction on demand and calls the appropriate hooks when
   830     closing the transaction."""
   830     closing the transaction."""
   831     def __init__(self, repo, source, url):
   831     def __init__(self, repo, source, url):
   832         self.repo = repo
   832         self.repo = repo