phillco added a subscriber: martinvonz. phillco added inline comments. INLINE COMMENTS
> simplemerge:44-63 > +class filebackedctx(object): > + """simplemerge requires context-like objects""" > + def __init__(self, path): > + self._path = path > + > + def decodeddata(self): > + with open(self._path, "rb") as f: As @martinvonz noted this could probably be combined with the `arbitraryfilectx` I made in https://bitbucket.org/phillco/hg-imm/commits/0cc65baa328bbba84629aeb4708ee2fa765a50f0. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D378 To: phillco, #hg-reviewers Cc: martinvonz, mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel