Trond Husø | 3 Sep 15:46 2007
Picon
Picon

Re: Sec to small

On Mon, 2007-09-03 at 09:29 -0400, Toby Johnson wrote:
Trond Husø wrote: 
On Fri, 2007-08-31 at 10:06 -0400, Toby Johnson wrote:

Trond Husø wrote:

> Hi List,
> I’m trying to run vss2svn on a win2000 server and when it runs I get
> this error: 
> Use of uninitialized value in gmtime at /PerlApp/Vss2Svn/Dumpfile.pm
> line 904.
> Sec too small - 0 < 3600
> Cannot handle date (0, 0, 0, 1, 0, 1970) at /PerlApp/Vss2Svn/Dumpfile.pm
> line 905
>   
>       
Hello Trond,

It looks like there is a problem in one of your VSS files which is 
causing the script to fail when trying to determine a timestamp. Can you 
run the script with --debug enabled, and send the last bit of the output 
before the crash?

toby

    
Here is the whole debug-file.

Resent to the list.

(Continue reading)

Erik Bray | 1 Oct 18:54 2007
Picon

[PATCH] Tiny hash dereference warning in revision 324

Hello,
When running vss2svn.pl from trunk with Perl 5.8.7, the following
warning is printed:
Using a hash as a reference is deprecated at
/usr/local/share/perl/5.8.7/Vss2Svn/Dumpfile.pm line 798

Of course, this still works, but being that it's deprecated (and
somewhat confusing) syntax, it should be changed at some point.

Thanks,
Erik

Index: script/Vss2Svn/Dumpfile.pm
===================================================================
--- script/Vss2Svn/Dumpfile.pm  (revision 324)
+++ script/Vss2Svn/Dumpfile.pm  (working copy)
 <at>  <at>  -775,7 +775,7  <at>  <at> 
     if (defined $self->{auto_props}) {
         %tmpProps = $self->{auto_props}->get_props ($node->{path});
     }
-    my $eolStyle = %tmpProps->{'svn:eol-style'};
+    my $eolStyle = $tmpProps{'svn:eol-style'};
     my $isNative = (defined $eolStyle && $eolStyle eq 'native') ? 1 : 0;

     my $string = $node->get_headers();

_______________________________________________
vss2svn-users mailing list
Project homepage:
http://www.pumacode.org/projects/vss2svn/
(Continue reading)


Gmane