##// END OF EJS Templates
changectx: use unfiltered changelog to walk ancestors in annotate...
marmoute -
r44567:c4729703 default
parent child Browse files
Show More
@@ -1161,7 +1161,9 b' class basefilectx(object):'
1161 1161 # use linkrev to find the first changeset where self appeared
1162 1162 base = self.introfilectx()
1163 1163 if getattr(base, '_ancestrycontext', None) is None:
1164 cl = self._repo.changelog
1164 # it is safe to use an unfiltered repository here because we are
1165 # walking ancestors only.
1166 cl = self._repo.unfiltered().changelog
1165 1167 if base.rev() is None:
1166 1168 # wctx is not inclusive, but works because _ancestrycontext
1167 1169 # is used to test filelog revisions
@@ -136,13 +136,11 b' using annotate'
136 136 - file with a single change
137 137
138 138 $ hg annotate a
139 debug.filters: computing revision filter for "visible"
140 139 0: a
141 140
142 141 - file with multiple change
143 142
144 143 $ hg annotate z
145 debug.filters: computing revision filter for "visible"
146 144 0: some line
147 145 1: in a
148 146 2: file
General Comments 0
You need to be logged in to leave comments. Login now