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
_______________________________________________
Mercurial mailing list
Mercurial@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial

Reply via email to