-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Good that it works! The message in the log is just for debugging/
information. If no repository is there, it is normal that it can't
find a hg root :).
Bastian
Am 09.01.2009 um 23:00 schrieb Sebastian Herbszt:
>
> Bastian Doetsch wrote:
>> Hi Sebastian,
>>
>> this should only occur once, directly after creating a new Mercurial
>> repository - am I right with this assumption?
>
> Yes.
>
>> I think it happens,
>> because MercurialEclipse get's a change notification before being
>> able
>> to mark the directory as team-private directory. I've added an
>> automatic global ignore pattern (".hg") to MercurialEclipse which
>> should be registered at start-up and therefore be always enabled.
>> It's
>> available in changeset r976.
>>
>> This definitely works for me - please try it :).
>
> Looks good.
>
> I just noticed the eclipse log file has those messages:
>
> !ENTRY com.vectrace.MercurialEclipse 1 0 2009-01-09 22:58:55.344
> !MESSAGE test8 does not have a hg root
> !STACK 1
> com.vectrace.MercurialEclipse.exception.HgException: test8 does not
> have a hg root
> at
> com
> .vectrace
> .MercurialEclipse
> .team.MercurialTeamProvider.getHgRoot(MercurialTeamProvider.java:165)
> at
> com
> .vectrace
> .MercurialEclipse
> .team
> .MercurialUtilities.search4MercurialRoot(MercurialUtilities.java:367)
> at
> com
> .vectrace
> .MercurialEclipse
> .team
> .MercurialConfigurationWizard
> .addPages(MercurialConfigurationWizard.java:173)
> at
> org.eclipse.team.internal.ui.wizards.ConfigureProjectWizardMainPage
> $1.selectionChanged(ConfigureProjectWizardMainPage.java:148)
> at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at org.eclipse.core.runtime.Platform.run(Platform.java:880)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
> at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:
> 160)
> at
> org
> .eclipse
> .jface
> .viewers.StructuredViewer.updateSelection(StructuredViewer.java:2062)
> at
> org
> .eclipse
> .jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:
> 1638)
> at
> org.eclipse.jface.viewers.TableViewer.setSelection(TableViewer.java:
> 157)
> at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:392)
> at
> org
> .eclipse
> .team
> .internal
> .ui
> .wizards
> .ConfigureProjectWizardMainPage
> .initializeWizardSelection(ConfigureProjectWizardMainPage.java:257)
> at
> org
> .eclipse
> .team
> .internal
> .ui
> .wizards
> .ConfigureProjectWizardMainPage
> .createControl(ConfigureProjectWizardMainPage.java:192)
> at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:170)
> at
> org
> .eclipse
> .jface.wizard.WizardDialog.createPageControls(WizardDialog.java:669)
> at
> org
> .eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:
> 543)
> at org.eclipse.jface.window.Window.create(Window.java:431)
> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
> at org.eclipse.jface.window.Window.open(Window.java:790)
> at
> org
> .eclipse
> .team
> .internal
> .ui
> .wizards
> .ConfigureProjectWizard.openWizard(ConfigureProjectWizard.java:224)
> at
> org
> .eclipse
> .team
> .internal
> .ui
> .wizards
> .ConfigureProjectWizard.shareProjects(ConfigureProjectWizard.java:124)
> at org.eclipse.team.internal.ui.actions.ConfigureProjectAction
> $1.run(ConfigureProjectAction.java:39)
> at org.eclipse.team.internal.ui.actions.TeamAction
> $3.run(TeamAction.java:265)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:
> 70)
> at
> org.eclipse.team.internal.ui.actions.TeamAction.run(TeamAction.java:
> 262)
> at
> org
> .eclipse
> .team
> .internal
> .ui
> .actions.ConfigureProjectAction.execute(ConfigureProjectAction.java:
> 33)
> at
> org.eclipse.team.internal.ui.actions.TeamAction.run(TeamAction.java:
> 514)
> at
> org
> .eclipse
> .team.internal.ui.actions.TeamAction.runWithEvent(TeamAction.java:548)
> at
> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:
> 241)
> at
> org
> .eclipse
> .jface
> .action
> .ActionContributionItem
> .handleWidgetSelection(ActionContributionItem.java:583)
> at org.eclipse.jface.action.ActionContributionItem.access
> $2(ActionContributionItem.java:500)
> at org.eclipse.jface.action.ActionContributionItem
> $5.handleEvent(ActionContributionItem.java:411)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
> 3823)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
> at
> org
> .eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
> 288)
> at
> org
> .eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:
> 488)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
> 149)
> at
> org
> .eclipse
> .ui
> .internal.ide.application.IDEApplication.start(IDEApplication.java:
> 113)
> at
> org
> .eclipse
> .equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> at
> org
> .eclipse
> .core
> .runtime
> .internal
> .adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:
> 110)
> at
> org
> .eclipse
> .core
> .runtime
> .internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> at
> org
> .eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
> 382)
> at
> org
> .eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
> 179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> Caused by: com.vectrace.MercurialEclipse.exception.HgException:
> test8 does not have a hg root
> at
> com
> .vectrace
> .MercurialEclipse.commands.HgRootClient.getHgRoot(HgRootClient.java:
> 102)
> at
> com
> .vectrace
> .MercurialEclipse
> .commands.HgRootClient.getHgRootAsFile(HgRootClient.java:57)
> at
> com
> .vectrace
> .MercurialEclipse.commands.HgRootClient.getHgRoot2(HgRootClient.java:
> 42)
> at
> com
> .vectrace
> .MercurialEclipse.commands.HgRootClient.getHgRoot(HgRootClient.java:
> 34)
> at
> com
> .vectrace
> .MercurialEclipse
> .team
> .MercurialTeamProvider
> .getAndStoreHgRootPath(MercurialTeamProvider.java:103)
> at
> com
> .vectrace
> .MercurialEclipse
> .team.MercurialTeamProvider.getHgRoot(MercurialTeamProvider.java:163)
> ... 59 more
> !SUBENTRY 1 com.vectrace.MercurialEclipse 4 -100 2009-01-09
> 22:58:55.345
> !MESSAGE test8 does not have a hg root
> !STACK 1
> com.vectrace.MercurialEclipse.exception.HgException: test8 does not
> have a hg root
> at
> com
> .vectrace
> .MercurialEclipse.commands.HgRootClient.getHgRoot(HgRootClient.java:
> 102)
> at
> com
> .vectrace
> .MercurialEclipse
> .commands.HgRootClient.getHgRootAsFile(HgRootClient.java:57)
> at
> com
> .vectrace
> .MercurialEclipse.commands.HgRootClient.getHgRoot2(HgRootClient.java:
> 42)
> at
> com
> .vectrace
> .MercurialEclipse.commands.HgRootClient.getHgRoot(HgRootClient.java:
> 34)
> at
> com
> .vectrace
> .MercurialEclipse
> .team
> .MercurialTeamProvider
> .getAndStoreHgRootPath(MercurialTeamProvider.java:103)
> at
> com
> .vectrace
> .MercurialEclipse
> .team.MercurialTeamProvider.getHgRoot(MercurialTeamProvider.java:163)
> at
> com
> .vectrace
> .MercurialEclipse
> .team
> .MercurialUtilities.search4MercurialRoot(MercurialUtilities.java:367)
> at
> com
> .vectrace
> .MercurialEclipse
> .team
> .MercurialConfigurationWizard
> .addPages(MercurialConfigurationWizard.java:173)
> at
> org.eclipse.team.internal.ui.wizards.ConfigureProjectWizardMainPage
> $1.selectionChanged(ConfigureProjectWizardMainPage.java:148)
> at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at org.eclipse.core.runtime.Platform.run(Platform.java:880)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
> at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:
> 160)
> at
> org
> .eclipse
> .jface
> .viewers.StructuredViewer.updateSelection(StructuredViewer.java:2062)
> at
> org
> .eclipse
> .jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:
> 1638)
> at
> org.eclipse.jface.viewers.TableViewer.setSelection(TableViewer.java:
> 157)
> at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:392)
> at
> org
> .eclipse
> .team
> .internal
> .ui
> .wizards
> .ConfigureProjectWizardMainPage
> .initializeWizardSelection(ConfigureProjectWizardMainPage.java:257)
> at
> org
> .eclipse
> .team
> .internal
> .ui
> .wizards
> .ConfigureProjectWizardMainPage
> .createControl(ConfigureProjectWizardMainPage.java:192)
> at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:170)
> at
> org
> .eclipse
> .jface.wizard.WizardDialog.createPageControls(WizardDialog.java:669)
> at
> org
> .eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:
> 543)
> at org.eclipse.jface.window.Window.create(Window.java:431)
> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
> at org.eclipse.jface.window.Window.open(Window.java:790)
> at
> org
> .eclipse
> .team
> .internal
> .ui
> .wizards
> .ConfigureProjectWizard.openWizard(ConfigureProjectWizard.java:224)
> at
> org
> .eclipse
> .team
> .internal
> .ui
> .wizards
> .ConfigureProjectWizard.shareProjects(ConfigureProjectWizard.java:124)
> at org.eclipse.team.internal.ui.actions.ConfigureProjectAction
> $1.run(ConfigureProjectAction.java:39)
> at org.eclipse.team.internal.ui.actions.TeamAction
> $3.run(TeamAction.java:265)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:
> 70)
> at
> org.eclipse.team.internal.ui.actions.TeamAction.run(TeamAction.java:
> 262)
> at
> org
> .eclipse
> .team
> .internal
> .ui
> .actions.ConfigureProjectAction.execute(ConfigureProjectAction.java:
> 33)
> at
> org.eclipse.team.internal.ui.actions.TeamAction.run(TeamAction.java:
> 514)
> at
> org
> .eclipse
> .team.internal.ui.actions.TeamAction.runWithEvent(TeamAction.java:548)
> at
> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:
> 241)
> at
> org
> .eclipse
> .jface
> .action
> .ActionContributionItem
> .handleWidgetSelection(ActionContributionItem.java:583)
> at org.eclipse.jface.action.ActionContributionItem.access
> $2(ActionContributionItem.java:500)
> at org.eclipse.jface.action.ActionContributionItem
> $5.handleEvent(ActionContributionItem.java:411)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
> 3823)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
> at
> org
> .eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
> 288)
> at
> org
> .eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:
> 488)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
> 149)
> at
> org
> .eclipse
> .ui
> .internal.ide.application.IDEApplication.start(IDEApplication.java:
> 113)
> at
> org
> .eclipse
> .equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> at
> org
> .eclipse
> .core
> .runtime
> .internal
> .adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:
> 110)
> at
> org
> .eclipse
> .core
> .runtime
> .internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> at
> org
> .eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
> 382)
> at
> org
> .eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
> 179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> !SUBENTRY 2 com.vectrace.MercurialEclipse 4 -100 2009-01-09
> 22:58:55.346
> !MESSAGE test8 does not have a hg root
>
> - Sebastian
>
>
> >
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
iEYEARECAAYFAklnzDAACgkQBqJW4lDO0YKm6gCeJnuyiNFnaM2tpYeC7o/lX2H+
D9oAn2N6A2DshQZB340PjI4v7u1d11CM
=Bpaf
-----END PGP SIGNATURE-----
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MercurialEclipse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/mercurialeclipse?hl=en
-~----------~----~----~----~------~----~------~--~---