Can EGit be used to version control Linked Folder content [message #996935] |
Thu, 03 January 2013 03:35  |
Eclipse User |
|
|
|
I have some Eclipse projects which are organised as linked folders, either local directories or RSE directories.
It would be very convenient if I could version control the project content in one place via Egit/Eclipse locally (Team: ...) without needing to place the actual (remote) folders' content under git each on its own system, and have to run command-line git remotely.
Is there any means of working in this way, or does Egit only work with actual local content ? (or folders under git remotely).
Needless to say I have tried this already, but with 'Team:Add files' get "Failed to add files to index ...", the only thing apparently under git is the .project file, with the linked folder content being unacknowledged.
Also trying 'Team:Commit', "An internal error occurred
Entry not found by path: MyProj/MyRemoteLinkedFolder/subdir/firstfile.py"
This might turn out to be a 'Linked Folders' or 'Eclipse FS' issue rather than a 'Egit / Version control' issue ...
|
|
|
|
|
|
|
Re: Can EGit be used to version control Linked Folder content [message #997635 is a reply to message #996935] |
Fri, 04 January 2013 17:54   |
Eclipse User |
|
|
|
Mike Whittaker skrev 2013-01-03 14.48:
> I have some Eclipse projects which are organised as linked folders, either local directories or RSE directories.
>
> It would be very convenient if I could version control the project content in one place via Egit/Eclipse locally (Team: ...) without needing to place the actual (remote)
> folders' content under git each on its own system, and have to run command-line git remotely.
>
> Is there any means of working in this way, or does Egit only work with actual local content ? (or folders under git remotely).
>
Neither Linked Folders nor RSE is supported by EGit at this moment. Not even ignoring them is complete, though,some patches are underway to fix that part. The linked
(target) resources should be tracked in the location they appear, as normal files.
Supporting RSE would probably require a *lot* of reorganizing within EGit/JGit. The core of EGit, i.e. JGit, assume all resources are files in the end and that access
to the file system is a cheap thing. I'm not aware of any plans in that direction. If you can mount the remote file system using NFS, CIFS, FuSE or something like that,
that will probably work, though not very fast.
-- robin
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08100 seconds