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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Setting on Mercurial server for SourceTree

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 Jun 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

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
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,999 views 0 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you