From e6d8e1306dd324e0d38c7b231aac1e88474b6d6c Mon Sep 17 00:00:00 2001 From: cmpilato Date: Tue, 12 Feb 2008 15:27:12 +0000 Subject: [PATCH] * bin/loginfo-handler, * bin/cvsdbadmin Update calls to vclib.ccvs.CVSRepository() to account for new 'authorizer' parameter. git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1778 8cb11bc2-c004-0410-86c3-e597b4017df7 --- bin/cvsdbadmin | 3 ++- bin/loginfo-handler | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/cvsdbadmin b/bin/cvsdbadmin index f9b43364..91aa9fef 100755 --- a/bin/cvsdbadmin +++ b/bin/cvsdbadmin @@ -178,7 +178,8 @@ if __name__ == '__main__': db.PurgeRepository(root) if command in ('rebuild', 'update'): - repository = vclib.ccvs.CVSRepository(None, root, cfg.utilities, 0) + repository = vclib.ccvs.CVSRepository(None, root, None, + cfg.utilities, 0) RecurseUpdate(db, repository, path_parts, command == 'update', quiet_level) except KeyboardInterrupt: diff --git a/bin/loginfo-handler b/bin/loginfo-handler index d15e5063..94634242 100755 --- a/bin/loginfo-handler +++ b/bin/loginfo-handler @@ -223,7 +223,8 @@ def NextFile(s, pos = 0): def ProcessLoginfo(rootpath, directory, files): cfg = viewvc.load_config(CONF_PATHNAME) db = cvsdb.ConnectDatabase(cfg) - repository = vclib.ccvs.CVSRepository(None, rootpath, cfg.utilities, 0) + repository = vclib.ccvs.CVSRepository(None, rootpath, None, + cfg.utilities, 0) # split up the directory components dirpath = filter(None, string.split(os.path.normpath(directory), os.sep))