[Nagiosplug-checkins] SF.net SVN: nagiosplug:[2117] nagiosplug/trunk/tools/git2svn.pl
dermoth at users.sourceforge.net
dermoth at users.sourceforge.net
Tue Jan 6 06:51:13 CET 2009
Revision: 2117
http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2117&view=rev
Author: dermoth
Date: 2009-01-06 05:51:13 +0000 (Tue, 06 Jan 2009)
Log Message:
-----------
git2svn: Use --add-author-from with "git set-tree"
From: Thomas Guyot-Sionnest <dermoth at aei.ca>
Modified Paths:
--------------
nagiosplug/trunk/tools/git2svn.pl
Modified: nagiosplug/trunk/tools/git2svn.pl
===================================================================
--- nagiosplug/trunk/tools/git2svn.pl 2009-01-06 05:46:29 UTC (rev 2116)
+++ nagiosplug/trunk/tools/git2svn.pl 2009-01-06 05:51:13 UTC (rev 2117)
@@ -114,8 +114,8 @@
# 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 ($?);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list