# HG changeset patch # User Sean Farley # Date 1379732878 18000 # Node ID 02a8612ddec2b91b3c31897a3d99e5abe7f8ef80 # Parent 8a2637cf1130313c3113673057f81b0687f3601b 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. diff -r 8a2637cf1130 -r 02a8612ddec2 mercurial/context.py --- 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):