Skip to content
Snippets Groups Projects
  • Jun Wu's avatar
    911057981ba4
    drawdag: provide filenode for its dummy filectx · 911057981ba4
    Jun Wu authored
    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.
    911057981ba4
    History
    drawdag: provide filenode for its dummy filectx
    Jun Wu authored
    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.