repoapi.py
changeset 9053 862040061173
parent 9052 4cba5f2cd57b
child 9054 d7e78645dab6
equal deleted inserted replaced
9052:4cba5f2cd57b 9053:862040061173
   285         # Connection yet so we use this trick to unsure the session have the
   285         # Connection yet so we use this trick to unsure the session have the
   286         # proper cnx loaded. This can be simplified one we have Standalone
   286         # proper cnx loaded. This can be simplified one we have Standalone
   287         # Connection object
   287         # Connection object
   288         with self._srv_cnx as cnx:
   288         with self._srv_cnx as cnx:
   289             return cnx.repo.system_source.undo_transaction(cnx, txuuid)
   289             return cnx.repo.system_source.undo_transaction(cnx, txuuid)
       
   290 
       
   291     def request(self):
       
   292         # XXX This is DBAPI compatibility method. Deprecate it ASAP.
       
   293         return self