Show More
@@ -47,7 +47,6 def commitctx(repo, ctx, error=False, or | |||
|
47 | 47 | if repo.filecopiesmode == b'changeset-sidedata': |
|
48 | 48 | writechangesetcopy = True |
|
49 | 49 | writefilecopymeta = True |
|
50 | writecopiesto = None | |
|
51 | 50 | else: |
|
52 | 51 | writecopiesto = repo.ui.config(b'experimental', b'copies.write-to') |
|
53 | 52 | writefilecopymeta = writecopiesto != b'changeset-only' |
@@ -134,7 +133,7 def commitctx(repo, ctx, error=False, or | |||
|
134 | 133 | files = touched |
|
135 | 134 | mn = _commit_manifest(tr, linkrev, ctx, mctx, files, added, drop) |
|
136 | 135 | |
|
137 | if writecopiesto == b'changeset-only': | |
|
136 | if not writefilecopymeta: | |
|
138 | 137 | # If writing only to changeset extras, use None to indicate that |
|
139 | 138 | # no entry should be written. If writing to both, write an empty |
|
140 | 139 | # entry to prevent the reader from falling back to reading |
General Comments 0
You need to be logged in to leave comments.
Login now