Follow-up to r1407, fixing some calls to modified APIs that I
overlooked in that revision. This fixes issue #264, reported against the nightly build. * bin/loginfo-handler (ProcessLoginfo): Pass cfg.utilities instead of cfg.general to BinCVSRepository(). * bin/cvsdbadmin (usage): Pass cfg.utilities instead of cfg.general to BinCVSRepository() git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1431 8cb11bc2-c004-0410-86c3-e597b4017df7remotes/authz-dev
parent
3e882435f2
commit
6b84e92bdf
|
@ -146,7 +146,7 @@ if __name__ == '__main__':
|
|||
cfg = viewvc.load_config(CONF_PATHNAME)
|
||||
db = cvsdb.ConnectDatabase(cfg)
|
||||
|
||||
repository = vclib.bincvs.BinCVSRepository(None, root, cfg.general)
|
||||
repository = vclib.bincvs.BinCVSRepository(None, root, cfg.utilities)
|
||||
|
||||
RecurseUpdate(db, repository, path_parts, update)
|
||||
|
||||
|
|
|
@ -200,7 +200,7 @@ def NextFile(s, pos = 0):
|
|||
def ProcessLoginfo(rootpath, directory, files):
|
||||
cfg = viewvc.load_config(CONF_PATHNAME)
|
||||
db = cvsdb.ConnectDatabase(cfg)
|
||||
repository = vclib.bincvs.BinCVSRepository(None, rootpath, cfg.general)
|
||||
repository = vclib.bincvs.BinCVSRepository(None, rootpath, cfg.utilities)
|
||||
|
||||
# split up the directory components
|
||||
dirpath = filter(None, string.split(os.path.normpath(directory), os.sep))
|
||||
|
|
Loading…
Reference in New Issue