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.
--- 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):