开发者

find out SVN revision on Server from shell

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜