Show More
@@ -1205,6 +1205,18 b' def _markchanges(repo, unknown, deleted,' | |||||
1205 | wctx.copy(old, new) |
|
1205 | wctx.copy(old, new) | |
1206 |
|
1206 | |||
1207 | def getrenamedfn(repo, endrev=None): |
|
1207 | def getrenamedfn(repo, endrev=None): | |
|
1208 | if repo.ui.config('experimental', 'copies.read-from') == 'compatibility': | |||
|
1209 | def getrenamed(fn, rev): | |||
|
1210 | ctx = repo[rev] | |||
|
1211 | p1copies = ctx.p1copies() | |||
|
1212 | if fn in p1copies: | |||
|
1213 | return p1copies[fn] | |||
|
1214 | p2copies = ctx.p2copies() | |||
|
1215 | if fn in p2copies: | |||
|
1216 | return p2copies[fn] | |||
|
1217 | return None | |||
|
1218 | return getrenamed | |||
|
1219 | ||||
1208 | rcache = {} |
|
1220 | rcache = {} | |
1209 | if endrev is None: |
|
1221 | if endrev is None: | |
1210 | endrev = len(repo) |
|
1222 | endrev = len(repo) |
General Comments 0
You need to be logged in to leave comments.
Login now