Accessing configuration of remote repositories
Glenn Ammons
ammons at us.ibm.com
Wed Nov 21 14:09:23 CST 2007
I am writing an extension in which each Mercurial repository refers to
another data store. When changes are pushed from Mercurial repository
A to Mercurial repository B, I first want to push any additions to the
store referred to by A to the store referred to by B. To do that, I
need to know where A's store is and where B's store is.
Right now, the location of the store is kept in an hgrc parameter.
So, during a push from A to B, my extension needs to read the hgrc
parameter for the remote repository B. I've been looking through the
code and haven't been able to find a way to do that. Is there a way
to read an hgrc parameter for a remote repository? If not, can anyone
suggest another place to keep this information, so that it can be
accessed remotely?
Thanks.
--glenn
More information about the Mercurial
mailing list