136 rf = metadata.get_removal_filter(ctx, (p1, p2, m1, m2)) |
136 rf = metadata.get_removal_filter(ctx, (p1, p2, m1, m2)) |
137 removed = [f for f in removed if not rf(f)] |
137 removed = [f for f in removed if not rf(f)] |
138 |
138 |
139 touched.extend(removed) |
139 touched.extend(removed) |
140 |
140 |
|
141 files = touched |
|
142 mn = _commit_manifest(tr, linkrev, ctx, mctx, files, added, drop) |
|
143 |
141 if writechangesetcopy: |
144 if writechangesetcopy: |
142 filesremoved = removed |
145 filesremoved = removed |
143 |
|
144 files = touched |
|
145 mn = _commit_manifest(tr, linkrev, ctx, mctx, files, added, drop) |
|
146 |
146 |
147 if not writefilecopymeta: |
147 if not writefilecopymeta: |
148 # If writing only to changeset extras, use None to indicate that |
148 # If writing only to changeset extras, use None to indicate that |
149 # no entry should be written. If writing to both, write an empty |
149 # no entry should be written. If writing to both, write an empty |
150 # entry to prevent the reader from falling back to reading |
150 # entry to prevent the reader from falling back to reading |