Get revision number of a remote repository

后端 未结 5 1210
半阙折子戏
半阙折子戏 2021-02-14 20:26

On the local machine it is no problem to get the revision number of a subversion repository with svnversion. Now I want to get the revision number from my online re

5条回答
  •  佛祖请我去吃肉
    2021-02-14 20:46

    On Linux, if you want just the revision number:

    svn info http://nick:password@www.myhost.de/svn/test | grep '^Revision:' | awk '{print $2}'

提交回复
热议问题