diff hgeditor @ 26639:92d67e5729b9

exchange: move bundle specification parsing from cmdutil Clone bundles require a well-defined string to specify the type of bundle that is listed so clients can filter compatible file types. The `hg bundle` command and cmdutil.parsebundletype() already establish the beginnings of a bundle specification format. As part of formalizing this format specification so it can be used by clone bundles, we move the specification parsing bits verbatim to exchange.py, which is a more suitable place than cmdutil.py. A subsequent patch will refactor this code to make it more appropriate as a general API.
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 13 Oct 2015 11:43:21 -0700
parents 2b440bb8a66b
children 1aee2ab0f902
line wrap: on
line diff