Re: [viewvc-users] svndbadmin rebuild error

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <[email protected]>
Gaston wrote:
> Hi, I`m getting the following error when I run:
>  
> ./svndbadmin rebuild /data/svn/repo
> 
> 
> Traceback (most recent call last):
>   File "./svndbadmin", line 357, in ?
>     main(command, repository, revs, verbose, force)
>   File "./svndbadmin", line 248, in main
>     db.PurgeRepository(repository)
>   File "/usr/local/viewvc-1.1.1/lib/cvsdb.py", line 547, in PurgeRepository
>     raise Exception, "Unknown repository '%s'" % (repository)
> Exception: Unknown repository '/data/svn/repo'

It seems I inadvertantly changed the promise of 'svndbadmin rebuild' (and
'cvsdbadmin rebuild') when I was fixing other things 'round those parts in
1.1.1.  The usage messages for those say that data will be purge if there is
any, implying that if there's *not* that's okay, too.  But the code isn't as
forgiving.

I filed issue #420 to track this.
http://viewvc.tigris.org/issues/show_bug.cgi?id=420

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2360311

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)

iEYEARECAAYFAkotJ0wACgkQokEGqRcG/W5w4gCdE46czoWOp+2D33fT7XWraEKp
ORsAn2Bji37dYvFGUnxaj+7OQ8rdf4g8
=8kI0
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.