Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-1987

Fisheye throws error when you add a svn repository with 0 revisions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.0.3
    • 2.0.2
    • Indexing

    Description

      When you add a repository with 0 revisions fisheye throws an error as it tries to index the first revision which doesn't exist:

      2009-08-03 20:39:31,163 DEBUG [InitialPinger1] fisheye.app SvnThrottledClient-start - Executing info -r HEAD file:///path/to/svn/repo/@HEAD
      2009-08-03 20:39:31,164 DEBUG [InitialPinger1] fisheye.app SvnThrottledClient-start - Executing log -v -r 0:HEAD file:///path/to/svn/repo/@HEAD
      2009-08-03 20:39:31,164 DEBUG [InitialPinger1] fisheye.app SvnThrottledClient-start - Executing log -v -r 1:1 file:///path/to/svn/repo/@1
      2009-08-03 20:39:31,165 ERROR [InitialPinger1] fisheye.app RepositoryScanner-slurp - Problem processing revisions from repo file:///path/to/svn/repo/ due to class com.cenqua.fisheye.rep.RepositoryClientException - org.tigris.subversion.javahl.ClientException: svn: No such revision 1
      com.cenqua.fisheye.rep.RepositoryClientException: org.tigris.subversion.javahl.ClientException: svn: No such revision 1
         at com.cenqua.fisheye.svn.SvnThrottledClient.logMessages(SvnThrottledClient.java:130)
         at com.cenqua.fisheye.svn.SvnRepositoryScanner.getRevList(SvnRepositoryScanner.java:140)
         at com.cenqua.fisheye.rep.RepositoryScanner.updateRevList(RepositoryScanner.java:531)
         at com.cenqua.fisheye.rep.RepositoryScanner.processRevisions(RepositoryScanner.java:378)
         at com.cenqua.fisheye.rep.RepositoryScanner.slurpRepository(RepositoryScanner.java:265)
         at com.cenqua.fisheye.rep.RepositoryScanner.slurp(RepositoryScanner.java:185)
      

      Users may point to new svn repos before they have been commited to.

      This error should go away once the first commit is made but it would be nice to handle it.

      The work around for now is to go to Administration > View Repository List > Stop (next to your REPO) and disable the repository until the first commit is made.

      Attachments

        Activity

          People

            cmacneill Conor
            pkamal Partha
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: