sourcetree for svn

xu Nic March 11, 2015

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

==============================

abort: 'http://192.168.1.3:81/svn/hundousanguo/' 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)"

     href="http://subversion.apache.org/">

  <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" />

  </index>

</svn>

 

---%<---

!

fatal: repository 'http://192.168.1.3:81/svn/hundousanguo/' not found

1 answer

0 votes
Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 12, 2015

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.

xu Nic March 12, 2015

i have a try , thanks

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events