Show More
@@ -63,6 +63,7 b' def commitctx(repo, ctx, error=False, or' | |||
|
63 | 63 | p1, p2 = ctx.p1(), ctx.p2() |
|
64 | 64 | user = ctx.user() |
|
65 | 65 | |
|
66 | with repo.lock(), repo.transaction(b"commit") as tr: | |
|
66 | 67 | writechangesetcopy, writefilecopymeta = _write_copy_meta(repo) |
|
67 | 68 | |
|
68 | 69 | p1copies, p2copies = None, None |
@@ -70,7 +71,6 b' def commitctx(repo, ctx, error=False, or' | |||
|
70 | 71 | p1copies = ctx.p1copies() |
|
71 | 72 | p2copies = ctx.p2copies() |
|
72 | 73 | filesadded, filesremoved = None, None |
|
73 | with repo.lock(), repo.transaction(b"commit") as tr: | |
|
74 | 74 | if ctx.manifestnode(): |
|
75 | 75 | # reuse an existing manifest revision |
|
76 | 76 | repo.ui.debug(b'reusing known manifest\n') |
General Comments 0
You need to be logged in to leave comments.
Login now