Ticket #2291 (new defect)

Opened 9 years ago

Provide more URLs in bundles

Reported by: gracinet Owned by: gracinet
Priority: P2 Milestone: CPS 3.5.7
Component: hgutils Version: 3.5.1
Severity: normal Keywords:


Currently hgbundler can set the default and default-push paths of managed repositories (in .hg/hgrc), through the url and push-url attributes of the <server> element.

It would be really handy for instances using hgbundler as a direct means of deployment to have more managed paths of that kind, to avoid for private products fighting against ssh or having local modifications of the bundle or even worse, local branches (breaks any update attempts)

One could for instance have something of that kind:

  <server url="ssh://private.site.example//path/to/mercurial">
     <alt-url name="prod">path/to/mercurial</alt-url>

and on the production server, use something like hgbundler pull-clones prod, that would use the default for those repos that don't know of this prod url (which hgmap can't do)

This also demonstrates (again) a need to replace hgmap (toplevel subdirectories) with a true iteration on repos (including deeper references, then) provided by hgbundler itself.

Note: See TracTickets for help on using tickets.