[patch] storage refactoring ready to merge?

Aaron Bentley aaron.bentley at utoronto.ca
Thu Jan 12 15:49:57 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Arbash Meinel wrote:
> My biggest
> concern is that Repository, WorkingTree, and Branch are all going to
> lock the same file. Which is valid under Linux, but not Windows. I
> describe it more later.

No, Repository locks README.  Perhaps not optimal, but I can't imagine
how it would produce a correctness problem.  I suppose a
ProxyLocableFiles that used the Branch's LockableFiles would be another
option.

+    def __init__(self, transport, branch_format):
+        object.__init__(self)
+        self.control_files =
LockableFiles(transport.clone(bzrlib.BZRDIR), 'README')
+

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDxnql0F+nu1YWqI0RAsNnAJ0YmUM3WU3PjOWDGbXof87UbAsuPgCeJqDd
eQMejvMe2yPXAMAOW5jcxxk=
=8n+d
-----END PGP SIGNATURE-----




More information about the bazaar mailing list