sourcetree for svn

I set up a SVN link, but cannot be cloned, error is as follows


abort: '' does not appear to be an hg repository:

---%<--- (text/xml)

<?xml version="1.0"?>

<?xml-stylesheet type="text/xsl" href="/svnindex.xsl"?>

<!DOCTYPE svn [

  <!ELEMENT svn   (index)>

  <!ATTLIST svn   version CDATA #REQUIRED

                  href    CDATA #REQUIRED>

  <!ELEMENT index (updir?, (file | dir)*)>

  <!ATTLIST index name    CDATA #IMPLIED

                  path    CDATA #IMPLIED

                  rev     CDATA #IMPLIED

                  base    CDATA #IMPLIED>

  <!ELEMENT updir EMPTY>

  <!ATTLIST updir href    CDATA #REQUIRED>

  <!ELEMENT file  EMPTY>

  <!ATTLIST file  name    CDATA #REQUIRED

                  href    CDATA #REQUIRED>

  <!ELEMENT dir   EMPTY>

  <!ATTLIST dir   name    CDATA #REQUIRED

                  href    CDATA #REQUIRED>


<svn version="1.7.8 (r1419691)"


  <index rev="22728" path="/" base="hundousanguo">

    <updir href="../"/>

    <dir name="Art" href="Art/" />

    <dir name="Designer" href="Designer/" />

    <dir name="Music" href="Music/" />

    <dir name="Program" href="Program/" />

    <dir name="工作计划" href="%e5%b7%a5%e4%bd%9c%e8%ae%a1%e5%88%92/" />

    <dir name="版本整合" href="%e7%89%88%e6%9c%ac%e6%95%b4%e5%90%88/" />

    <file name="表格清单.docx" href="%e8%a1%a8%e6%a0%bc%e6%b8%85%e5%8d%95.docx" />






fatal: repository '' not found

1 answer

SourceTree cannot work directly with SVN. There is a Git-SVN plugin that SourceTree can supposedly use, but according to the error message you quoted, you're trying to use HG (Mercurial) rather than git.

i have a try , thanks

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,110 views 4 2
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you