##// END OF EJS Templates
help: avoid mutating passed-in `keep` list in `formattedhelp`
Augie Fackler -
r31265:79715ba2 default
parent child Browse files
Show More
@@ -618,6 +618,8 b' def formattedhelp(ui, name, keep=None, u'
618 618 """
619 619 if keep is None:
620 620 keep = []
621 else:
622 keep = list(keep) # make a copy so we can mutate this later
621 623 fullname = name
622 624 section = None
623 625 subtopic = None
General Comments 0
You need to be logged in to leave comments. Login now