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 d91f04d..4d54407 100755 (executable)
@@ -202,7 +202,7 @@ sub get_new_svn_revs($$)
 {
        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;