abandoned transaction error

Matt Mackall mpm at selenic.com
Thu Mar 24 16:46:31 UTC 2016


On Wed, 2016-03-23 at 22:21 +0000, Jones, JonathanX wrote:
> Is the error: "abort: abandoned transaction found! (run 'hg recover' to clean
> up transaction)"
> 
> Always in relation to network errors, or could there be another cause?

It's most commonly due to power failure or similar hard interruption of an hg
operation. It's triggered by the presence of a .hg/journal or .hg/store/journal
file.

> And when we run the "hg recover -R" command on the repo or on the cached repo,
> it will usually come back with
>
> "no interrupted transaction available"

That.. doesn't make sense. The transaction file either exists or it doesn't.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial mailing list