changeset 21587:02a8612ddec2

committablectx: add subrev method to return None This allows a future patch to use object oriented style to remove an if statement in the status method.
author Sean Farley <sean.michael.farley@gmail.com>
date Fri, 20 Sep 2013 22:07:58 -0500
parents 8a2637cf1130
children 4944c488f738
files mercurial/context.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/context.py	Fri Sep 20 21:55:42 2013 -0500
+++ b/mercurial/context.py	Fri Sep 20 22:07:58 2013 -0500
@@ -999,6 +999,9 @@
     def _date(self):
         return util.makedate()
 
+    def subrev(self, subpath):
+        return None
+
     def user(self):
         return self._user or self._repo.ui.username()
     def date(self):