[svk-devel] smerge/pull with renames

Jason Dillon jason at planet57.com
Tue Mar 20 20:30:26 EDT 2007

How can I get the tests to run?

I tried `make test` but that pukes up a ton of these:

Can't locate version.pm in @INC (@INC contains: /Users/jason/ws/svk/ 
inc /Users/jason/ws/svk/blib/lib /Users/jason/ws/svk/blib/arch /sw/ 
lib/perl5/5.8.6/darwin-thread-multi-2level /sw/lib/perl5/5.8.6/darwin- 
thread-multi-2level /sw/lib/perl5/5.8.6 /sw/lib/perl5/darwin-thread- 
multi-2level /sw/lib/perl5/5.8.6/darwin-thread-multi-2level /sw/lib/ 
perl5/5.8.6 /sw/lib/perl5/darwin-thread-multi-2level /sw/lib/perl5 / 
sw/lib/perl5/darwin /System/Library/Perl/5.8.6/darwin-thread- 
multi-2level /System/Library/Perl/5.8.6/darwin-thread-multi-2level / 
System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread- 
multi-2level /Library/Perl/5.8.6 /Library/Perl/5.8.6 /Library/Perl / 
Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/ 
Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/ 
5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6/ 
darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/ 
Perl/5.8.1 . /System/Library/Perl/5.8.6/darwin-thread-multi-2level / 
System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread- 
multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/ 
5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/ 
Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread- 
multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 .)  
at /Users/jason/ws/svk/blib/lib/SVK/Version.pm line 53.
BEGIN failed--compilation aborted at /Users/jason/ws/svk/blib/lib/SVK/ 
Version.pm line 53.
Compilation failed in require at /Users/jason/ws/svk/blib/lib/SVK/ 
Test.pm line 58.
BEGIN failed--compilation aborted at /Users/jason/ws/svk/blib/lib/SVK/ 
Test.pm line 58.
Compilation failed in require at t/07smerge-copy-co.t line 6.
BEGIN failed--compilation aborted at t/07smerge-copy-co.t line 6.

So far I've just been building with:


perl -I/usr/local/svn/perl Makefile.PL INSTALLDIRS=perl  
INSTALLPRIVLIB=/usr/local/svn/perl INSTALLBIN=/usr/local/svn/bin  
INSTALLSCRIPT=/usr/local/svn/bin INSTALLMAN1DIR=/usr/local/svn/man/ 
man1 INSTALLMAN3DIR=/usr/local/svn/man/man3
sudo make install

And then patching /usr/local/svn/bin/svk to add a 'use lib' after  
'use strict;':

use lib '/usr/local/svn/perl';

If you (or anyone) can give me a hint as to how to run the tests it  
would probably make it a lot easier to get you a functional .t file.   
Sorry, I really don't know much about Perl builds anymore... so a  
little advise would be very helpful.



On Mar 20, 2007, at 2:48 AM, Chia-Liang Kao wrote:

> Hi Jason,
> On 20/03/07, Jason Dillon <jason at planet57.com> wrote:
>> FYI, I did get --track-rename to work *once*... but all changes  
>> made to the
>> file after I renamed its parent directory in my branch have never  
>> made it.
> Sorry I haven't had much time for this lately.  If you can create a .t
> file which contains how to reproduce the problem and the expected
> behaviour, it'd help a lot.  see any other .t file from the
> distribution as example.  Meanwhile, there was a recent fix about copy
> tracking at r2323.  See if that fixes your problem.
> Cheers,
> _______________________________________________
> svk-devel mailing list
> svk-devel at bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/svk-devel

More information about the svk-devel mailing list