{"thread":{"id":"17242","subject":"[PATCH] git-svn: Show UUID in svn info for added directories with svn 1.5.5","startedAt":"2009-01-19T02:02:01Z","lastAt":"2009-01-19T03:04:44Z","messageCount":2,"participants":["Marcel Koeppen","Eric Wong"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"101078","messageId":"1232330521-50197-1-git-send-email-git-dev@marzelpan.de","threadId":"17242","inReplyTo":null,"subject":"[PATCH] git-svn: Show UUID in svn info for added directories with svn 1.5.5","fromName":"Marcel Koeppen","fromEmail":"git-dev@marzelpan.de","sentAt":"2009-01-19T02:02:01Z","receivedAt":"2009-01-19T02:02:01Z","isPatch":true,"sender":{"key":"git-dev@marzelpan.de","avatar":"https://gravatar.com/avatar/73c4b29dc13b236d868ba2f40a10262caaf43c0e37d48c459ca07bf3176fa1ba?d=mp&s=160"},"body":"In svn 1.5.5 the output of \"svn info\" for added directories was changed\nand now shows the repository UUID. This patch implements the same\nbehavior for \"git svn info\" and makes t9119-git-svn-info.17 pass if\nsvn 1.5.5 is used.\n\nSigned-off-by: Marcel Koeppen <git-dev@marzelpan.de>\n---\n git-svn.perl |    3 ++-\n 1 files changed, 2 insertions(+), 1 deletions(-)\n\ndiff --git a/git-svn.perl b/git-svn.perl\nindex ad01e18..2f16a4e 100755\n--- a/git-svn.perl\n+++ b/git-svn.perl\n@@ -911,7 +911,8 @@ sub cmd_info {\n \tif ($@) {\n \t\t$result .= \"Repository Root: (offline)\\n\";\n \t}\n-\t$result .= \"Repository UUID: $uuid\\n\" unless $diff_status eq \"A\";\n+\t$result .= \"Repository UUID: $uuid\\n\" unless $diff_status eq \"A\" &&\n+\t\t($SVN::Core::VERSION le '1.5.4' || $file_type ne \"dir\");\n \t$result .= \"Revision: \" . ($diff_status eq \"A\" ? 0 : $rev) . \"\\n\";\n \n \t$result .= \"Node Kind: \" .\n-- \n1.6.1.142.g76f25\n"},{"id":"101086","messageId":"20090119030444.GA21944@dcvr.yhbt.net","threadId":"17242","inReplyTo":"1232330521-50197-1-git-send-email-git-dev@marzelpan.de","subject":"Re: [PATCH] git-svn: Show UUID in svn info for added directories with svn 1.5.5","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2009-01-19T03:04:44Z","receivedAt":"2009-01-19T03:04:44Z","isPatch":true,"sender":{"key":"e@80x24.org","avatar":null},"body":"Marcel Koeppen <git-dev@marzelpan.de> wrote:\n> In svn 1.5.5 the output of \"svn info\" for added directories was changed\n> and now shows the repository UUID. This patch implements the same\n> behavior for \"git svn info\" and makes t9119-git-svn-info.17 pass if\n> svn 1.5.5 is used.\n> \n> Signed-off-by: Marcel Koeppen <git-dev@marzelpan.de>\n\nThanks Marcel,\nAcked-by: Eric Wong <normalperson@yhbt.net>\n\n> ---\n>  git-svn.perl |    3 ++-\n>  1 files changed, 2 insertions(+), 1 deletions(-)\n> \n> diff --git a/git-svn.perl b/git-svn.perl\n> index ad01e18..2f16a4e 100755\n> --- a/git-svn.perl\n> +++ b/git-svn.perl\n> @@ -911,7 +911,8 @@ sub cmd_info {\n>  \tif ($@) {\n>  \t\t$result .= \"Repository Root: (offline)\\n\";\n>  \t}\n> -\t$result .= \"Repository UUID: $uuid\\n\" unless $diff_status eq \"A\";\n> +\t$result .= \"Repository UUID: $uuid\\n\" unless $diff_status eq \"A\" &&\n> +\t\t($SVN::Core::VERSION le '1.5.4' || $file_type ne \"dir\");\n>  \t$result .= \"Revision: \" . ($diff_status eq \"A\" ? 0 : $rev) . \"\\n\";\n>  \n>  \t$result .= \"Node Kind: \" .\n> -- \n"}]}