scm-hg-plugin test fails with mercurial 3.3

Issue #679 resolved
Sebastian Sdorra
repo owner created an issue
-------------------------------------------------------------------------------
Test set: sonia.scm.repository.spi.HgLogCommandTest
-------------------------------------------------------------------------------
Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.907 sec <<< FAILURE!
testGetRange(sonia.scm.repository.spi.HgLogCommandTest)  Time elapsed: 0.389 sec  <<< ERROR!
com.aragost.javahg.internals.RuntimeIOException: A non-digit found: c
    at sonia.scm.repository.spi.javahg.AbstractChangesetCommand.loadRevisionsFromStream(AbstractChangesetCommand.java:234)
    at sonia.scm.repository.spi.javahg.HgLogChangesetCommand.loadRevisions(HgLogChangesetCommand.java:145)
    at sonia.scm.repository.spi.javahg.HgLogChangesetCommand.singleRevision(HgLogChangesetCommand.java:186)
    at sonia.scm.repository.spi.HgLogCommand.getChangesets(HgLogCommand.java:130)
    at sonia.scm.repository.spi.HgLogCommandTest.testGetRange(HgLogCommandTest.java:215)
    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:483)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
    at org.junit.rules.RunRules.evaluate(RunRules.java:20)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
    at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
    at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
    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:483)
    at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
    at com.sun.proxy.$Proxy0.invoke(Unknown Source)
    at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
    at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
    at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: java.io.IOException: A non-digit found: c
    at com.aragost.javahg.internals.HgInputStream.decimalIntUpTo(HgInputStream.java:335)
    at com.aragost.javahg.internals.HgInputStream.revisionUpTo(HgInputStream.java:394)
    at sonia.scm.repository.spi.javahg.AbstractChangesetCommand.loadRevisionsFromStream(AbstractChangesetCommand.java:223)
    ... 38 more

Comments (1)

  1. Log in to comment