This exception was thrown when switching the MercurialEclipse working directory from branch default to a topic based on branch default with message
Unexpected format: switching to topic issue635-update-javahg
org.javahg.internals.UnexpectedCommandOutputException: Unexpected format: switching to topic issue635-update-javahg
at org.javahg.commands.results.UpdateResult.fromLine(UpdateResult.java:124)
at org.javahg.internals.UpdateMergeHelper.update(UpdateMergeHelper.java:99)
at org.javahg.commands.UpdateCommand.executeHelper(UpdateCommand.java:81)
at org.javahg.commands.UpdateCommand.execute(UpdateCommand.java:59)
at com.vectrace.MercurialEclipse.commands.HgUpdateClient$1.run(HgUpdateClient.java:110)
at com.vectrace.MercurialEclipse.commands.HgUpdateClient$1.run(HgUpdateClient.java:1)
at com.vectrace.MercurialEclipse.commands.JavaHgCommandJob.doRun(JavaHgCommandJob.java:43)
at com.vectrace.MercurialEclipse.commands.CommandJob.run(CommandJob.java:93)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Amenel Voglozin (c2ede9d2) at 11 Sep 14:25
[maven-release-plugin] prepare for next development iteration
Amenel Voglozin (1bbf5644) at 11 Sep 14:25
[maven-release-plugin] prepare release javahg-2.0.0
Amenel Voglozin (4f70fe13) at 11 Sep 14:25
[maven-release-plugin] copy for tag javahg-2.0.0
Amenel Voglozin (1bbf5644) at 11 Sep 14:25
[maven-release-plugin] prepare release javahg-2.0.0
Amenel Voglozin (69fbb798) at 11 Sep 14:15
Updated the range of supported hg versions.
This is to track an enhancement to the maintenance of the project, by using version-maven-plugin to help with the update of dependencies.
Fixes #68
Amenel Voglozin (6e53a8df) at 11 Sep 10:31
Added exclusion rules file for version-maven plugin.
Amenel Voglozin (6e53a8df) at 11 Sep 10:31
Fixes #68
Amenel Voglozin (6e53a8df) at 11 Sep 10:29
Added exclusion rules file for version-maven plugin.
This is to track an enhancement to the maintenance of the project, by using version-maven-plugin to help with the update of dependencies.
This error is thrown when the MercurialEclipse decorator tries to determine the current topic on a repository in which the evolve and topics extensions are not enabled.
For this to happen, the extensions must be totally absent from the configuration of the repository. Given that the topics extension is an external extension, it may well be absent, in which case JavaHg should be resilient enough to not prevent clients from operating.
Example stacktrace of the error:
org.javahg.UnknownCommandException: Mercurial command 'topics' is not supported by Mercurial version: 6.1+hg7.3c9bf1787bfd
at org.javahg.internals.AbstractCommand.handleReturnCode(AbstractCommand.java:420)
at org.javahg.internals.OutputChannelInputStream.findNextOutputChannelBlock(OutputChannelInputStream.java:173)
at org.javahg.internals.OutputChannelInputStream.<init>(OutputChannelInputStream.java:74)
at org.javahg.internals.Server.runCommand(Server.java:410)
at org.javahg.internals.AbstractCommand.launchStream(AbstractCommand.java:220)
at org.javahg.internals.AbstractCommand.launchString(AbstractCommand.java:185)
at org.javahg.ext.topics.TopicsCommand.execute(TopicsCommand.java:53)
at com.vectrace.MercurialEclipse.commands.extensions.HgTopicsClient.getActiveTopic(HgTopicsClient.java:83)
at com.vectrace.MercurialEclipse.team.MercurialTeamProvider$$Lambda$1345/0x000000001fec0880.apply(Unknown Source)
at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1705)
at com.vectrace.MercurialEclipse.team.MercurialTeamProvider.getActiveTopic(MercurialTeamProvider.java:442)
at com.vectrace.MercurialEclipse.team.ResourceDecorator.getSuffixForContainer(ResourceDecorator.java:573)
at com.vectrace.MercurialEclipse.team.ResourceDecorator.decorate(ResourceDecorator.java:281)
at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:247)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:105)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:360)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:346)
at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:386)
at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:362)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Amenel Voglozin (c36046b7) at 06 Aug 20:13
Added exception management for cases when the topics extension is n...
Fixes #67.
Amenel Voglozin (c36046b7) at 06 Aug 20:13
Fixes #67.