Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #40048] [CAGE] t/distro/file_metadata.t doesn't like svk

3 views
Skip to first unread message

Will Coleda

unread,
Aug 2, 2006, 3:09:11 PM8/2/06
to bugs-bi...@rt.perl.org
# New Ticket Created by Will Coleda
# Please include the string: [perl #40048]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40048 >


works fine with svn, but not svk. be nice if it worked under either
system.

--
Will "Coke" Coleda
wi...@coleda.com


Jerry Gay

unread,
Aug 2, 2006, 3:37:11 PM8/2/06
to perl6-i...@perl.org, bugs-bi...@rt.perl.org
it's not like you to submit bug reports without useful information.
how do you quantify "doesn't like svk?"
what is the output of C<prove -v t/distro/file_metadata.t>?
~jerry

Will Coleda

unread,
Aug 2, 2006, 3:53:21 PM8/2/06
to parrotbug...@parrotcode.org
Every single test fails because the file assumes svn instead of svk,
e.g.:

my @cmd = qw(svn pg svn:mime-type);
@cmd = qw(svn pg svn:keywords);

one reference is made to 'svk ls', but it's never considered as an
option to get at the meta data, just as a criteria to then try to get
the data with svn.

Regards.

On Aug 2, 2006, at 3:37 PM, Jerry Gay via RT wrote:

> how do you quantify "doesn't like svk?"
> what is the output of C<prove -v t/distro/file_metadata.t>?
> ~jerry
>
>
>

--
Will "Coke" Coleda
wi...@coleda.com


Chromatic

unread,
Aug 2, 2006, 3:55:54 PM8/2/06
to perl6-i...@perl.org, Will Coleda, parrotbug...@parrotcode.org
On Wednesday 02 August 2006 12:53, Will Coleda wrote:

> Every single test fails because the file assumes svn instead of svk,
> e.g.:
>
> my @cmd = qw(svn pg svn:mime-type);
> @cmd = qw(svn pg svn:keywords);
>
> one reference is made to 'svk ls', but it's never considered as an
> option to get at the meta data, just as a criteria to then try to get
> the data with svn.

Wow, this test takes a while. Here's a brain-dead simple patch I wrote that
seems to be working for now.

-- c

allow_svk.patch

Will Coleda

unread,
Aug 2, 2006, 4:13:21 PM8/2/06
to chromatic, perl6-i...@perl.org, parrotbug...@parrotcode.org
Seems fine, modulo:

- my @cmd = qw(svn pg Copyright);
+ my @cmd = qw(pg Copyright);

should probably be:

- my @cmd = qw(svn pg Copyright);
+ my @cmd = qw($cmd pg Copyright);

(though that test is skipped right now anyway)

> <allow_svk.patch>

Chromatic

unread,
Aug 2, 2006, 4:29:15 PM8/2/06
to perl6-i...@perl.org, Will Coleda, parrotbug...@parrotcode.org
On Wednesday 02 August 2006 13:13, Will Coleda wrote:

> Seems fine, modulo:
>
> - my @cmd = qw(svn pg Copyright);
> + my @cmd = qw(pg Copyright);
>
> should probably be:
>
> - my @cmd = qw(svn pg Copyright);
> + my @cmd = qw($cmd pg Copyright);
>
> (though that test is skipped right now anyway)

$cmd doesn't interpolate in qw() unfortunately.

-- c

0 new messages