I've slipped Sventon 2.5.1 into uberSVN-1204. When listing any known path, Sventon returns "0 entries", e.g. the following, and instead I would expect to see a directory listing
http://localhost:9890/RepositoryBrowser/repos/known_repo/list/?revision=HEADI can directly view (goto) or diff any known path in the repo canonically, or get info on any rev:
http://localhost:9890/RepositoryBrowser/repos/known_repo/goto/Any/Known/Path/AFile.txt?revision=1989http://localhost:9890/RepositoryBrowser/repos/known_repo/info?revision=1989I've increased sventon.log to 'debug' (
log4j.rootLogger=debug, logfile), and get the following, including what appears to be a few exceptions:
2013-01-22 16:16:19,607 DEBUG [carbonfive.spring.web.pathparameter.ParameterizedUrlHandlerMapping] - <Path: /repos/known_repo/list/Any/Known/Path/>
2013-01-22 16:16:19,607 DEBUG [carbonfive.spring.web.pathparameter.ParameterizedUrlHandlerMapping] - <Mapping [/repos/known_repo/list/Any/Known/Path/] to org.sventon.web.ctrl.template.RepoBrowserController@8d2bd>
2013-01-22 16:16:19,607 DEBUG [org.sventon.web.ctrl.template.RepoBrowserController] - <Creating new command of class [org.sventon.web.command.MultipleEntriesCommand]>
2013-01-22 16:16:19,607 DEBUG [org.sventon.web.ctrl.template.RepoBrowserController] - <'command' set to: MultipleEntriesCommand[entries={},path=/Any/Known/Path/,pegRevision=-1,revision=HEAD,repositoryName=ems,sortType=<null>,sortMode=<null>,logger=org.apache.commons.logging.impl.SLF4JLocationAwareLog@11972f8]>
2013-01-22 16:16:19,607 DEBUG [com.googlecode.ehcache.annotations.interceptor.EhCacheInterceptor] - <Generated key '1514948750003831' for invocation: ReflectiveMethodInvocation: public abstract java.lang.Long org.sventon.service.RepositoryService.getLatestRevision(org.sventon.SVNConnection) throws org.sventon.SventonException; target is of class [org.sventon.service.RepositoryServiceCacheWrapper]>
2013-01-22 16:16:19,622 DEBUG [com.googlecode.ehcache.annotations.interceptor.EhCacheInterceptor] - <Generated key '3112532221659427810' for invocation: ReflectiveMethodInvocation: public abstract org.sventon.model.Revision org.sventon.service.RepositoryService.translateRevision(org.sventon.SVNConnection,org.sventon.model.Revision,long) throws org.sventon.SventonException; target is of class [org.sventon.service.RepositoryServiceCacheWrapper]>
2013-01-22 16:16:19,622 DEBUG [org.sventon.web.ctrl.template.RepoBrowserController] - <Getting directory contents for: /Any/Known/Path/>
2013-01-22 16:16:19,622 DEBUG [com.googlecode.ehcache.annotations.interceptor.EhCacheInterceptor] - <Generated key '-6051595540183610067' for invocation: ReflectiveMethodInvocation: public abstract org.sventon.model.DirList org.sventon.service.RepositoryService.list(org.sventon.SVNConnection,java.lang.String,long) throws org.sventon.SventonException; target is of class [org.sventon.service.RepositoryServiceCacheWrapper]>
2013-01-22 16:16:19,685 DEBUG [org.sventon.web.ctrl.template.RepoBrowserController] - <Directory entries in /Any/Known/Path/: 2>
2013-01-22 16:16:19,685 DEBUG [org.sventon.web.ctrl.template.RepoBrowserController] - <Properties for /Any/Known/Path/: 11>
2013-01-22 16:16:19,685 DEBUG [org.sventon.web.ctrl.template.RepoBrowserController] - <filterExtension: all>
2013-01-22 16:16:19,685 DEBUG [org.sventon.web.ctrl.template.RepoBrowserController] - <Sort params: FULL_NAME, ASC>
2013-01-22 16:16:19,685 DEBUG [org.sventon.web.ctrl.template.RepoBrowserController] - <Adding data to model>
2013-01-22 16:16:19,685 DEBUG [org.sventon.service.svnkit.SVNKitRepositoryService] - <Getting lock info for path [/Any/Known/Path/] and below>
Meanwhile, I can see the get-list text and props commands in the SVN log, and when I test it with the version of svn.exe bundled with my Tortoise install, the SVN log shows the exact same command. I do get this error when I do an svn list, but I assumed it is harmless:
svn list http://localhost:9880/known_repo/Any/Known/Path r1989 text
(some files)
svn: E155007: 'C:\Program Files\TortoiseSVN\bin\r1989' is not a working copy
SVN is HTTP based, running localhost:9880, as my sventon_config.properties demonstrates:
repositoryRootUrl=http://localhost:9880/known_repo
repositoryDisplayRootUrl=HTTP://192.168.1.1:9880/known_repo
userName=THE_USER
userPassword=THE_PASSWORD
useCache=false
cacheUserName=THE_USER
cacheUserPassword=THE_PASSWORD
allowZipDownloads=true
enableAccessControl=true
rssItemsCount=20
rssTemplateFile=/rsstemplate.html
mailTemplateFile=/mailtemplate.html
enableEntryTray=true
enableIssueTrackerIntegration=false
Why does it say "0 entries", and how can I get it to show more? If the above isn't information isn't enough, where would I dig next?