sapling/hgext/convert
Martin von Zweigbergk 14dfe2a25c memfilectx: make changectx argument mandatory in constructor (API)
committablefilectx has three subclasses: workingfilectx, memfilectx,
and overlayfilectx. committablefilectx takes an optional (change) ctx
instance to its constructor. If it's provided, it's set on the
instance as self._changectx. If not, that property is supposed to be
defined by the class. However, only workingfilectx does that. The
other two will have the property undefined if it's not passed in the
constructor. That seems bad to me. This patch makes the changectx
argument to the memfilectx constructor mandatory because that fixes
the failure I ran into. It seems like we should also fix the
overlayfilectx case.

Differential Revision: https://phab.mercurial-scm.org/D1658
2017-12-11 09:27:40 -08:00
..
__init__.py convert: avoid wrong lfconvert defaults by moving configitems to core 2017-11-28 23:20:08 -05:00
bzr.py merge with stable 2017-12-04 11:28:29 -05:00
common.py convert: save an indicator of the repo type for sources and sinks 2017-11-22 20:49:01 -05:00
convcmd.py py3: use bytes in place of basestring 2017-12-01 16:53:55 +05:30
cvs.py convert: save an indicator of the repo type for sources and sinks 2017-11-22 20:49:01 -05:00
cvsps.py doctest: bulk-replace string literals with b'' for Python 3 2017-09-03 14:32:11 +09:00
darcs.py convert: save an indicator of the repo type for sources and sinks 2017-11-22 20:49:01 -05:00
filemap.py convert: save an indicator of the repo type for sources and sinks 2017-11-22 20:49:01 -05:00
git.py convert: save an indicator of the repo type for sources and sinks 2017-11-22 20:49:01 -05:00
gnuarch.py convert: save an indicator of the repo type for sources and sinks 2017-11-22 20:49:01 -05:00
hg.py memfilectx: make changectx argument mandatory in constructor (API) 2017-12-11 09:27:40 -08:00
monotone.py convert: save an indicator of the repo type for sources and sinks 2017-11-22 20:49:01 -05:00
p4.py convert: avoid wrong lfconvert defaults by moving configitems to core 2017-11-28 23:20:08 -05:00
subversion.py convert: save an indicator of the repo type for sources and sinks 2017-11-22 20:49:01 -05:00
transport.py convert: remove if False block 2017-07-07 15:08:23 -04:00