How to find my Subversion server version number?

前端 未结 15 1683
北荒
北荒 2020-11-28 18:23

I want to know if my server is running Subversion 1.5.

How can I find that out?

Also would be nice to know my SVN client version number. svn help

相关标签:
15条回答
  • 2020-11-28 18:48

    Just use a web browser to go to the SVN address. Check the source code (Ctrl + U). Then you will find something like in the HTML code:

    <svn version="1.6. ..." ...
    
    0 讨论(0)
  • 2020-11-28 18:50

    One more option: If you have Firefox (I am using 14.0.1) and a SVN web interface:

    • Open Tools->Web Developer->Web Console on a repo page
    • Refresh page
    • Click on the GET line
    • Look in the Response Headers section at the Server: line

    There should be an "SVN/1.7.4" string or similar there. Again, this will probably only work if you have "ServerTokens Full" as mentioned above.

    0 讨论(0)
  • 2020-11-28 18:50

    For a svn+ssh configuration, use ssh to run svnserve --version on the host machine:

    $ ssh user@host svnserve --version

    It is necessary to run the svnserve command on the machine that is actually serving as the server.

    0 讨论(0)
  • 2020-11-28 18:51

    If you use VisualSVN Server, you can find out the version number by several different means.

    Use VisualSVN Server Manager

    Follow these steps to find out the version via the management console:

    1. Start the VisualSVN Server Manager console.
    2. See the Version at the bottom-right corner of the dashboard.

    If you click Version you will also see the versions of the components.

    Check the README.txt file

    Follow these steps to find out the version from the readme.txt file:

    1. Start notepad.exe.
    2. Open the %VISUALSVN_SERVER%README.txt file. The first line shows the version number.

    0 讨论(0)
  • 2020-11-28 18:52

    Try this:

    ssh your_user@your_server svnserve --version
    
    svnserve, version 1.3.1 (r19032)
       compiled May  8 2006, 07:38:44
    

    I hope it helps.

    0 讨论(0)
  • 2020-11-28 18:56

    On the server: svnserve --version

    in case of svnserve-based configuration (svn:// and svn+xxx://).

    (For completeness).

    0 讨论(0)
提交回复
热议问题