diff --git a/mercurial/transaction.py b/mercurial/transaction.py