Mercurial > hg
diff mercurial/util.py @ 31937:826e600605f6
context: add a blockdescendants function
This is symmetrical with blockancestors() and yields descendants of a filectx
with changes in the given line range. The noticeable difference is that the
algorithm does not follow renames (probably because filelog.descendants() does
not), so we are missing branches with renames.
author | Denis Laxalde <denis.laxalde@logilab.fr> |
---|---|
date | Mon, 10 Apr 2017 15:11:36 +0200 |
parents | 12aca6770046 |
children | f3b80537a70d |