[PATCH 0 of 3] fix ui.configpath

Simon Heimberg simohe at besonet.ch
Sat Jul 23 04:53:39 UTC 2011


util.configpath throws an uncaught exception in two cases:

 The first patch lets configpath work with a relative path.
 The second patch lets it work with no default given

The third patch is my suggestion. The path relative to repo root sounds 
better for me, and it is what fixconfig does. Changing this is not critical 
since the error was not detected until now and the function seems to be 
unused. (Except in an extension I write.)

Greetings,
shb


More information about the Mercurial-devel mailing list