abort: abandoned transaction found - run hg recover!

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

The following entry appears in the fisheye-debug-<DATE>.log:

2012-04-05 09:57:48,736 ERROR [InitialPinger3 ] fisheye.app OneOffPingRequest-doRequest - Exception during slurp
com.cenqua.fisheye.config.ConfigException: Unable to pull from remote repository: K:\Master
 - [abort: abandoned transaction found - run hg recover!]
 - pulling from K:\Master
searching for changes
...
Caused by: com.atlassian.utils.process.ProcessException: While executing: "c:\Program Files\TortoiseHg\hg.exe --config ui.verbose=false pull K:\Master "
...
Caused by: com.atlassian.utils.process.ProcessException: Non-zero exit code: -1
...

Cause

This is a problem on the Mercurial server side as the Mercurial server throws this error when a previous action (either by Fisheye or another Hg client) was interrupted, e.g. because the network connection dropped.

Resolution

Run the the following command on the Mercurial server:

hg recover -R <REPOSITORY_PATH>
Last modified on Jul 31, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.