Rev 2100: Fix progress bar end when only browsing partially. in http://people.samba.org/bzr/jelmer/bzr-svn/0.5

Jelmer Vernooij jelmer at samba.org
Sat Nov 29 04:34:15 GMT 2008


At http://people.samba.org/bzr/jelmer/bzr-svn/0.5

------------------------------------------------------------
revno: 2100
revision-id: jelmer at samba.org-20081129043410-kcnan2im0fen63os
parent: jelmer at samba.org-20081129043103-8j84jb4adrfmnywf
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.5
timestamp: Sat 2008-11-29 05:34:10 +0100
message:
  Fix progress bar end when only browsing partially.
modified:
  logwalker.py                   logwalker.py-20060621215743-c13fhfnyzh1xzwh2-1
=== modified file 'logwalker.py'
--- a/logwalker.py	2008-11-21 14:59:07 +0000
+++ b/logwalker.py	2008-11-29 04:34:10 +0000
@@ -289,7 +289,7 @@
                 if ascending:
                     pb.update("determining changes", revnum, to_revnum)
                 else:
-                    pb.update("determining changes", from_revnum-revnum, from_revnum)
+                    pb.update("determining changes", from_revnum-revnum, from_revnum-to_revnum)
             assert revnum > 0 or path == "", "Inconsistent path,revnum: %r,%r" % (revnum, path)
             revpaths = self.get_revision_paths(revnum)
 




More information about the bazaar-commits mailing list