Search code examples
svnphabricator

How to change Phabricator svn+ssh URIs?


I sync a project from SVN server to Phabricator.
svn+ssh works fine, but the uri shows "svn+ssh://IP/source/project".
How can I change it from source to svn ?

https://i.sstatic.net/zr9uB.png


Solution

  • As of Phabricator source, there are three possibilities to set the URL for the given Phabricator repository, these all happen in the basic setting of the repository: enter image description here

    1) Setting only the name leads to these kind of URLs:

    /diffusion/{$id}/{$clone_name}{$suffix}
    

    2) Setting Call Sign (Which can only be uppercase) leads to these kind of URLs:

    /diffusion/{$callsign}/{$clone_name}{$suffix}
    

    3) Setting Short Name leads to these kind of URLs:

    /source/{$short_name}{$suffix}
    

    So to answer your question this is not possible without a change to the Phabricator source code.