[PATCH] Unified os_rcpath, system_rcptah, and user_rcpath so the interface is similar across operating systems
Alexis S. L. Carvalho
alexis at cecm.usp.br
Thu Feb 15 09:29:35 UTC 2007
Thus spake Shane Holloway:
> I was trying to get the path to the user's ~/.hgrc or Mercurial.ini
> file in a cross platform way using the mercurial.util module, but I
> found that the user_rcpath was not implemented for both platforms.
> This patch adds the uniform interface.
I've pushed this to the crew repo, thanks.
Any chance that you can send another patch that defines a single version
of os_rcpath (outside that big "if os.name == 'nt':"), since both
versions are now identical?
And maybe one that changes debuginstall to display the places where
we'll look for config files, as returned by util.rcpath? :)
Alexis
More information about the Mercurial
mailing list