Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to connect to repository using TortoiseHg workbench?

I am noob at things like these. At work team leader installed Mercurial in my PC. And created folder. After doing several things he connected my folder with folder in his PC. I forgot what he did. Now I need to connect my home PC to that folder. If there is a tutorial for this?

like image 601
Rabi Avatar asked Jan 12 '12 16:01

Rabi


1 Answers

There is the TortoiseHg documentation. It's quite good and has a description of the common tasks. What I think you're looking for is the Open Repository menu item in the File menu:

TortoiseHg File menu

As the menu says, you can also use Ctrl+O as a keyboard shortcut. That will add it to the Repository Registry in the left side of the workbench.


Turns out it wasn't the Open Repository item after all. My next guess is that clicking two arrows in the Task Toolbar will help. That brings up the Synchronize Window where you can add a new path to repository settings. That's the bottom left side here:

Synchronize Window

Pick the type in the first drop-down (pick "local" if you can browse to the repository on your file system) and then enter the path to the repository. Click the little floppy disk icon to the right to save the path. Use the name default to make it the default push and pull path.

If the team leader's repository is accessed over HTTP, then you need the right host name or IP address to be able to connect. You should have gotten this information from the team leader.

If you start by opening the team leader's repository, then you'll find it listed in the bottom right side. You can then click on the repository and save the path.

like image 169
Martin Geisler Avatar answered Oct 12 '22 19:10

Martin Geisler