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()
--- 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: