Show More
@@ -162,7 +162,11 b' def _chain(a, b):' | |||||
162 |
|
162 | |||
163 | def _tracefile(fctx, am, basemf, limit): |
|
163 | def _tracefile(fctx, am, basemf, limit): | |
164 | """return file context that is the ancestor of fctx present in ancestor |
|
164 | """return file context that is the ancestor of fctx present in ancestor | |
165 | manifest am, stopping after the first ancestor lower than limit""" |
|
165 | manifest am | |
|
166 | ||||
|
167 | Note: we used to try and stop after a given limit, however checking if that | |||
|
168 | limit is reached turned out to be very expensive. we are better off | |||
|
169 | disabling that feature.""" | |||
166 |
|
170 | |||
167 | for f in fctx.ancestors(): |
|
171 | for f in fctx.ancestors(): | |
168 | path = f.path() |
|
172 | path = f.path() | |
@@ -170,8 +174,6 b' def _tracefile(fctx, am, basemf, limit):' | |||||
170 | return path |
|
174 | return path | |
171 | if basemf and basemf.get(path, None) == f.filenode(): |
|
175 | if basemf and basemf.get(path, None) == f.filenode(): | |
172 | return path |
|
176 | return path | |
173 | if not f.isintroducedafter(limit): |
|
|||
174 | return None |
|
|||
175 |
|
177 | |||
176 |
|
178 | |||
177 | def _dirstatecopies(repo, match=None): |
|
179 | def _dirstatecopies(repo, match=None): |
General Comments 0
You need to be logged in to leave comments.
Login now