[Pkg-bazaar-commits] ./bzr-gtk/unstable r311: Moved branch locking from the treeview to the branchwin.

Daniel Schierbeck daniel.schierbeck at gmail.com
Fri Apr 10 07:49:54 UTC 2009


------------------------------------------------------------
revno: 311
committer: Daniel Schierbeck <daniel.schierbeck at gmail.com>
branch nick: revhistoryview
timestamp: Sun 2007-10-21 14:08:32 +0200
message:
  Moved branch locking from the treeview to the branchwin.
modified:
  viz/branchwin.py
  viz/treeview.py
-------------- next part --------------
=== modified file 'viz/branchwin.py'
--- a/viz/branchwin.py	2007-10-20 22:07:09 +0000
+++ b/viz/branchwin.py	2007-10-21 12:08:32 +0000
@@ -150,6 +150,7 @@
         treeview itself.
         """
         self.branch = branch
+        self.branch.lock_read()
         self.set_title(branch.nick + " - revision history")
         self.treeview.set_branch(branch, start, maxnum)
     

=== modified file 'viz/treeview.py'
--- a/viz/treeview.py	2007-10-20 22:07:09 +0000
+++ b/viz/treeview.py	2007-10-21 12:08:32 +0000
@@ -92,8 +92,6 @@
         self.treeview.grab_focus()
 
     def populate(self, start, maxnum):
-        self.branch.lock_read()
-
         (linegraphdata, index, columns_len) = linegraph(self.branch,
                                                         start,
                                                         maxnum)



More information about the Pkg-bazaar-commits mailing list