[Bps-public-commit] SD - A distributed issue tracker branch, master, updated. 8a0ba2fd7cad84dc158ef122a20d2e0fae539f3f

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Feb 18 09:45:13 EST 2009


The branch, master has been updated
       via  8a0ba2fd7cad84dc158ef122a20d2e0fae539f3f (commit)
      from  691c5562ad7fe9df4b9c03286e1e2e74665711ec (commit)

Summary of changes:
 lib/App/SD/Replica/trac/PullEncoder.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 8a0ba2fd7cad84dc158ef122a20d2e0fae539f3f
Author: sunnavy <sunnavy at gmail.com>
Date:   Wed Feb 18 22:41:44 2009 +0800

    tiny counter fix

diff --git a/lib/App/SD/Replica/trac/PullEncoder.pm b/lib/App/SD/Replica/trac/PullEncoder.pm
index e3a18f5..fe84f7d 100644
--- a/lib/App/SD/Replica/trac/PullEncoder.pm
+++ b/lib/App/SD/Replica/trac/PullEncoder.pm
@@ -40,7 +40,7 @@ sub run {
 
     for my $ticket (@tickets) {
         print $progress->report( "%30b %p Est: %E\r", $counter );
-        $self->sync_source->log( "Fetching ticket @{[$ticket->id]} - " . $counter++ . " of " . scalar @tickets );
+        $self->sync_source->log( "Fetching ticket @{[$ticket->id]} - " . ++$counter . " of " . scalar @tickets );
 
         $last_modified_date = $ticket->last_modified if (!$last_modified_date || $ticket->last_modified > $last_modified_date);
 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list