Show More
@@ -162,7 +162,11 b' def _chain(a, b):' | |||
|
162 | 162 | |
|
163 | 163 | def _tracefile(fctx, am, basemf, limit): |
|
164 | 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 | 171 | for f in fctx.ancestors(): |
|
168 | 172 | path = f.path() |
@@ -170,8 +174,6 b' def _tracefile(fctx, am, basemf, limit):' | |||
|
170 | 174 | return path |
|
171 | 175 | if basemf and basemf.get(path, None) == f.filenode(): |
|
172 | 176 | return path |
|
173 | if not f.isintroducedafter(limit): | |
|
174 | return None | |
|
175 | 177 | |
|
176 | 178 | |
|
177 | 179 | def _dirstatecopies(repo, match=None): |
General Comments 0
You need to be logged in to leave comments.
Login now