[viewvc-dev] Re: Maybe a bug or my mistake in conf viewvc
"C. Michael Pilato" <[email protected]> Sat, 02 May 2009 13:36:59 -0400
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.devel |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <[email protected]> |
Wojciech Wróblewski wrote:
> Hello,
>
> It could be a bug or my mistake in configuring ViewVC1.1.0-beta1 with
> Apache2.2.11 using mod_python.py26.
>
> I use newvc template.
>
> I have a repository and there are no files (no revision also) – just
> brand new repository.
>
> I clicked “Revision Log” from menu and that error occur:
>
> *An Exception Has Occurred*
> *Python Traceback*
> Traceback (most recent call last):
> File "C:\viewvc-1.1.0-beta1\lib\viewvc.py", line 4007, in main
> request.run_viewvc()
> File "C:\viewvc-1.1.0-beta1\lib\viewvc.py", line 400, in run_viewvc
> self.view_func(self)
> File "C:\viewvc-1.1.0-beta1\lib\viewvc.py", line 2081, in view_log
> sortby, first, last - first, options)
> File "C:\viewvc-1.1.0-beta1\lib\vclib\svn\svn_repos.py", line 514, in
> itemlog
> first + limit, options)
> File "C:\viewvc-1.1.0-beta1\lib\vclib\svn\svn_repos.py", line 191, in
> _get_history
> 1, rev, options.get('svn_cross_copies', 0))
> File "C:\Program Files\Python26\lib\site-packages\libsvn\repos.py",
> line 407, in svn_repos_history
> return apply(_repos.svn_repos_history, args)
> SubversionException: ('No such revision 1', 160006)
>
> If You could tell me if it is a ViewVC bug (not supporting clean
> repositories, without any revisions) or I just made a mistake.
This is a bug in ViewVC -- I think I hard-coded a "1" for a revision number
without considering that the repository could be revision-less.
--
C. Michael Pilato <[email protected]>
CollabNet <> www.collab.net <> Distributed Development On Demand
------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4251&dsMessageId=2033837
To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkn8hLsACgkQokEGqRcG/W76ngCfaroQBdwVPltJuxedGBHv242n 5EoAoI9Fxe8A54dg7RImHQ90qNUbVtJR =yf3h -----END PGP SIGNATURE-----