git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3/4] git-svn: collect revision properties when fetching
@ 2006-12-04  9:40 Sam Vilain
  0 siblings, 0 replies; only message in thread
From: Sam Vilain @ 2006-12-04  9:40 UTC (permalink / raw)
  To: git

Perhaps there is information in the "revision properties" (unversioned
metadata associated with commits) that will affect the way that we
save the revision.  Collect them.
---
 git-svn.perl |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/git-svn.perl b/git-svn.perl
index c5f82be..74b04d0 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -441,12 +441,16 @@ sub fetch_lib {
 					if ($last_commit) {
 						$log_msg = libsvn_fetch(
 							$last_commit, @_);
+						$log_msg->{revprops}
+						    = $SVN->rev_proplist($log_msg->{revision});
 						$last_commit = git_commit(
 							$log_msg,
 							$last_commit,
 							@parents);
 					} else {
 						$log_msg = libsvn_new_tree(@_);
+						$log_msg->{revprops}
+						    = $SVN->rev_proplist($log_msg->{revision});
 						$last_commit = git_commit(
 							$log_msg, @parents);
 					}
-- 
1.4.4.1.ge918e-dirty

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-04 23:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-04  9:40 [PATCH 3/4] git-svn: collect revision properties when fetching Sam Vilain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).