Correct format for bundle://...+... style URL?

Peter Arrenbrecht peter.arrenbrecht at gmail.com
Sat Nov 3 06:00:08 CDT 2007


It would seem that bundlename+repopath is correct. Changing it the
other way round makes a lot of test-bundle fail.
-peo

On Nov 3, 2007 11:30 AM, Peter Arrenbrecht <peter.arrenbrecht at gmail.com> wrote:
> Hi all,
>
> Can anyone tell me what the correct format for a bundle://...+... URL
> is? I seem to find contradictory code locations. In bundlerepo.py,
> instance() uses repopath+bundlename, but __init__() uses the opposite
> bundlename+repopath.
>
> I am trying to fix http://www.selenic.com/mercurial/bts/issue820 and
> just need to wrap up a final test output difference in test-bundle:
>
> -changegroup hook: HG_NODE=5649c9d34dd87d0ecb5fd39672128376e83b22e1
> HG_SOURCE=pull HG_URL=bundle:../full.hg
> +changegroup hook: HG_NODE=5649c9d34dd87d0ecb5fd39672128376e83b22e1
> HG_SOURCE=pull HG_URL=bundle:../full.hg+/tmp/hgtests.zAMYzr/test-bundle/empty
>
> This is because I now pass the correct -R main repo path to the
> bundlerepo, while before it used "", meaning the current working dir.
>
> Thanks,
> -peo
>


More information about the Mercurial-devel mailing list