Results 1 to 10 of 10

Thread: Mercurial with Nautilus

  1. #1
    Join Date
    Aug 2007
    Location
    Knoxville
    Beans
    87
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Mercurial with Nautilus

    I keep a Mercurial repository on my server so that I can easily keep track of changes to my files and have them readily accessible for any computer. Many of my favorite applications also use Mercurial as a distribution method and for managing source code. Even though my heart belongs to the command-line, my new tablet laptop demands more from the graphical interface. So here is a quick tip to get started working with Mercurial graphically.


    The Nautilus extension is not included in the Ubuntu repositories but there is a Personal Package Archive (PPA) available that does have it [1].
    In order to access the PPA start the Synaptic Package Manager from the System->Administration menu on the panel. From inside Synaptic select Settings->Repositories on the menu bar. In the new window change to the Third-Party Software tab and click the add button. Finally, copy/paste this into the newest window
    The deb source can be added as well
    Code:
    deb-src http://ppa.launchpad.net/gpoo/ubuntu hardy main
    Once the PPA is added just reload Synaptic and install
    Code:
    nautilus-mercurial-tortoisehg mercurial-tortoisehg mercurial mercurial-common
    Restart Nautilus using this command from the terminal
    Code:
    nautilus -q
    Now the right click menu has a new menu called Mercurial. No more typing


    In order to clone a remote repository just right click in the desired folder and select Mercurial->Create Clone from the menu. The mercurial-tortoisehg window has many advance options but to clone a remote repository simply add the remote's url to the Source Path input box and click the clone button.



    Now it is easy to create, synchronize, merge, and commit files to Mercurial repositories. All from a right click menu

  2. #2
    Join Date
    Mar 2009
    Beans
    2

    Re: Mercurial with Nautilus

    I followed thr steps u gave but i dont get any of the packages showing up in the package manager after adding the repositories and refreshing the list.

    Btw, I actually already installed mercurial/tortoisehg using the instructions at http://bitbucket.org/tortoisehg/stable/wiki/nautilus but i dont seem to get any mercurial/tortoise options in nautilus.

    Which is how i ended up on this thread.

    Any help greatly appreciated.

  3. #3
    Join Date
    Mar 2009
    Beans
    2

    Re: Mercurial with Nautilus

    No worries - i realized that i am running Ubuntu Intrepid and when i installed using apt-get it got a lower version of Mercurial (1.0.1 or summat) instead of 1.1.2. I downloaded and installed version 1.1.2 fpr i386 and then followed the instructions at the link: http://bitbucket.org/tortoisehg/stable/wiki/nautilus and i now have Mercurial options in Nautilus.

    Phew!

    Hope this helps someone.

  4. #4
    Join Date
    May 2009
    Beans
    3
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Mercurial with Nautilus

    Welcome !

    Is there available repository for Ubuntu Jaunty ?
    I'm thinking about this integration, with nautilus.


    Regards

  5. #5
    Join Date
    Aug 2007
    Location
    Knoxville
    Beans
    87
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Mercurial with Nautilus

    The PPA above works with Jaunty as well.
    /* Christopher Lunsford
    binarymutant.org */

  6. #6
    Join Date
    Jul 2009
    Beans
    2

    Re: Mercurial with Nautilus

    Is there a way to suggest this package inclusion in the official ubuntu repositories ? They already offer several GUI for mercurial but none of them is really usable...

  7. #7
    Join Date
    Sep 2006
    Beans
    3,165
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Mercurial with Nautilus

    Works great on Karmic

  8. #8
    Join Date
    Dec 2007
    Beans
    6

    Re: Mercurial with Nautilus

    Works on Karmic as well but only with the debian packages for Intrepid (not Hardy)

  9. #9
    Join Date
    Mar 2010
    Beans
    3

    Re: Mercurial with Nautilus

    Please help me,
    After followed the instruction here I got TortoiseHg menu when I right clicking any folder. But, the problem is if I click one menu under TortoiseHg menu there is nothing happen (no GUI showed at all). What should I do?

  10. #10
    Join Date
    May 2006
    Location
    Stanford, CA, USA
    Beans
    190
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Mercurial with Nautilus

    Quote Originally Posted by ardinotow View Post
    Please help me,
    After followed the instruction here I got TortoiseHg menu when I right clicking any folder. But, the problem is if I click one menu under TortoiseHg menu there is nothing happen (no GUI showed at all). What should I do?
    I had the same problem, which is a result of using the intrepid package with a lucid version of nautilus and/or mercurial. This tutorial is now out of date - TortoiseHg is now included in the Universe repositories:

    Code:
    sudo apt-get install tortoisehg-nautilus

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •