[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: p42svn problem

From: Dimitri Papadopoulos-Orfanos <papadopo_at_shfj.cea.fr>
Date: 2005-11-28 11:22:25 CET

Hi,

> Environment: Windows XP (Active Perl 5.8), p4 server 5.1 on FreeBSD.
> So, I type:
> d:\temp> perl p42svn.pl --branch //depot/project=/project | tee
> project.dump
>
> The following lines are printed to the stdout afterwhile:
>
> '-' is not recognized as an internal or external command,
> operable program or batch file.
> close failed: (256) at p42svn.pl line 628.

Line 628 of p42svn.pl looks like this:
     close(P4_OUTPUT) or die "close failed: ($?) $!";
and line 613:
     my $pid = open(P4_OUTPUT, "-|");

I guess "-|" is not portable Perl.

> Since I'm a dummy at perl, I have no idea what's happening.
> Is it possible to convert repository under Windows?

It looks like you'll have to modify the Perl script in some places. Why
not run p42svn.pl on the FreeBSD server instead?

Dimitri Papadopoulos

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 28 11:24:55 2005

This is an archived mail posted to the Subversion Users mailing list.