On Sat, Feb 28, 2009 at 8:26 AM, Paul Aurich <[email protected]> wrote:
> On Feb 27, 2009, at 21:41, Derek Scherger wrote:
>>
>> My impression at the moment is that the exported history does have correct
>> permissions because it agrees with a monotone checkout (which requires
>> addition of a branch cert) of the same revision. It seems that there are two
>> different problems with monotone here (1) checkout is not possible for
>> revisions that have no branch certs and (2) update doesn't always produce
>> correct execute permissions.
>
> Felipe discovered what I believe to be the cause of this a few months ago
> [1]. As I understand the issue, there is no `mtn update` hook for unsetting
> execute bits, so unsetting that attribute doesn't have any effect. However,
> when doing an update that would involve moving very far through history
> (say, from the revision Felipe mentions in that email to
> h:im.pidgin.pidgin), I believe Monotone optimizes that operation to 'check
> out the new manifest [and apply working changes]', and as the mtn:exec
> property isn't set on the files in the target revision, the file's exec bit
> is unset.

So there's no fix and no clear path on how this will get fixed, right?

> I may have some of the details of how Monotone handles these cases wrong,
> but hopefully my description is clear enough to be sensible. And of course,
> credit for discovering and figuring out why it sometimes does work go to
> Felipe and some people in #pidgin (sorry, I don't remember who,
> specifically).

I found the issue and they found the underlying problem.

-- 
Felipe Contreras


_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to