cleanup: don't overwrite log
its our primary logger, we need to access it!
This commit is contained in:
@@ -176,12 +176,12 @@ class FileAPI(Resource):
|
|||||||
if command == 'info':
|
if command == 'info':
|
||||||
r = svn.local.LocalClient(project.repository_path)
|
r = svn.local.LocalClient(project.repository_path)
|
||||||
|
|
||||||
log = r.log_default(None, None, 5, filepath)
|
svn_log = r.log_default(None, None, 5, filepath)
|
||||||
log = [l for l in log]
|
svn_log = [l for l in svn_log]
|
||||||
|
|
||||||
return jsonify(
|
return jsonify(
|
||||||
filepath=filepath,
|
filepath=filepath,
|
||||||
log=log)
|
log=svn_log)
|
||||||
|
|
||||||
elif command == 'checkout':
|
elif command == 'checkout':
|
||||||
filepath = os.path.join(project.repository_path, filepath)
|
filepath = os.path.join(project.repository_path, filepath)
|
||||||
|
Reference in New Issue
Block a user