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