Jason Smith
Jason Smith

Reputation: 469

How can I open specific project in TortoiseHg workbench from CLI

I am using TortoiseHg on MacOS, and would like to open the repository of the project I am working on in workbench from the command-line. I tried providing a directory names:

% open -a /Applications/TortoiseHg.app ~/MyProject
% open -a /Applications/TortoiseHg.app ~/MyProject/.hg

and also tried specifying just the repository name (as already listed in the repository registry of TortoiseHg):

% open -a /Applications/TortoiseHg.app MyProject

but TortoiseHg merely opens the workbench without already opening any repository. I have to search the list and double click the repository I want to open.

Is there a way to have workbench automatically open a specific repository when started from the command-line?

Upvotes: 1

Views: 71

Answers (0)

Related Questions