Hi Vladimir,
Many thanks for your report.
> [...]
> I tracked down the problem to Subversion.pm file, line 146:
> if ($line =~ /^svn: URL '.*' refers to a directory/) {
>
> The problem here is that at least with my Subversion 1.3.2 the output
> from svn cat command is DIFFIRENT:
> svn: warning: URL 'blah-blah-blah' refers to a directory
> [...]
Thanks - I can certaintly change the regexp as you have indicated.
> P.S. I wonder what non-English users of subversion would get from svn
> cat, if their svn is localized.... :) Codestriker uses hardcoded
> English...
Agreed - it would be much better to perhaps use the error code returned
by the svn process, so that this will also work for localised svn
installations.
Does subversion return a unique error code number when this situation
occurs?
I'm not a subversion user yet, so I can't easily check this out..
Cheers,
David
|