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]>
C. Michael Pilato wrote:
> 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

And I've now fixed that issue.  Watch for the fix in tomorrow's nightly
build of 1.1.2-dev (http://viewvc.org/nightly/), and please let us know if
you find further problems.

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

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

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)

iEYEARECAAYFAkotNXMACgkQokEGqRcG/W6WvwCfXxNnqUEEtvyY14Z0cuAQ9cRm
u0kAnieH1UA8WwNp6K8NxkmacuybgBQ3
=rook
-----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.