Mercurial > hg
changeset 29079:90bb5bdb0b2f
crecord: remove skipfolded keyword argument from patchnode.previtem()
It wasn't used, it wasn't implemented. Probably was a copy-paste bonus from
patchnode.nextitem()
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 05 May 2016 18:13:25 +0800 |
parents | eeacfa36ed3f |
children | 38f373497784 |
files | mercurial/crecord.py |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/crecord.py Thu May 05 15:19:37 2016 +0800 +++ b/mercurial/crecord.py Thu May 05 18:13:25 2016 +0800 @@ -164,7 +164,7 @@ except AttributeError: # parent and/or grandparent was None return None - def previtem(self, constrainlevel=True, skipfolded=True): + def previtem(self, constrainlevel=True): """ If constrainLevel == True, return the closest previous item of the same type where there are no items of different types between @@ -174,10 +174,6 @@ closest to this item, regardless of item's type (header, hunk, or HunkLine). - If skipFolded == True, and the current item is folded, then the items - that are hidden due to folding will be skipped when determining the - next item. - If it is not possible to get the previous item, return None. """ if constrainlevel: