Fisheye 与Perforce 连接问题

问题1

在Fisheye 中添加新的repository (Perforce)时遇到了下面的连接错误:

Unable to determine latest revision. No revision information was returned - check path exists, permissions and output encoding

username/password 肯定没问题,可以用它在P4V 中登陆。

Google 了一下,发现了这个https://confluence.atlassian.com/display/FISHEYE027/Perforce+Client。 但是对我没有帮助。

突然间想到应该是这个用户的权限不能访问那个path。 果然加了对那个path read的权限后,问题解决了。

问题2

期间还遇到了这个问题:

Error testing connection.
Unable to determine latest revision. No revision information was returned - check path exists, permissions and output encoding
at com.cenqua.fisheye.perforce.client.P4Client.getLatestRevision(P4Client.java:108)
at com.cenqua.fisheye.perforce.P4ScmConfig.testConnection(P4ScmConfig.java:168)
at com.cenqua.fisheye.perforce.P4ScmConfig.testConnection(P4ScmConfig.java:155)
at com.cenqua.fisheye.RepositoryConfig.testConnection(RepositoryConfig.java:444)
at com.atlassian.fisheye.spi.admin.impl.DefaultRepositoryAdminService.testConnectionFor(DefaultRepositoryAdminService.java:567)
Connection failed.

解决办法是在advan settings 中把InitialImport 选中。

Fisheye 与Perforce 连接问题_第1张图片


你可能感兴趣的:(Atlassion,Fisheye,Perforce,Repository)