mercurial/localrepo.py
changeset 22908 71570f310417
parent 22907 a337f4b9b99d
child 22909 4545c5b53013
equal deleted inserted replaced
22907:a337f4b9b99d 22908:71570f310417
  1375     def commitctx(self, ctx, error=False):
  1375     def commitctx(self, ctx, error=False):
  1376         """Add a new revision to current repository.
  1376         """Add a new revision to current repository.
  1377         Revision information is passed via the context argument.
  1377         Revision information is passed via the context argument.
  1378         """
  1378         """
  1379 
  1379 
  1380         tr = lock = None
  1380         tr = None
  1381         p1, p2 = ctx.p1(), ctx.p2()
  1381         p1, p2 = ctx.p1(), ctx.p2()
  1382         user = ctx.user()
  1382         user = ctx.user()
  1383 
  1383 
  1384         lock = self.lock()
  1384         lock = self.lock()
  1385         try:
  1385         try: