On Tuesday 19 February 2008 14:22:23 Ronald Blaschke wrote:
> # New Ticket Created by Ronald Blaschke
> # Please include the string: [perl #51008]
> # in the subject line of all future correspondence about this issue.
> # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=51008 >
>
>
> t/distro/file_metadata.t contacts the server to do its job.
> Specifically this part:
>
> elsif ( !( `svn ls .` or `svk ls .` ) ) {
> plan skip_all => 'not a working copy';
> }
>
> That's because "svn ls" does:
>
> List each TARGET file and the contents of each TARGET directory as
> they exist in the repository. If TARGET is a working copy path, the
> corresponding repository URL will be used. If specified, REV determines
> in which revision the target is first looked up.
>
> The test really shouldn't need to contact the server just to check if
> the current directory is a proper svn working copy.
svn status might be better:
$ svn help status
status (stat, st): Print the status of working copy files and
directories.
usage: status [PATH...]
With no args, print only locally modified items (no network access).
-- c