[Pkg-bazaar-commits] ./bzr/unstable r714: - files within stores are no longer made readonly

Martin Pool mbp at sourcefrog.net
Fri Apr 10 08:20:49 UTC 2009


------------------------------------------------------------
revno: 714
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Mon 2005-06-20 13:54:23 +1000
message:
  - files within stores are no longer made readonly
modified:
  NEWS
  bzrlib/store.py
-------------- next part --------------
=== modified file 'NEWS'
--- a/NEWS	2005-06-20 02:50:08 +0000
+++ b/NEWS	2005-06-20 03:54:23 +0000
@@ -5,6 +5,8 @@
     * New ``bzr upgrade`` command to upgrade the format of a branch,
       replacing ``bzr check --update``.
 
+    * Files within store directories are no longer marked readonly on
+      disk.
 
 
 bzr-0.0.5  2005-06-15

=== modified file 'bzrlib/store.py'
--- a/bzrlib/store.py	2005-06-20 03:47:57 +0000
+++ b/bzrlib/store.py	2005-06-20 03:54:23 +0000
@@ -93,10 +93,8 @@
 
         if compressed:
             f = gzip.GzipFile(p + '.gz', 'wb')
-            os.chmod(p + '.gz', 0444)
         else:
             f = file(p, 'wb')
-            os.chmod(p, 0444)
             
         f.write(content)
         f.close()



More information about the Pkg-bazaar-commits mailing list