No MagmaCommitError with two local sessions

Giovanni Corriga giovanni at corriga.net
Fri Jan 12 09:38:30 UTC 2007


Il giorno gio, 11/01/2007 alle 17.25 -0800, Chris Muller ha scritto:
> Hi Giovanni, that is not the expected behavior.  Are you certain
> session1 and session2 are really two different sessions?
> 
> Let's work from a complete script and see if we can find where we
> diverge.  This worked for me, how about for you?

Hi Chris

your script worked. I also remembered that I did modify
MagmaRepositoryController class>>open: in orded to support non-absolute
paths. My version of #open: is

open: pathString 
    | directory |
    directory := pathString first = FileDirectory pathNameDelimiter
        ifTrue: [FileDirectory on: pathString]
        ifFalse: [FileDirectory default directoryNamed: pathString].
    ^ self new open: directory

so the problem must lie here. Could it be because UnixFileDirectory does
not implement #= ?

	Giovanni



More information about the Magma mailing list