[PATCH] transaction: display data about why the transaction failed to rollback
Yuya Nishihara
yuya at tcha.org
Fri Nov 9 22:12:04 EST 2018
On Fri, 09 Nov 2018 23:45:32 +0100, Boris Feld wrote:
> # HG changeset patch
> # User Boris Feld <boris.feld at octobus.net>
> # Date 1541617178 -3600
> # Wed Nov 07 19:59:38 2018 +0100
> # Node ID 73479612de7345e9ba400e3178315ab578de2c54
> # Parent a2c4502e409b72b22053fc31772368416c876b66
> # EXP-Topic explain-failure
> # Available At https://bitbucket.org/octobus/mercurial-devel/
> # hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 73479612de73
> transaction: display data about why the transaction failed to rollback
Queued, thanks.
> + except BaseException as exc:
> self._report(_("rollback failed - please run hg recover\n"))
> + self._report(_("(failure reason: %s)\n") % exc)
Wrapped with forcebytestr() for py3 compatibility.
More information about the Mercurial-devel
mailing list