Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
thg
thg
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 799
    • Issues 799
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mercurial
  • TortoiseHg
  • thgthg
  • Wiki
  • CentOS

Last edited by Yuya Nishihara Dec 11, 2014
Page history

CentOS

== Installing on CentOS 6.3 ==

The tip of TortoiseHg stable (post 2.7) is now mostly functional on CentOS 6.3. Use these instructions to get a source install:

{{{
# get prereq packages
yum install epel-release
yum install PyQt4-devel python-devel python-iniparse gcc gettext
yum --enablerepo=epel install qscintilla-python python-keyring python-sphinx Django

# install Mercurial from source to bootstrap
mkdir ~/repos
mkdir ~/bin
cd ~/repos
wget http://mercurial.selenic.com/release/mercurial-2.4.2.tar.gz
tar xzvf mercurial-2.4.2.tar.gz
cd mercurial-2.4.2/
make local

# now get a Mercurial clone, to stay up to date
./hg clone http://selenic.com/hg#stable ../hg
cd ../hg
make local
cd ~/bin
ln -s ~/repos/hg/hg .

# now get a TortoiseHg clone
cd ~/repos
hg clone https://bitbucket.org/tortoisehg/thg
cd thg
ln -s ../hg/mercurial/
ln -s ../hg/hgext/
cd ~/bin
ln -s ~/repos/thg/thg .

# cleanup
rm -rf ~/repos/mercurial-2.4.2/ ~/repos/mercurial-2.4.2.tar.gz
}}}

The biggest problem with CentOS 6.3 is that PyQt is a bit too old, so the reporegistry code that recovers its configuration from XML cannot work properly, so the registry will always be empty at startup, or will only contain the repository from the working directory. Patches welcome for this.

Also beware I had one XServer lockup while using the workbench full screen. The mouse disappeared and the keyboard became unresponsive. It could just be a problem on my machine, but it's something to be aware of.

I have no idea if the nautilus extension works on CentOS 6.3

Clone repository
  • BugReport
  • CentOS
  • FixedBugs
  • Home
  • KeySequences
  • Nit
  • OldNews
  • OlderReleaseNotes
  • OpenAtLine
  • ReleaseNotes
  • RoadMap
  • SVN HG
  • SVN
  • Ubuntu
  • developers
    • CommonSignals
View All Pages