equal
deleted
inserted
replaced
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 |