mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 17:27:53 +03:00
f92d923209
Closemap solves a very specific use case. It would be better to have a more generic solution than to have to maintain this forever. Closemap has not been released yet and removing it now will not break any backward compatibility contract. There is no test coverage for closemap but it seems like the same can be achieved with a simple and much more powerful custom extension: import hgext.convert.hg class source(hgext.convert.hg.mercurial_source): def getcommit(self, rev): c = super(source, self).getcommit(rev) if rev in [''' d643f67092ff123f6a192d52f12e7d123dae229f 3a6a38229d418ba09cb7784c01453a93b4d363f8 facceca31c18f7ef800977055dbcbd7fcb5c5cb2 ''']: c.extra = c.extra.copy() c.extra['close'] = '1' return c hgext.convert.hg.mercurial_source = source |
||
---|---|---|
.. | ||
__init__.py | ||
bzr.py | ||
common.py | ||
convcmd.py | ||
cvs.py | ||
cvsps.py | ||
darcs.py | ||
filemap.py | ||
git.py | ||
gnuarch.py | ||
hg.py | ||
monotone.py | ||
p4.py | ||
subversion.py | ||
transport.py |