Re: [viewvc-users] svndbadmin crashing

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <[email protected]>
On 06/29/2011 09:30 PM, Jean-Yves Avenard wrote:
> There's also a mistake in either the program or its description (would
> be nicer if it was the program)
> 
> The inline help states:
> Usage: 1. svndbadmin [-v] rebuild REPOS-PATH
>        2. svndbadmin [-v] update REPOS-PATH [REV:[REV2]] [--force]
>        3. svndbadmin [-v] purge REPOS-PATH

[...]

> Which would indicate that REV2 is an option when doing an update:
> However:
> # /usr/local/viewvc/bin/svndbadmin -v update /pool/data/svn/projects 26724:
> /usr/local/lib/python2.6/site-packages/MySQLdb/__init__.py:34:
> DeprecationWarning: the sets module is deprecated
>   from sets import ImmutableSet
> ERROR: invalid revision specification "26724:"
> 
> if REV argument is in use, you must use REV2
> 
> So the program should be modified so if REV: is used, it automatically
> uses HEAD.
> 
> Or the documentation needs to be changed as:
> 2. svndbadmin [-v] update REPOS-PATH [REV[:REV2]] [--force]
> (the : was moved within the optional argument)

Yep, that's a buglet in the usage message.  I've fixed that on the trunk in
r2588, and backported to 1.1.x in r2589.

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

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

To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk4OCtsACgkQokEGqRcG/W4CbgCgrgcQpF6d1SeZsd9fAnNfT3d3
MGAAnR7jZ51bndRrIGyab5vf7ZpZsn4m
=CeHd
-----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.