mercurial/transaction.py
changeset 2470 fe1689273f84
parent 2084 d66278012853
child 2858 345bac2bc4ec
--- a/mercurial/transaction.py
+++ b/mercurial/transaction.py
@@ -11,8 +11,9 @@
 # This software may be used and distributed according to the terms
 # of the GNU General Public License, incorporated herein by reference.
 
-import os
+from demandload import demandload
 from i18n import gettext as _
+demandload(globals(), 'os')
 
 class transaction(object):
     def __init__(self, report, opener, journal, after=None):