SF.net SVN: nagiosplug:[2117] nagiosplug/trunk/tools/git2svn.pl

[email protected]
Newsgroups gmane.network.nagios.plugins.cvs
Message-ID <[email protected]>
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 <[email protected]>

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.

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.