##// END OF EJS Templates
treemanifest: implement iterentries()...
Martin von Zweigbergk -
r28206:8ab91d92 default
parent child Browse files
Show More
@@ -520,6 +520,15 b' class treemanifest(object):'
520 self._node = node
520 self._node = node
521 self._dirty = False
521 self._dirty = False
522
522
523 def iterentries(self):
524 self._load()
525 for p, n in sorted(self._dirs.items() + self._files.items()):
526 if p in self._files:
527 yield self._subpath(p), n, self._flags.get(p, '')
528 else:
529 for x in n.iterentries():
530 yield x
531
523 def iteritems(self):
532 def iteritems(self):
524 self._load()
533 self._load()
525 for p, n in sorted(self._dirs.items() + self._files.items()):
534 for p, n in sorted(self._dirs.items() + self._files.items()):
General Comments 0
You need to be logged in to leave comments. Login now