How to change a repo source?
Tony Mechelynck
antoine.mechelynck at gmail.com
Sat Sep 12 18:41:48 UTC 2015
On Sat, Sep 12, 2015 at 7:45 PM, Skip Montanaro
<skip.montanaro at gmail.com> wrote:
> The only use I make of Mercurial is to maintain a series of clones of
> the different Python release branches and the current tip. I then have
> a shell script I execute to update everything in order, executing hg
> pull, configure, make altinstall.
>
> Those repositories are organized in a bucket brigade:
>
> * cpython pulls from the default on hg.python.org
> * 3.4 pulls from cpython
> * 3.3 pulls from 3.4
> * etc
>
> I just executed
>
> hg clone cpython 3.5
>
> I suppose I can keep 3.4 pointed at cpython, but it seems the only
> time it will get an update is if a bug fix is applied to 3.5. How do I
> point my 3.4 repo at 3.5 instead of cpython?
>
> Thanks,
>
> Skip Montanaro
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> https://selenic.com/mailman/listinfo/mercurial
To change it permanently, edit its .hg/hgrc file and change the
"default =" line in its "[paths]" section.
I think that you may change it temporarily by running
cd 3.4
hg --config paths.default=../3.5 pull
or similar.
Best regards,
Tony.
More information about the Mercurial
mailing list