Development branch setup/usage, repositories roles

Benoit Boissinot bboissin at gmail.com
Thu Jun 22 11:54:54 CDT 2006


On 6/22/06, Patrick Mézard <pmezard at gmail.com> wrote:
> Hello,
>
> I have two questions related to mercurial development:
>
> 1- How do you manage a mercurial repository?
> Mercurial uses itself to maintain its source code which is great.
> However, I am having conflicts between the installed, stable hg version
> (currently a Windows binary package) and the one kept in the development
> repository, for instance the development "mercurial/" subdirectory is a
> valid python module which overrides the installed one when calling "hg"
> from the development root directory.
>
You can change the 'hg' python script to do at the beginning:
import sys
sys.path.pop(0)

This way it will remove the first entry from the python path and avoid
using your local modules.

regards,

Benoit



More information about the Mercurial mailing list