Hi,

   >   File "/usr/lib/python2.6/site-packages/libbe/storage/vcs/base.py",
   >   line 728, in _children
   >     path = self.be_dir
   >  AttributeError: 'Bzr' object has no attribute 'be_dir'

Ended up randomly coming up with something that works:

=== modified file 'libbe/storage/vcs/base.py'
--- libbe/storage/vcs/base.py   2010-02-07 22:53:53 +0000
+++ libbe/storage/vcs/base.py   2010-06-21 22:14:45 +0000
@@ -268,6 +272,8 @@
             extra = []
         else:
             extra = fields[1:]
+        if not hasattr(self, "_cache"):
+            self._cache = {}
         if uuid not in self._cache:
             self.init(verbose=False, cache=self._cache)
             if uuid not in self._cache:

=== modified file 'libbe/storage/__init__.py'
--- libbe/storage/__init__.py   2010-02-07 22:53:53 +0000
+++ libbe/storage/__init__.py   2010-06-21 21:53:04 +0000
@@ -58,6 +58,7 @@
     import vcs
     s = vcs.detect_vcs(location)
     s.repo = location
+    s.root()
     return s
 

Trevor, any idea what that should actually be?  :)

Moving on to fixing up the other API changes for now.  Thanks,

- Chris.
-- 
Chris Ball   <[email protected]>
One Laptop Per Child

_______________________________________________
Be-devel mailing list
[email protected]
http://void.printf.net/cgi-bin/mailman/listinfo/be-devel

Reply via email to