Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Setting on Mercurial server for SourceTree

hisaotsu June 27, 2017

I built a Mercurial server in my test bed.
The repository can be cloned and pushed without any problem from hg command on Solaris/Linux box.

However, trying to clone the same repository from SourceTree for Windows, it seems to be unable to recognize, but it tells me it is an invalid repository type.

What are the settings I should check to include in hgrc for SourceTree to recognize as a Mercurial repository?

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 29, 2017

Hi Hisao, when you receive that error message you should be getting a "Details" button too. Can you let us know what does it say when clicking on it?

Apart from that, can you provide the following information:

  1. SourceTree version and OS version
  2. Log file, you can find its location at SourceTree logfile location
  3. Run this command followed by the URL of the repo you're trying to clone, and send us the input 
    hg identify {URL}

Best regards,

Ana

hisaotsu June 30, 2017

Hi Ana,

Thank you for your prompt answer.

1. SourceTree 2.1.2.5 (Windows)

2. The log file is quite large, so I am quoting the part of the log.  If you need the full log, please let me know how to upload it.

ERROR [2017-06-30 17:59:15,615] [39] [SourceTree.ViewModel.CloneNewDialogViewModel+<CheckSource>d__197] [MoveNext] - Could not determine repository from: 'http://ht3.jp.acme.com/hg', output was:
ERROR [2017-06-30 17:59:15,616] [39] [SourceTree.ViewModel.CloneNewDialogViewModel+<CheckSource>d__197] [MoveNext] - System.ComponentModel.Win32Exception: 指定されたファイルが見つかりません。
*** failed to import extension hggit: No module named hggit
abort: HTTP Error 502: notresolvable
fatal: unable to access 'http://ht3.jp.acme.com/hg/': The requested URL returned error: 502

3. Please see below.

D:\htsujimu\Documents\02_CU>C:\Users\htsujimu\AppData\Local\Atlassian\SourceTree\hg_local\hg.exe identify http://ht3.jp.acme.com/hg
*** failed to import extension hggit: No module named hggit
abort: HTTP Error 502: notresolvable

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events