You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just realized that if you try to load a project and choose a wrong path for the repo, so it never encounter the .git folder, at least on Unix when it reaches / it keeps looping because parent returns itself.
This is the offending method:
Metacello new
baseline: 'Grease';
repository: ('gitlocal:///home/Grease/repository' );
lock.
it seems that nothing is happening, but if you stop the process it's just looping, because [ root isNil or: [ self isGitRoot: root ] ] it's never true when / is reached.
Image
-----
/home/gcotelli/Pharo/7.0-64bits/Pharo.image
Pharo7.0alpha
Build information: Pharo-7.0+alpha.build.1025.sha.d43e3073c4b005c606c5436e4220617108bb841a (64 Bit)
Unnamed
Virtual Machine
---------------
/home/gcotelli/Pharo/7.0-64bits/pharo-vm/lib/pharo/5.0-201805090836/pharo
CoInterpreter VMMaker.oscog-eem.2380 uuid: c76d37e1-445c-4e34-9796-fc836dfd50c9 May 9 2018
StackToRegisterMappingCogit VMMaker.oscog-eem.2380 uuid: c76d37e1-445c-4e34-9796-fc836dfd50c9 May 9 2018
VM: 201805090836 https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Wed May 9 10:36:12 2018 CommitHash: 334be97 Plugins: 201805090836 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
Unix built on May 9 2018 08:54:13 Compiler: 4.8.4
VMMaker versionString VM: 201805090836 https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Wed May 9 10:36:12 2018 CommitHash: 334be97 Plugins: 201805090836 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
CoInterpreter VMMaker.oscog-eem.2380 uuid: c76d37e1-445c-4e34-9796-fc836dfd50c9 May 9 2018
StackToRegisterMappingCogit VMMaker.oscog-eem.2380 uuid: c76d37e1-445c-4e34-9796-fc836dfd50c9 May 9 2018
The text was updated successfully, but these errors were encountered:
I've just realized that if you try to load a project and choose a wrong path for the repo, so it never encounter the .git folder, at least on Unix when it reaches
/
it keeps looping becauseparent
returns itself.This is the offending method:
For example if you execute in a Playground:
it seems that nothing is happening, but if you stop the process it's just looping, because
[ root isNil or: [ self isGitRoot: root ] ]
it's never true when/
is reached.The text was updated successfully, but these errors were encountered: