Assembla home | Assembla project page
 

Ticket #34 (new enhancement)

Opened 4 months ago

Last modified 3 months ago

Guess path to hg if not configured

Reported by: chyssler Assigned to:
Priority: normal Milestone: 1.2
Component: mercurialeclipse Version:
Severity: normal Keywords:
Cc:

Description

We should guess the path to the executable by checking a series of paths like

  • C:/Program/Mercurial/hg.exe
  • C:/Program Files/Mercurial/hg.exe

And linux versions of common paths

Attachments

Change History

08/03/08 17:20:31 changed by bastiand

that would probably be:

/usr/local/bin/hg /usr/bin/hg ~/bin/hg

It gets interesting if hg is installed in different locations, though...

08/03/08 19:16:30 changed by zingo

In unix shouldn't usually hg be in the path e.g. just "hg" should be fine on most cases?

08/04/08 05:43:38 changed by bastiand

yep, as on windows - the call, only using "hg" is currently already tried. But if it doesn't work, configuration must be done.

08/04/08 07:26:09 changed by chyssler

I'd still prefer having the "correct" path to hg.exe guessed and then test with plain hg as the last element. It just looks better

09/13/08 09:53:57 changed by bastiand

Hm. I still think this is too much fuzzy logic to maintain - but feel free to implement this :-).


Add/Change #34 (Guess path to hg if not configured)