add a topic but not a head

Aurélien Campéas aurelien.campeas at pythonian.fr
Mon Jun 17 11:06:26 UTC 2019



On 14/06/2019 15:49, Uwe Brauer wrote:
>>>> "CdV" == Christophe de Vienne <christophe at cdevienne.info> writes:
> 
>> Le 14/06/2019 à 14:11, Uwe Brauer a écrit :
>>>
>>>> Le 14/06/2019 à 12:19, Uwe Brauer a écrit :
>>>
>>>> You don't have to clone the repositories, pip will download the packages
>>>> from pypi. So the command can be run from anywhere with the same result.
>>>
>>> Ah now I am really confused:
>>>
>>> when I do in my evolve clone
>>> hg up tip
>>>
>>> And then
>>> pip install --user .
> 
>> Here the "." means that the current directory contains a package
>> sources, and pip will install it.
> 
> Ah this is cool, thanks very much so it should work also in hg-stable?
> 
> And it seems that pip uninstall --user . Would uninstall it?

Yes.

> 
> BTW where is hg-stable or evolve installed for a user?
> 
> Whats about the path? (suppose I don't uninstall hg 4.4 from the Ubuntu
> repo?)
> Which command has preference? I presume the one installed by the user.

You might need to adjust your PATH to first lookup in ~/.local/bin
(I tend to do this in my .bashrc).

> 
>> But pip can also install packages directly from pypi, so if you type
>> "pip install --upgrade --user mercurial" it will get the latest version
>> of mercurial and install it. Same thing for hg-evolve.
> 
> I think in the past I tried that, not sure whether it was with hg-git
> and it did not work out exspected

at some point hg-git did lag behind recent hg releases but that has been 
fixed


Aurélien



More information about the Evolve-testers mailing list