fix nothing changed logic, when only one revision has changed
authorStefan Metzmacher <metze@samba.org>
Fri, 9 Nov 2007 11:01:29 +0000 (05:01 -0600)
committerStefan Metzmacher <metze@samba.org>
Fri, 9 Nov 2007 11:01:29 +0000 (05:01 -0600)
metze

samba4-sync.pl

index d91f04d64461f0f4072d3a6fa76e5aab8c280678..4d54407c136bfe8696097719fb677cd51738a6fe 100755 (executable)
@@ -202,7 +202,7 @@ sub get_new_svn_revs($$)
 {
        my ($lastrev, $currev) = @_;
        my $nextrev = $lastrev + 1;
 {
        my ($lastrev, $currev) = @_;
        my $nextrev = $lastrev + 1;
-       return undef if $nextrev >= $currev;
+       return undef if $nextrev > $currev;
        my $logcmd = "LANG=C svn log --non-interactive -r $nextrev:$currev $SVN_PATH";
        my $log = `$logcmd` || confess "$logcmd: failed";
        my $revs = undef;
        my $logcmd = "LANG=C svn log --non-interactive -r $nextrev:$currev $SVN_PATH";
        my $log = `$logcmd` || confess "$logcmd: failed";
        my $revs = undef;