summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b03a71a)
raw | patch | inline | side by side (parent: b03a71a)
author | Marcel Koeppen <git-dev@marzelpan.de> | |
Mon, 19 Jan 2009 02:02:01 +0000 (03:02 +0100) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Mon, 19 Jan 2009 03:51:44 +0000 (19:51 -0800) |
In svn 1.5.5 the output of "svn info" for added directories was changed
and now shows the repository UUID. This patch implements the same
behavior for "git svn info" and makes t9119-git-svn-info.17 pass if
svn 1.5.5 is used.
Signed-off-by: Marcel Koeppen <git-dev@marzelpan.de>
Acked-by: Eric Wong <normalperson@yhbt.net>
and now shows the repository UUID. This patch implements the same
behavior for "git svn info" and makes t9119-git-svn-info.17 pass if
svn 1.5.5 is used.
Signed-off-by: Marcel Koeppen <git-dev@marzelpan.de>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl | patch | blob | history |
diff --git a/git-svn.perl b/git-svn.perl
index 55c4dfb96879626228c940c06aa6e0a29518f2e9..d4cb538b93418ccb6205181d0c54932f92d3962f 100755 (executable)
--- a/git-svn.perl
+++ b/git-svn.perl
if ($@) {
$result .= "Repository Root: (offline)\n";
}
- $result .= "Repository UUID: $uuid\n" unless $diff_status eq "A";
+ $result .= "Repository UUID: $uuid\n" unless $diff_status eq "A" &&
+ ($SVN::Core::VERSION le '1.5.4' || $file_type ne "dir");
$result .= "Revision: " . ($diff_status eq "A" ? 0 : $rev) . "\n";
$result .= "Node Kind: " .