Changeset 338

Show
Ignore:
Timestamp:
04/03/2008 03:13:08 PM
Author:
toby
Message:

add two patches from Richard Hughes to fix bug in parentdata comparison and update sanity checker to improve label tracking

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/script/Vss2Svn/Dumpfile/SanityChecker.pm

    r327 r338  
    370370    if(defined($ref->{$item})) { 
    371371        # item already exists; can't add it 
     372        $ref->{$item} = $newref if defined($newref); 
    372373        return 0; 
    373374    } 
  • trunk/script/vss2svn.pl

    r337 r338  
    656656 
    657657    $parentdata = 0 unless defined $parentdata; 
     658    $parentdata = 1 if $parentdata != 0; 
    658659     
    659660    my $sql = <<"EOSQL"; 
     
    663664    PhysicalAction 
    664665WHERE 
    665     parentdata = ? 
     666    MIN(parentdata, 1) = ? 
    666667    AND physname = ? 
    667668    AND actiontype = ? 

PumaCode.org recommends CVSDude for fast, professional Subversion and Trac hosting:

CVSDude.com

These ads are automatically generated by Google. Revenue from these ads helps to pay for hosting this site; however, these ads do not constitute an endorsement by PumaCode.org.