Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the SVN-Look CPAN distribution.

Report information
The Basics
Id: 75546
Status: rejected
Priority: 0/
Queue: SVN-Look

People
Owner: GNUSTAVO [...] cpan.org
Requestors: mbrimer [...] aptina.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.33
Fixed in: (no value)



Subject: Failed test 'can call proplist in a file with spaces in the name'
Dear Maintainers, I am trying to install SVN-Look-0.33 on Windows XP Pro SP3 with Subversion server 1.7.3 and ActivePerl 5.8.8 build 822 (replica of company server environment). Please note that I have patched the SVN-Look.pm (as described in rt.cpan.org #75545) in order to pass the first failing test. However I still get a test failure which halts normal installation (although I can force it). Using CPAN (see attached cpan.log file), the SVN-Look tests fail when trying to call the proplist command on a file with spaces in the filename. I've attached a patch file which quotes the filename and the tests pass and the module installs but I'm not sure if this is the correct way to fix this. Please could you take a look. I would really like to take advantage of both SVN-Look and SVN-Hooks on our company Subversion server. Kind Regards, Mike Brimer
Subject: cpan.log
Download cpan.log
application/octet-stream 2.2k

Message body not shown because it is not plain text.

Subject: 01-commands.t.patch
--- 01-commands.t.orig Mon Mar 05 11:47:25 2012 +++ 01-commands.t Mon Mar 05 11:48:06 2012 @@ -53,7 +53,7 @@ # Try without specifying a revision or a transaction $look = SVN::Look->new($repo); -my $pl = eval { $look->proplist('a b.txt') }; +my $pl = eval { $look->proplist('"a b.txt"') }; ok(defined $pl, 'can call proplist in a file with spaces in the name');
Thank you Mike. This is a non-issue, because the failing test was there exactly to detect the failure. I corrected the issue #75545 in a slightly different way than the patch you provieded me so that this problem doesn't occur. Gustavo.