diff mercurial/context.py @ 21590:e5deefcaa12b

workingctx: add note about super._prestatus calling manifest
author Sean Farley <sean.michael.farley@gmail.com>
date Wed, 23 Apr 2014 16:06:42 -0500
parents 2945fdc38aad
children 16f62b4203b1
line wrap: on
line diff
--- a/mercurial/context.py	Wed Apr 23 16:06:23 2014 -0500
+++ b/mercurial/context.py	Wed Apr 23 16:06:42 2014 -0500
@@ -1310,6 +1310,9 @@
         We use this prestatus hook to populate the status with information from
         the dirstate.
         """
+        # doesn't need to call super; if that changes, be aware that super
+        # calls self.manifest which would slow down the common case of calling
+        # status against a workingctx's parent
         return self._dirstatestatus(match, listignored, listclean, listunknown)
 
     def _poststatus(self, other, s, match, listignored, listclean, listunknown):