multiple [paths] sections in .hg/hgrc
Thomas Arendsen Hein
thomas at intevation.de
Sat Sep 3 08:27:07 CDT 2005
Hi!
You're right, this should not happen.
* TK Soh <teekaysoh at yahoo.com> [20050903 11:49]:
> --- a/mercurial/commands.py Thu Sep 1 19:13:56 2005
> +++ b/mercurial/commands.py Sat Sep 3 09:44:48 2005
> - for fn in "dirstate", "lock":
> + for fn in "hgrc", "dirstate", "lock":
This is the bug fix, though I think we should rather fix that
cloning shouldn't link these files in the first place.
> - f.write("\n[paths]\n")
> - f.write("default = %s\n" % abspath)
> + f.write("[paths]\n")
> + f.write("default = %s\n\n" % abspath)
> --- a/mercurial/localrepo.py Thu Sep 1 19:13:56 2005
> +++ b/mercurial/localrepo.py Sat Sep 3 09:44:48 2005
> f.write("[web]\n")
> - f.write("contact = %s\n" % ui.shortuser(ui.username()))
> + f.write("contact = %s\n\n" % ui.shortuser(ui.username()))
This is something completely unrelated. And should either not be
done (because there is no reason) or done in a separate changeset.
Thomas
--
Email: thomas at intevation.de
http://intevation.de/~thomas/
More information about the Mercurial
mailing list