Subject: | SVN::Class::Info doesn't handle svn 1.7 info field 'Working Copy Root Path' |
In svn 1.7, 'svn info' now displays 'Working Copy Root Path' for svn
info run on a working copy. This causes tests to fail on systems which
have svn 1.7 installed. Looks like a really easy fix. I've attached a
patch.
Subject: | Info.patch |
--- Info.pm 2010-04-02 22:11:42.000000000 -0500
+++ Info.new 2011-11-06 12:58:20.000000000 -0600
@@ -4,7 +4,7 @@
use base qw( Rose::Object );
use Rose::Object::MakeMethods::Generic (
scalar => [
- qw( path name _url root rev
+ qw( path name wc_root _url root rev
node schedule author last_rev date
updated checksum uuid
)
@@ -73,6 +73,8 @@
Path => 'path',
Name => 'name',
URL => '_url',
+ 'Working Copy Root Path'
+ => 'wc_root',
'Repository Root' => 'root',
'Repository UUID' => 'uuid',
'Revision' => 'rev',