Skip to content
Snippets Groups Projects
Commit 91105798 authored by Jun Wu's avatar Jun Wu
Browse files

drawdag: provide filenode for its dummy filectx

basefctx has filenode, which will be used in a future fast path of skipping
flag processor during repo._filecommit.

This patch adds filenode to drawdag's faked filectx so we don't need to use
hasattr in localrepo.py.
parent 37bcb466
No related branches found
No related tags found
No related merge requests found
......@@ -214,6 +214,9 @@
def data(self):
return self._data
def filenode(self):
return None
def path(self):
return self._path
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment