##// END OF EJS Templates
vcs: access changeset status "struct" members - hg 5.3 will drop indexed access
Mads Kiilerich -
r8051:744b7e78 default
parent child Browse files
Show More
@@ -386,21 +386,21 b' class MercurialChangeset(BaseChangeset):'
386 """
386 """
387 Returns list of added ``FileNode`` objects.
387 Returns list of added ``FileNode`` objects.
388 """
388 """
389 return AddedFileNodesGenerator([n for n in self.status[1]], self)
389 return AddedFileNodesGenerator([n for n in self.status.added], self)
390
390
391 @property
391 @property
392 def changed(self):
392 def changed(self):
393 """
393 """
394 Returns list of modified ``FileNode`` objects.
394 Returns list of modified ``FileNode`` objects.
395 """
395 """
396 return ChangedFileNodesGenerator([n for n in self.status[0]], self)
396 return ChangedFileNodesGenerator([n for n in self.status.modified], self)
397
397
398 @property
398 @property
399 def removed(self):
399 def removed(self):
400 """
400 """
401 Returns list of removed ``FileNode`` objects.
401 Returns list of removed ``FileNode`` objects.
402 """
402 """
403 return RemovedFileNodesGenerator([n for n in self.status[2]], self)
403 return RemovedFileNodesGenerator([n for n in self.status.removed], self)
404
404
405 @LazyProperty
405 @LazyProperty
406 def extra(self):
406 def extra(self):
General Comments 0
You need to be logged in to leave comments. Login now