简体   繁体   English

SVN中特定分支(在另一个分支内)的修订-使用SVNKit

[英]The revision of a specific branch(within another branch) within SVN - Using SVNKit

I am trying to get the latest revision from a folder within a branch on svn. 我正在尝试从svn上一个分支的文件夹中获取最新版本。 The problem is when I do 问题是我什么时候做

repository.getLatestRevision(); //with url of the folder: /svn/home/test/foldertest/scripts

I do not get the correct revision of the folder, but I get the latest revision from the url: "svn/home". 我没有得到该文件夹​​的正确修订版本,但是从url: "svn/home".获得了最新修订版本url: "svn/home".

I hope I'm being clear enough. 我希望我已经足够清楚了。

I'm using SVNKit as library for this java application. 我正在使用SVNKit作为此Java应用程序的库。

What could be the problem? 可能是什么问题呢?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM