How To Install hgsvn on Fedora 34

hgsvn is A set of scripts to work locally on subversion checkouts using mercurial

Introduction

In this tutorial we learn how to install hgsvn on Fedora 34.

What is hgsvn

This set of scripts allows to work locally on subversion managed projects using the mercurial distributed version control system. Why use mercurial? You can do local (disconnected) work, pull the latest changes from the subversion server, manage private branches, submit patches to project maintainers, etc. And of course you have fast local operations like hg log and hg annotate.

We can use yum or dnf to install hgsvn on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install hgsvn.

Install hgsvn on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install hgsvn using dnf by running the following command:

sudo dnf -y install hgsvn

Install hgsvn on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install hgsvn using yum by running the following command:

sudo yum -y install hgsvn

How To Uninstall hgsvn on Fedora 34

To uninstall only the hgsvn package we can use the following command:

sudo dnf remove hgsvn

hgsvn Package Contents on Fedora 34

/usr/bin/hgimportsvn
/usr/bin/hgpullsvn
/usr/bin/hgpushsvn
/usr/lib/python3.9/site-packages/hgsvn
/usr/lib/python3.9/site-packages/hgsvn-0.6.0-py3.9.egg-info
/usr/lib/python3.9/site-packages/hgsvn-0.6.0-py3.9.egg-info/PKG-INFO
/usr/lib/python3.9/site-packages/hgsvn-0.6.0-py3.9.egg-info/SOURCES.txt
/usr/lib/python3.9/site-packages/hgsvn-0.6.0-py3.9.egg-info/dependency_links.txt
/usr/lib/python3.9/site-packages/hgsvn-0.6.0-py3.9.egg-info/entry_points.txt
/usr/lib/python3.9/site-packages/hgsvn-0.6.0-py3.9.egg-info/requires.txt
/usr/lib/python3.9/site-packages/hgsvn-0.6.0-py3.9.egg-info/top_level.txt
/usr/lib/python3.9/site-packages/hgsvn/__init__.py
/usr/lib/python3.9/site-packages/hgsvn/__pycache__
/usr/lib/python3.9/site-packages/hgsvn/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgsvn/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgsvn/__pycache__/common.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgsvn/__pycache__/common.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgsvn/__pycache__/errors.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgsvn/__pycache__/errors.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgsvn/__pycache__/hgclient.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgsvn/__pycache__/hgclient.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgsvn/__pycache__/shell.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgsvn/__pycache__/shell.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgsvn/__pycache__/svnclient.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgsvn/__pycache__/svnclient.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgsvn/__pycache__/ui.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgsvn/__pycache__/ui.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgsvn/common.py
/usr/lib/python3.9/site-packages/hgsvn/errors.py
/usr/lib/python3.9/site-packages/hgsvn/hgclient.py
/usr/lib/python3.9/site-packages/hgsvn/run
/usr/lib/python3.9/site-packages/hgsvn/run/__init__.py
/usr/lib/python3.9/site-packages/hgsvn/run/__pycache__
/usr/lib/python3.9/site-packages/hgsvn/run/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgsvn/run/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgsvn/run/__pycache__/common.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgsvn/run/__pycache__/common.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgsvn/run/__pycache__/hgimportsvn.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgsvn/run/__pycache__/hgimportsvn.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgsvn/run/__pycache__/hgpullsvn.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgsvn/run/__pycache__/hgpullsvn.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgsvn/run/__pycache__/hgpushsvn.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgsvn/run/__pycache__/hgpushsvn.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgsvn/run/common.py
/usr/lib/python3.9/site-packages/hgsvn/run/hgimportsvn.py
/usr/lib/python3.9/site-packages/hgsvn/run/hgpullsvn.py
/usr/lib/python3.9/site-packages/hgsvn/run/hgpushsvn.py
/usr/lib/python3.9/site-packages/hgsvn/shell.py
/usr/lib/python3.9/site-packages/hgsvn/svnclient.py
/usr/lib/python3.9/site-packages/hgsvn/ui.py
/usr/lib/python3.9/site-packages/hgsvn/unittests
/usr/lib/python3.9/site-packages/hgsvn/unittests/__init__.py
/usr/lib/python3.9/site-packages/hgsvn/unittests/__pycache__
/usr/lib/python3.9/site-packages/hgsvn/unittests/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgsvn/unittests/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgsvn/unittests/__pycache__/_test.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgsvn/unittests/__pycache__/_test.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgsvn/unittests/__pycache__/test_client_utf.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgsvn/unittests/__pycache__/test_client_utf.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgsvn/unittests/__pycache__/test_common.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgsvn/unittests/__pycache__/test_common.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgsvn/unittests/__pycache__/test_hgclient.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgsvn/unittests/__pycache__/test_hgclient.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgsvn/unittests/__pycache__/test_hgclient_base.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgsvn/unittests/__pycache__/test_hgclient_base.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgsvn/unittests/__pycache__/test_svnclient.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/hgsvn/unittests/__pycache__/test_svnclient.cpython-39.pyc
/usr/lib/python3.9/site-packages/hgsvn/unittests/_test.py
/usr/lib/python3.9/site-packages/hgsvn/unittests/test_client_utf.py
/usr/lib/python3.9/site-packages/hgsvn/unittests/test_common.py
/usr/lib/python3.9/site-packages/hgsvn/unittests/test_hgclient.py
/usr/lib/python3.9/site-packages/hgsvn/unittests/test_hgclient_base.py
/usr/lib/python3.9/site-packages/hgsvn/unittests/test_svnclient.py
/usr/share/doc/hgsvn
/usr/share/doc/hgsvn/AUTHORS.txt
/usr/share/doc/hgsvn/README.txt
/usr/share/doc/hgsvn/TODO.txt
/usr/share/licenses/hgsvn
/usr/share/licenses/hgsvn/COPYING.txt

References

Summary

In this tutorial we learn how to install hgsvn on Fedora 34 using yum and dnf.