mercurial/__init__.py
author Pierre-Yves David <pierre-yves.david@fb.com>
Mon, 06 Apr 2015 17:23:11 -0700
changeset 24648 5cac3accdaa1
parent 0 9117c6561b0b
child 27220 4374d819ccd5
permissions -rw-r--r--
unbundle20: allow generic dispatch between unbundlers We now take full advantage of the 'getunbundler' function by using a '{version -> unbundler-class}' mapping. This map currently contains a single entry but will make it easy to support more versions from an extension/the future. At some point, this map will probably contain bundler-class information too, in the same fashion the packer map does. However, this is not critically required right now so it will happen by itself when needed. The main target is to allow HG2Y support in an extension to ease transition of companies using the experimental protocol in production (yeah...) But I've no doubt this will be useful when playing with a future HG21.