GitFileTree: Playing Nice with FileTree
If I have a filetree://path/to/canonical/local/repo repository, can I later point a GitFileTree repo to that folder? From the MC Browser +Repository menu, I only seem to be able to set the subfolder relative to the #imageDirectory, not the absolute path⦠----- Cheers, Sean -- View this message in context: http://forum.world.st/GitFileTree-Playing-Nice-with-FileTree-tp4847786.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Hi Sean, Le 03/09/2015 04:29, Sean P. DeNigris a écrit :
If I have a filetree://path/to/canonical/local/repo repository, can I later point a GitFileTree repo to that folder? From the MC Browser +Repository menu, I only seem to be able to set the subfolder relative to the #imageDirectory, not the absolute pathâ¦
Are you sure about the local path? I know I played with a few things to try to get local paths to work if used. But gitfiletree://path/to/canonical/local/repo will work. Thierry
Hi
(git)filetree://path/to/canonical/local/repo
This is a relative path: (git)filetree:// + path/to/... it should be: (git)filetree:// + /my/absolute/path (triple slash) As for FileTree/GitFileTree, due to windows issues my colleague and I were using both. I was commiting directly through gitfiletree, and he was comitting via filetree, and then applying git on top of that manually. And if MCBrowser can't do it, maybe try it from playground... e.g. Metacello new baseline: 'Project'; "or configuration maybe for non-git" repository: 'gitfiletree:///my/abs/path/repository'; load. Peter On Thu, Sep 3, 2015 at 6:53 AM, Thierry Goubier <thierry.goubier@gmail.com> wrote:
Hi Sean,
Le 03/09/2015 04:29, Sean P. DeNigris a écrit :
If I have a filetree://path/to/canonical/local/repo repository, can I later point a GitFileTree repo to that folder? From the MC Browser +Repository menu, I only seem to be able to set the subfolder relative to the #imageDirectory, not the absolute pathâ¦
Are you sure about the local path? I know I played with a few things to try to get local paths to work if used.
But gitfiletree://path/to/canonical/local/repo will work.
Thierry
Thierry Goubier wrote
Are you sure about the local path?... gitfiletree
Sorry, I was confuing MCFileTreeGitRepository and MCFileTreeGitRemoteRepository. Furthermore, they both seem to handle absolute paths just fine! I thought that #name: in the creation template of the latter would just take a subdirectory, but putting an absolute path worked :) ----- Cheers, Sean -- View this message in context: http://forum.world.st/GitFileTree-Playing-Nice-with-FileTree-tp4847786p48481... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
participants (3)
-
Peter Uhnák -
Sean P. DeNigris -
Thierry Goubier