No MagmaCommitError with two local sessions
Chris Muller
chris at funkyobjects.org
Fri Jan 12 18:43:05 UTC 2007
I thought Keith Hodges had relative paths working already. I see it is
for create but not open. Perhaps it "slipped through the cracks"
because I expected relative paths to be working.
I'll do some digging and see if I can find Keiths fix and put up a new
version on SqueakMap within the next few days.
Thanks,
Chris
--- Giovanni Corriga <giovanni at corriga.net> wrote:
> 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