[PATCH 5 of 7 path-configs] ui.paths: obtain paths from [path x] sections

Sean Farley sean.michael.farley at gmail.com
Sun Feb 8 15:34:35 CST 2015


Gregory Szorc writes:

> # HG changeset patch
> # User Gregory Szorc <gregory.szorc at gmail.com>
> # Date 1423346419 28800
> #      Sat Feb 07 14:00:19 2015 -0800
> # Node ID 8070ddf4999636a5bb52ffa6bfaca69299d86006
> # Parent  e93fb90e9b87879402147a2fdff2a937087639ca
> ui.paths: obtain paths from [path x] sections
>
> More advanced Mercurial users have long wanted the ability to change
> the behavior of individual paths. One common request is the ability
> to change the default behavior for push and pull for different paths.
> e.g. you may want to default to only pushing a single head for
> your "production" path but you may still want to use the push
> everything default for your personal remote. Another requested
> feature is the ability to define different URLs for different
> operations (e.g. pushes should go through ssh:// but pulls should
> utilize https://). And the list goes on.

This is great. I could see this dove-tailing very well with remote
bookmarks.


More information about the Mercurial-devel mailing list