"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "bin/svndbadmin" between
viewvc-1.1.28.tar.gz and viewvc-1.2.1.tar.gz

About: ViewVC is a browser interface for CVS and Subversion version control repositories.

svndbadmin  (viewvc-1.1.28):svndbadmin  (viewvc-1.2.1)
skipping to change at line 60 skipping to change at line 60
import os import os
if LIBRARY_DIR: if LIBRARY_DIR:
sys.path.insert(0, LIBRARY_DIR) sys.path.insert(0, LIBRARY_DIR)
else: else:
sys.path.insert(0, os.path.abspath(os.path.join(sys.argv[0], "../../lib"))) sys.path.insert(0, os.path.abspath(os.path.join(sys.argv[0], "../../lib")))
######################################################################### #########################################################################
import os import os
import string
import re import re
import svn.core import svn.core
import svn.repos import svn.repos
import svn.fs import svn.fs
import svn.delta import svn.delta
import cvsdb import cvsdb
import viewvc import viewvc
import vclib import vclib
skipping to change at line 345 skipping to change at line 344
try: try:
index = args.index('--force') index = args.index('--force')
force = 1 force = 1
del args[index] del args[index]
except ValueError: except ValueError:
pass pass
if len(args) < 3: if len(args) < 3:
usage() usage()
command = string.lower(args[1]) command = args[1].lower()
if command not in ('rebuild', 'update', 'purge'): if command not in ('rebuild', 'update', 'purge'):
sys.stderr.write('ERROR: unknown command %s\n' % command) sys.stderr.write('ERROR: unknown command %s\n' % command)
usage() usage()
revs = [] revs = []
if len(sys.argv) > 3: if len(sys.argv) > 3:
if command == 'rebuild': if command == 'rebuild':
sys.stderr.write('ERROR: rebuild no longer accepts a revision ' sys.stderr.write('ERROR: rebuild no longer accepts a revision '
'number argument. Usage update --force.') 'number argument. Usage update --force.')
usage() usage()
 End of changes. 2 change blocks. 
2 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)