* 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-e597b4017df7remotes/merged-file-views
parent
34f764bc8f
commit
e6d8e1306d
|
@ -178,7 +178,8 @@ if __name__ == '__main__':
|
||||||
db.PurgeRepository(root)
|
db.PurgeRepository(root)
|
||||||
|
|
||||||
if command in ('rebuild', 'update'):
|
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,
|
RecurseUpdate(db, repository, path_parts,
|
||||||
command == 'update', quiet_level)
|
command == 'update', quiet_level)
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
|
|
|
@ -223,7 +223,8 @@ def NextFile(s, pos = 0):
|
||||||
def ProcessLoginfo(rootpath, directory, files):
|
def ProcessLoginfo(rootpath, directory, files):
|
||||||
cfg = viewvc.load_config(CONF_PATHNAME)
|
cfg = viewvc.load_config(CONF_PATHNAME)
|
||||||
db = cvsdb.ConnectDatabase(cfg)
|
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
|
# split up the directory components
|
||||||
dirpath = filter(None, string.split(os.path.normpath(directory), os.sep))
|
dirpath = filter(None, string.split(os.path.normpath(directory), os.sep))
|
||||||
|
|
Loading…
Reference in New Issue