Mercurial > hgsubversion
diff hgsubversion/layouts/__init__.py @ 1092:cd0d14e25757
layouts: add custom layout for those of us that need weird mappings
This adds a config-driven custom layout, targeted at the case where
you need to fetch a small subset of a large number of subversion
branches, or where your subversion layout doesn't match the standard
trunk/branches/tags layout very well.
author | David Schleimer <dschleimer@fb.com> |
---|---|
date | Mon, 26 Aug 2013 16:40:31 -0700 |
parents | 8feff33e387d |
children | eded1e736a7e |
line wrap: on
line diff
--- a/hgsubversion/layouts/__init__.py +++ b/hgsubversion/layouts/__init__.py @@ -11,6 +11,7 @@ NB: this has a long way to go before it from mercurial import util as hgutil +import custom import detect import persist import single @@ -26,6 +27,7 @@ import standard # The intention is for extension authors who wish to build their own # layout to add it to this dict. NAME_TO_CLASS = { + "custom": custom.CustomLayout, "single": single.SingleLayout, "standard": standard.StandardLayout, }