[merge] bzr uses permissions of containing directory
Michael Ellerman
michael at ellerman.id.au
Fri Dec 16 20:34:02 GMT 2005
On Fri, 16 Dec 2005 07:48, John Arbash Meinel wrote:
> Michael Ellerman wrote:
> > On Thu, 15 Dec 2005 16:05, John Arbash Meinel wrote:
> >>After much gnashing of teeth, I have updated the Transport interface,
> >>Branch itself, such that it know checks to see what the mode of '.bzr'
> >>is, and then uses that to determine the permissions for all files
> >>underneath.
> >>You can see my changes here:
> >>http://bzr.arbash-meinel.com/branches/bzr/permissions/
> > Worst case it's 27% slower, best case it's only 5%. Not sure what
> > accounts for the 18:00 time?
>
> Did you run the permissions branch before? I'm just wondering if it had
> to compile all of the python files, which would add a lot of overhead.
Duuuuh, I'm such a dolt. So ignore the 18:00 time, that's the initial compile.
> Thanks for the numbers. Can you try it with _set_file_mode = False.
> I'm guessing that would bring the load back a lot.
This is with _set_file_mode = False.
$ time ../bzr/permissions/bzr branch kexec kexec-branch
225.11user 30.72system 14:23.51elapsed 29%CPU
$ time bzr branch kexec kexec-branch
247.37user 32.87system 15:07.96elapsed 30%CPU
$ time ../bzr/permissions/bzr branch kexec kexec-branch
210.96user 29.44system 14:55.94elapsed 26%CPU
$ time bzr branch kexec kexec-branch
239.31user 31.67system 15:26.55elapsed 29%CPU
Weird.
cheers
--
Michael Ellerman
IBM OzLabs
email: michael:ellerman.id.au
inmsg: mpe:jabber.org
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)
We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051216/16e29c41/attachment.pgp
More information about the bazaar
mailing list