Skip to content
This repository has been archived by the owner on Jul 24, 2020. It is now read-only.

error in find_git_command #317

Open
jessekps opened this issue Jan 15, 2016 · 2 comments
Open

error in find_git_command #317

jessekps opened this issue Jan 15, 2016 · 2 comments

Comments

@jessekps
Copy link

Hello,

I am using tortoisehg version 3.6.3 on windows 7. Been using it without problems for a while.

When trying to clone a git repository using hggit plugin I get the error below. I can clone hg repositories fine. I haven't found this specific issue online.

% hg clone U:/dev/faceIt k:/test
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)]
** Mercurial Distributed SCM (version 3.6.3)
** Extensions loaded: hggit, tortoisehg.util.hgcommands, tortoisehg.util.partialcommit, tortoisehg.util.pipeui, tortoisehg.util.win32ill, tortoisehg.util.hgdispatch
Traceback (most recent call last):
File "hg", line 49, in
File "mercurial\dispatch.pyo", line 54, in run
File "mercurial\dispatch.pyo", line 116, in dispatch
File "mercurial\dispatch.pyo", line 187, in _runcatch
File "mercurial\dispatch.pyo", line 920, in _dispatch
File "mercurial\dispatch.pyo", line 679, in runcommand
File "mercurial\dispatch.pyo", line 1051, in _runcommand
File "mercurial\dispatch.pyo", line 1011, in checkargs
File "mercurial\dispatch.pyo", line 917, in
File "mercurial\util.pyo", line 801, in check
File "mercurial\commands.pyo", line 5926, in serve
File "mercurial\cmdutil.pyo", line 828, in service
File "mercurial\commandserver.pyo", line 290, in run
File "mercurial\commandserver.pyo", line 243, in serve
File "mercurial\commandserver.pyo", line 221, in serveone
File "mercurial\commandserver.pyo", line 204, in runcommand
File "mercurial\dispatch.pyo", line 116, in dispatch
File "mercurial\dispatch.pyo", line 187, in _runcatch
File "mercurial\extensions.pyo", line 183, in closure
File "tortoisehg\util\hgdispatch.pyo", line 23, in _dispatch
File "mercurial\dispatch.pyo", line 920, in dispatch
File "mercurial\dispatch.pyo", line 679, in runcommand
File "mercurial\dispatch.pyo", line 1051, in runcommand
File "mercurial\dispatch.pyo", line 1011, in checkargs
File "mercurial\dispatch.pyo", line 917, in
File "mercurial\util.pyo", line 801, in check
File "mercurial\commands.pyo", line 1453, in clone
File "mercurial\hg.pyo", line 555, in clone
File "mercurial\localrepo.pyo", line 1852, in clone
File "mercurial\extensions.pyo", line 183, in closure
File "hggit\util.pyo", line 48, in inner
File "hggit__init
.pyo", line 331, in exchangepull
File "hggit\git_handler.pyo", line 259, in fetch
File "hggit\git_handler.pyo", line 1128, in fetch_pack
File "dulwich\client.pyo", line 555, in fetch_pack
File "dulwich\client.pyo", line 725, in _connect
File "dulwich\client.pyo", line 700, in find_git_command
pywintypes.error: (2, 'FindExecutable', 'The system cannot find the file specified.')
cmdserver: process exited unexpectedly with code 255

@ziriax
Copy link

ziriax commented Oct 7, 2017

Did you ever get this working? I always get this error when hg push GIT-REPO is about the complete :(

@ziriax
Copy link

ziriax commented Oct 7, 2017

Go figure, when adding the path of GIT.exe to my path AGAIN, it worked.

path "c:\Program Files\git\cmd";%path%

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants