##// END OF EJS Templates
narrowrepo: filter() is a generator on py3, wrap in list()...
Augie Fackler -
r36173:0c104ee5 default
parent child Browse files
Show More
@@ -103,13 +103,13 b' def wraprepo(repo, opts_narrow):'
103 103 def status(self, *args, **kwargs):
104 104 s = super(narrowrepository, self).status(*args, **kwargs)
105 105 narrowmatch = self.narrowmatch()
106 modified = filter(narrowmatch, s.modified)
107 added = filter(narrowmatch, s.added)
108 removed = filter(narrowmatch, s.removed)
109 deleted = filter(narrowmatch, s.deleted)
110 unknown = filter(narrowmatch, s.unknown)
111 ignored = filter(narrowmatch, s.ignored)
112 clean = filter(narrowmatch, s.clean)
106 modified = list(filter(narrowmatch, s.modified))
107 added = list(filter(narrowmatch, s.added))
108 removed = list(filter(narrowmatch, s.removed))
109 deleted = list(filter(narrowmatch, s.deleted))
110 unknown = list(filter(narrowmatch, s.unknown))
111 ignored = list(filter(narrowmatch, s.ignored))
112 clean = list(filter(narrowmatch, s.clean))
113 113 return scmutil.status(modified, added, removed, deleted, unknown,
114 114 ignored, clean)
115 115
General Comments 0
You need to be logged in to leave comments. Login now