##// END OF EJS Templates
copies: make "limit" argument to _tracefile() mandatory...
Martin von Zweigbergk -
r42427:c7422691 default
parent child Browse files
Show More
@@ -152,14 +152,14 b' def _chain(src, dst, a, b):'
152 152
153 153 return t
154 154
155 def _tracefile(fctx, am, limit=node.nullrev):
155 def _tracefile(fctx, am, limit):
156 156 """return file context that is the ancestor of fctx present in ancestor
157 157 manifest am, stopping after the first ancestor lower than limit"""
158 158
159 159 for f in fctx.ancestors():
160 160 if am.get(f.path(), None) == f.filenode():
161 161 return f
162 if limit >= 0 and not f.isintroducedafter(limit):
162 if not f.isintroducedafter(limit):
163 163 return None
164 164
165 165 def _dirstatecopies(repo, match=None):
General Comments 0
You need to be logged in to leave comments. Login now