Mercurial循环错误后跟提交锁。水银/ Eclipse中

时间:2017-08-28 18:09:06

标签: eclipse mercurial mercurialeclipse

下面的错误和日食信息。基本上我克隆一个存储库,更改一个文件并提交。提交屏幕闪烁我看到日志中的错误,当我去尝试再次提交时,我得到锁定超时。我已经清除了锁并恢复了存储库但总是锁定。有人通过这个并修复过吗?

由于    比尔

MercurialEclipse 2.2

eclipse.buildId=4.5.2.M20160212-1500
java.version=1.8.0_92
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.reporting.product -product org.eclipse.epp.package.reporting.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.reporting.product -data file:/C:/dev/ -product org.eclipse.epp.package.reporting.product

Java.lang.IllegalStateException: cmdserver is still executing request
                at com.aragost.javahg.internals.AbstractCommand.getReturnCode(AbstractCommand.java:325)
                at com.aragost.javahg.commands.CommitCommand.doExecute(CommitCommand.java:90)
                at com.aragost.javahg.commands.CommitCommand.execute(CommitCommand.java:73)
                at com.aragost.javahg.commands.CommitCommand.execute(CommitCommand.java:108)
                at com.vectrace.MercurialEclipse.commands.HgCommitClient.commit(HgCommitClient.java:121)
                at com.vectrace.MercurialEclipse.commands.HgCommitClient.commitResources(HgCommitClient.java:70)
                at com.vectrace.MercurialEclipse.dialogs.CommitDialog.performCommit(CommitDialog.java:667)
                at com.vectrace.MercurialEclipse.dialogs.CommitDialog.okPressed(CommitDialog.java:462)
                at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:466)
                at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
                at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
                at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
                at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
                at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)
                at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)
                at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)
                at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
                at org.eclipse.jface.window.Window.open(Window.java:803)
                at com.vectrace.MercurialEclipse.menu.CommitHandler.run(CommitHandler.java:56)
                at com.vectrace.MercurialEclipse.team.ActionCommit.doRun(ActionCommit.java:64)
                at com.vectrace.MercurialEclipse.team.ActionCommit.run(ActionCommit.java:47)
                at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:247)
                at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
                at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
                at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
                at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
                at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
                at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)
                at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)
                at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)
                at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
                at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
                at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
                at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
                at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
                at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
                at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
                at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
                at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
                at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:498)
                at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
                at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
                at org.eclipse.equinox.launcher.Main.run(Main.java:1515)

1 个答案:

答案 0 :(得分:0)

HG安装中的一些本地挂钩基本上是预先提交检查导致了这个错误。评论HG附加组件解决了这个问题。