Commit 34b9ec8d authored by Junio C Hamano's avatar Junio C Hamano

Merge branch 'ew/svn-branch-segfault-fix' into maint

Workaround for segfault with more recent versions of SVN.

* ew/svn-branch-segfault-fix:
  git-svn: control destruction order to avoid segfault
parents 091853a1 7f6f75e9
......@@ -1200,6 +1200,11 @@ sub cmd_branch {
$ctx->copy($src, $rev, $dst)
unless $_dry_run;
# Release resources held by ctx before creating another SVN::Ra
# so destruction is orderly. This seems necessary with SVN 1.9.5
# to avoid segfaults.
$ctx = undef;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment