[PATCH 3 of 5 paths v3] ui.paths: filter config options containing "." (BC)

Adrian Buehlmann adrian at cadifra.com
Sun Mar 15 15:50:33 CDT 2015


On 2015-03-15 20:55, Matt Mackall wrote:
> Perhaps we can use a horrible separator. I don't think we can use #
> because it's already used for branches. Let's say it's "+"[1]. Then we
> can have:
> 
> [paths]
> repo = https://...
> repo+pushrev = .
> 
> This is kinda ok because it suggests adding something on. Another
> possibility is "--", which lets us suggest a relation to the
> corresponding command-line options.
> 
> [1] Not perfect, but Windows filesystems are hostile to it.

Not sure what you are referring to exactly, but '+' is way less
"hostile" than '.' in filenames on Windows. Just in case...



More information about the Mercurial-devel mailing list