fix: don't override --username in svn commit/copy (use auth_args for both auth and author)
This commit is contained in:
@@ -401,7 +401,7 @@ def _sync_git_to_svn_impl(mirror: Mirror) -> int:
|
|||||||
)
|
)
|
||||||
|
|
||||||
result = _run_svn(
|
result = _run_svn(
|
||||||
["commit", "--file", "-", "--username", svn_username],
|
["commit", "--file", "-"],
|
||||||
input=message.encode("utf-8"),
|
input=message.encode("utf-8"),
|
||||||
wc=wc, timeout=120, auth_args=auth_args,
|
wc=wc, timeout=120, auth_args=auth_args,
|
||||||
)
|
)
|
||||||
@@ -449,7 +449,7 @@ def _sync_git_to_svn_impl(mirror: Mirror) -> int:
|
|||||||
|
|
||||||
result = _run_svn(
|
result = _run_svn(
|
||||||
["copy", "-r", str(source_rev), src_url, dst_url,
|
["copy", "-r", str(source_rev), src_url, dst_url,
|
||||||
"-m", message, "--username", svn_username],
|
"-m", message],
|
||||||
timeout=120, auth_args=auth_args,
|
timeout=120, auth_args=auth_args,
|
||||||
)
|
)
|
||||||
new_rev = _parse_commit_revision(result)
|
new_rev = _parse_commit_revision(result)
|
||||||
|
|||||||
Reference in New Issue
Block a user