Hi,
However, it may be possible to make it so that the location of the
> repository becomes a setting instead of being implicit.
>
That sounds like it should solve the problem.
> I can think of two solutions that you can try to see whether they work
> with the current MercurialEclipse:
>
> - share the project, which will create a repository in
> <path>/workspace/project/.hg and push from that repository to the repo in
> <path>/src (it feels and probably is cumbersome)
>
> I'm not going to do this, as a clone of the repository takes up about 6 GB
of disk space.
>
> - create a symbolic link to the .hg folder in <path>/src.
>
> I did try this, though you didn't say what I should do next. I tried
Import -> Mercurial -> "Projects from local mercurial repository", and
selected the project folder (which now contains a symlink .hg), but that
did nothing except produce an exception in the workspace log:
!ENTRY com.vectrace.MercurialEclipse 4 0 2017-12-26 22:54:15.208
!MESSAGE New project data directory doesn't exist
!STACK 0
java.lang.IllegalStateException: New project data directory doesn't exist
at
com.vectrace.MercurialEclipse.wizards.ProjectsImportPage.createExistingProject(ProjectsImportPage.java:859)
at
com.vectrace.MercurialEclipse.wizards.ProjectsImportPage.access$17(ProjectsImportPage.java:830)
at
com.vectrace.MercurialEclipse.wizards.ProjectsImportPage$10.execute(ProjectsImportPage.java:774)
at
org.eclipse.ui.actions.WorkspaceModifyOperation.lambda$0(WorkspaceModifyOperation.java:107)
at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:128)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
> Please open an issue report and I'll be thinking of all of this in the
> meantime.
>
Filed
https://bitbucket.org/mercurialeclipse/main/issues/549/make-the-location-of-the-repository-a.
Thanks,
Botond
--
You received this message because you are subscribed to the Google Groups
"MercurialEclipse" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.