开发者

find out SVN revision on Server from shell

开发者 https://www.devze.com 2023-03-23 18:08 出处:网络
Is it possible to find out the current revision of the SVN repo from a bash script. I thought I could do that with svnversion ...

Is it possible to find out the current revision of the SVN repo from a bash script. I thought I could do that with svnversion ...

开发者_Python百科
REV=`svnversion http://host/path/to/svn`

... but it only works with local working copies.


What about the following:

svn info http://host/path/to/svn

svnversion is intended to do this only for working copies.

0

精彩评论

暂无评论...
验证码 换一张
取 消