here's my change:

sub set_version_type {
    my $self = shift;
    my $version = $self->version();

    if ($version =~ m/(\d+)\.(\d+)\.(\d+)/ ) {
    my $major = $1;
    my $minor = $2;
    my $patch = $3;
    if ( $major == 1 ) {
        if ( $minor <= 5 ) {
        $self->version_type( $SCM_VERSION_LATEST );
        } else {
        $self->version_type( $SCM_VERSION_NOT_SUPPORTED );
        }
    } else {
        $self->version_type( $SCM_VERSION_NOT_SUPPORTED );
    }
    } else {
    $self->version_type( $SCM_VERSION_WRONG_FORMAT );
    }
}

i suppose i could narrow down the exact version where the DBI issue starts, if 
that helps. but it could take a few days. also, if i were to try and debug this 
with the perl debugger, i would need to know what to run in order to reproduce 
- the daemon or the hook, and in the case of the latter, which hook - 
pre-commit (more likely) or post-commit.

tsahi
--
The day Micro$oft sells something that doesn't SUCK
is the day they start selling vacuum cleaners.
http://www.geocities.com/tsahi_75



----- Original Message ----
> From: Thorsten Schöning <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Sunday, August 17, 2008 4:30:03 PM
> Subject: Re[2]: [scmbug-users] Scmbug error 33 issue.
> 
> Guten Tag Tsahi Asher,
> am Sonntag, 17. August 2008 um 11:40 schrieben Sie:
> 
> > I tried to do this with my 0-23-3 installation, until i figure out
> > why 0-26-5 and higher doesn't detect the DBI module (0-23-3 detects
> > it well and runs, btw),
> 
> Sounds good but what is/was the error? As I mentioned before, there's
> a bug for this which doesn't seem to have a solution yet.
> 
> > but i still get an error that Subversion
> > 1.5.1 is not supported. I even increased the check to $minor <= 6,
> > but it still gave the same error.
> 
> Post your changed code, maybe there's just a $minor error you didn't
> see. Normally changing the numbers in set_version_type should be
> enough, though.
> 
> Mit freundlichen Grüßen,
> 
> Thorsten Schöning
> 
> -- 
> Thorsten Schöning
> AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
> 
> Telefon: Potsdam: 0331-743881-0
> E-Mail:  [EMAIL PROTECTED]
> Web:    http://www.am-soft.de
> 
> AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
> Amtsgericht Potsdam HRB 21278, Geschäftsführer: Andreas Muchow
> 
> _______________________________________________
> scmbug-users mailing list
> [email protected]
> http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users


 
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to