This sets the default username so that your name will show up on changesets you issue, changes the text editor to nano (default is vi) and sets meld as the merge program. Open an editor and Copy and Paste the following into ~/.hgrc: We will write some user configuration options to ~/.hgrc to tweak how Mercurial works. Mercurial keeps system wide configuration options in the file /etc/mercurial/hgrc and user configuration options in ~/.hgrc (in your home directory). cd ~ # there was an hg in mercurial-ver/, remember? If all goes well, you should have a new mercurial installed. If you're using a snapshot, you will probably want to put the date in there (e.g. Accepting all of the defaults is usually sufficient. For the summary, put something descriptive like "Mercurial distributed revision control". If that's OK, use checkinstall (see CheckInstall) to make a.
![sudo apt install meld sudo apt install meld](http://imagebin.ubuntu-gr.org/files2017/1579993414.png)
Install to the local directory to make sure everything works: make local Purge will delete configuration files, which remove keeps. You may need to sudo apt-get purge mercurial instead of remove. If you already have a version installed, remove it.
Sudo apt install meld archive#
If you cannot resolve the issue, please refer the mailing list archive of those packages. If it reports any other issues, please resolve them. If it fails reporting dependencies, please locate the packages and install them. We will also install meld, which is a graphical merge tool useful for resolving conflicting changes. Mercurial is included in the Universe repository - activate this repo first (if you haven't already). To install and configure Mercurial, as well as to install some useful extensions It is also assumed you have an internet connection.
![sudo apt install meld sudo apt install meld](https://3.bp.blogspot.com/-iXVWKXIwirk/WhqQrvioAkI/AAAAAAABJQ0/BNmdhbKbpoMGZ25EOFxJqh7EOMfg0tuLACLcBGAs/s1600/meld.png)
It is also assumed that Ubuntu is running, you have sudo access and you want to use Mercurial software.
Sudo apt install meld how to#
It is assumed that you are aware of how to run Linux commands, edit files, start/stop services in an Ubuntu system. Mercurial is a fast, lightweight Source Control Management system designed for the efficient handling of very large distributed projects. If you are new to Mercurial this section provides a quick introduction. The intended audience is experienced Linux users and system administrators. This wiki document explains how to setup Mercurial on Ubuntu.