filemerge: A feature request

Alexis S. L. Carvalho alexis at cecm.usp.br
Fri Feb 8 15:33:11 CST 2008


Thus spake Bryan O'Sullivan:
> Matt Mackall wrote:
> 
> > Perhaps we should instead replace/fix ConfigParser.
> 
> +100 for replacing it.  Just getting rid of its % substitution alone
> would make that worthwhile.

What's the problem with interpolations?

A long, long time ago, when "hg push" didn't fall back to "default" when
"default-push" wasn't set, a trick that was often recommended was to put
something like this in ~/.hgrc:

[paths]
default-push = %(default)s

Sure, that's not needed anymore, but somebody (Thomas?) even added some
code to ui.py to make sure this kind of thing worked.

I don't think interpolations are an essencial feature, but I'd be
surprised if there's nobody out there using them.

Alexis


More information about the Mercurial-devel mailing list