Locks and transactions for dummies
dirkjan at ochtman.nl
Tue Jul 21 02:14:55 CDT 2009
On Tue, Jul 21, 2009 at 02:27, Greg Ward<greg-hg at gerg.ca> wrote:
> 1) How do you commit a transaction? I've copied the "finally: del tr"
> pattern from localrepository.addchangegroup(), so every transaction is
> successfully aborted. Great. Now what if there was no error and I
> want to commit it?
Aren't you using the memctx/commitctx routines for committing? If not,
any reason why?
More information about the Mercurial-devel