From: Thomas Guyot-Sionnest Date: Tue, 6 Jan 2009 05:49:16 +0000 (-0500) Subject: git2svn: Use --add-author-from with "git set-tree" X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3169745fa2beedbffb6a206ca4619ae41099df43;p=nagiosplug.git git2svn: Use --add-author-from with "git set-tree" --- diff --git a/tools/git2svn.pl b/tools/git2svn.pl index c90ea96..afe2b3b 100755 --- a/tools/git2svn.pl +++ b/tools/git2svn.pl @@ -114,8 +114,8 @@ if (@commits == 0) { # Finally, commit every revision found into SVN foreach my $commit (@commits) { print "Commiting $commit to Subversion\n"; - print "Running: $git svn set-tree $commit\n" if ($DEBUG); - `$git svn set-tree $commit`; + print "Running: $git svn set-tree --add-author-from $commit\n" if ($DEBUG); + `$git svn set-tree --add-author-from $commit`; die("Failed to commit hash $commit") if ($?); }