{"thread":{"id":"43488","subject":"[PATCH 3/4] git-svn: collect revision properties when fetching","startedAt":"2006-12-04T09:40:39Z","lastAt":"2006-12-04T09:40:39Z","messageCount":1,"participants":["Sam Vilain"],"isPatch":true,"patchVersion":1,"patchTotal":4},"messages":[{"id":"295082","messageId":"20061204235724.61843139B0D@magnus.utsl.gen.nz","threadId":"43488","inReplyTo":null,"subject":"[PATCH 3/4] git-svn: collect revision properties when fetching","fromName":"Sam Vilain","fromEmail":"sam@vilain.net","sentAt":"2006-12-04T09:40:39Z","receivedAt":"2006-12-04T09:40:39Z","isPatch":true,"sender":{"key":"sam@vilain.net","avatar":"https://gravatar.com/avatar/8fc840ca854dbf6f7065b4335e3b934951c1dca3b11db688e95e471901f8f4a8?d=mp&s=160"},"body":"Perhaps there is information in the \"revision properties\" (unversioned\nmetadata associated with commits) that will affect the way that we\nsave the revision.  Collect them.\n---\n git-svn.perl |    4 ++++\n 1 files changed, 4 insertions(+), 0 deletions(-)\n\ndiff --git a/git-svn.perl b/git-svn.perl\nindex c5f82be..74b04d0 100755\n--- a/git-svn.perl\n+++ b/git-svn.perl\n@@ -441,12 +441,16 @@ sub fetch_lib {\n \t\t\t\t\tif ($last_commit) {\n \t\t\t\t\t\t$log_msg = libsvn_fetch(\n \t\t\t\t\t\t\t$last_commit, @_);\n+\t\t\t\t\t\t$log_msg->{revprops}\n+\t\t\t\t\t\t    = $SVN->rev_proplist($log_msg->{revision});\n \t\t\t\t\t\t$last_commit = git_commit(\n \t\t\t\t\t\t\t$log_msg,\n \t\t\t\t\t\t\t$last_commit,\n \t\t\t\t\t\t\t@parents);\n \t\t\t\t\t} else {\n \t\t\t\t\t\t$log_msg = libsvn_new_tree(@_);\n+\t\t\t\t\t\t$log_msg->{revprops}\n+\t\t\t\t\t\t    = $SVN->rev_proplist($log_msg->{revision});\n \t\t\t\t\t\t$last_commit = git_commit(\n \t\t\t\t\t\t\t$log_msg, @parents);\n \t\t\t\t\t}\n-- \n1.4.4.1.ge918e-dirty\n"}]}