ubuntu 24 (and most likely debian 12) does not allow to install evolve
Chris Green
cl at isbd.net
Tue Jul 16 14:19:38 UTC 2024
On Tue, Jul 16, 2024 at 03:59:30PM +0200, Sietse Brouwer wrote:
> Hi Uwe,
>
> Pipx lets you install and run python packages in isolated environments.
> This is the most robust installation method for Mercurial + hg-evolve +
> hg-git that I am aware of.
>
> # version with comments at the bottom of this mail
> sudo apt install pipx
> pipx install mercurial
> pipx inject mercurial hg-evolve hg-git # Omit hg-git if you don't use
> it
>
> Later, when a new release comes out, you can run
>
> pipx upgrade mercurial
>
> Cheers,
> Sietse
>
> ---- Commented version: ----
>
> # Acquire pipx
> sudo apt install pipx
>
> # Create a virtual environment, install Mercurial in it
> # To force a particular version, write e.g. mercurial==6.4
> # To install from source, write -e your/path/to/mercurial
> pipx install mercurial
>
> # Add hg-git and hg-evolve to the Mercurial installation
> pipx inject mercurial hg-git hg-evolve
If one installs mercurial this way does it still 'just work' by
running hg anywhere on one's system or do you have to get into the
right place/environment to use it?
(I have simply been using --break-system-packages to avoid this, with
no ill effects so far)
--
Chris Green
More information about the Mercurial
mailing list