Assumption : Your CentOS server is NOT connected to internet but is available on internal network
Check your current mercurial version ‘hg –version’
Step 1: Goto http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/
Search for Latest release , latest as of now is :
Step 2: Download this repo on Machine with access to internet
i have ubuntu box :
Step 3: Transfer to CentOS
scp mercurial-1.9.2-1.el5.rf.x86_64.rpm poorak@centOSBox:~/.
Step 4: go to cd ~/
and Finally Install using yum or rpm
sudo yum install mercurial-1.9.2-1.el5.rf.x86_64.rpm
Sudo rpm -i mercurial-1.9.2-1.el5.rf.x86_64.rpm
and you are Done !