Add files now remapps to absolute path on commit
This commit is contained in:
@@ -241,7 +241,9 @@ class FileAPI(Resource):
|
||||
|
||||
import shutil
|
||||
for src_file_path, dst_file_path in path_remap.items():
|
||||
shutil.move(os.path.join(extract_tmp_dir, src_file_path), dst_file_path)
|
||||
shutil.move(
|
||||
os.path.join(extract_tmp_dir, src_file_path),
|
||||
os.path.join(project.repository_path, dst_file_path))
|
||||
|
||||
# TODO, dry run commit (using commit message)
|
||||
# Seems not easily possible with SVN, so we might just smartly use svn status
|
||||
|
Reference in New Issue
Block a user