Tuesday, May 7, 2013

getting used to TortoiseHg anew

  1. TortoiseHg is like TortoiseSVN for subversion in that, when you right-click on a file or a folder you will get options for cloning a directory to a folder, adding a file to a local commit, removing a file from a local commit, and many other things.
  2. Work in this manner to get code bases and make local commits.
  3. Go to TortiseHG Workbench to do something more. Here, pick "Open Repository..." from the File menu and browse to the root folder of a local cloned reference to a repository to select THAT code base.
  4. The double arrows (the Synchronize icon in the workbench) will allow you to specify, in another pane, the trunks and branches associated with the repository, these will populate a dropdown menu on the main navigation several icons to the right of the the Synchronize icon.
  5. Pick a trunk or branch here and then click the icon to the immediate left ("Push outgoing changes to selected URL"), which looks like a green arrow pointing from a large yellow cylinder to smaller one, to make a real commit, not a local commit.

No comments:

Post a Comment