Details
-
Bug
-
Resolution: Answered
-
Low
-
3.10.3
-
None
-
Severity 3 - Minor
-
Description
Just noticed the test command used in case of mercurial repositories may fail on some repositories, e.g.:
Caused by: com.cenqua.fisheye.config.ConfigException: Error talking to repository: abort: unknown revision '0'! at com.atlassian.fisheye.hg.HgScmConfig.testConnection(HgScmConfig.java:131) [fisheye.jar:?] at com.cenqua.fisheye.RepositoryConfig.testConnection(RepositoryConfig.java:442) [fisheye.jar:?] at com.atlassian.fisheye.spi.admin.impl.DefaultRepositoryAdminService.testConnectionFor(DefaultRepositoryAdminService.java:862) [fisheye.jar:?] ... 161 more Caused by: com.atlassian.utils.process.ProcessException: While executing: "hg --config ui.verbose=false clone --noupdate -r 0 https://code.google.com/p/eventio/ /opt/j2ee/domains/atlassian.com/fisheye2/data/var/tmp/hg_test_clone_1453460366525" at com.atlassian.fisheye.dvcs.DvcsScmConfig.executeCommand(DvcsScmConfig.java:142) [fisheye.jar:?] at com.atlassian.fisheye.hg.HgScmConfig.testConnection(HgScmConfig.java:125) [fisheye.jar:?] ... 163 more
same command works fine for other repositories:
$ hg --config ui.verbose=false clone --noupdate -r 0 ssh://hg@bitbucket.org/lukasz_wlodarczyk/crucible-likes /tmp/xx adding changesets adding manifests adding file changes added 1 changesets with 19 changes to 19 files
In result attempt to "Test Connection" for eventio repository fails:
Error testing connection. Non-zero exit code: 255 at com.atlassian.utils.process.PluggableProcessHandler.complete(PluggableProcessHandler.java:69) at com.atlassian.utils.process.ExternalProcessImpl.wrapUpProcess(ExternalProcessImpl.java:509) at com.atlassian.utils.process.ExternalProcessImpl.finish(ExternalProcessImpl.java:423) at com.atlassian.utils.process.ExternalProcessImpl.execute(ExternalProcessImpl.java:378) at com.atlassian.fisheye.dvcs.DvcsScmConfig.executeCommand(DvcsScmConfig.java:139) Connection failed.
yet I am still able to properly clone and index this repository in FishEye.