mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
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.
This commit is contained in:
parent
ede9f80137
commit
9882a9e5a4
@ -999,6 +999,9 @@ class committablectx(basectx):
|
||||
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):
|
||||
|
Loading…
Reference in New Issue
Block a user