comparison mercurial/transaction.py @ 1584:b3e94785ab69

merge with crew
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Sun, 11 Dec 2005 15:38:42 -0800
parents 59b3639df0a9
children a2c69737e65e
comparison
equal deleted inserted replaced
1583:32a4e6802864 1584:b3e94785ab69
10 # 10 #
11 # This software may be used and distributed according to the terms 11 # This software may be used and distributed according to the terms
12 # of the GNU General Public License, incorporated herein by reference. 12 # of the GNU General Public License, incorporated herein by reference.
13 13
14 import os 14 import os
15 import util
16 from i18n import gettext as _ 15 from i18n import gettext as _
17 16
18 class transaction: 17 class transaction(object):
19 def __init__(self, report, opener, journal, after=None): 18 def __init__(self, report, opener, journal, after=None):
20 self.journal = None 19 self.journal = None
21 20
22 # abort here if the journal already exists 21 # abort here if the journal already exists
23 if os.path.exists(journal): 22 if os.path.exists(journal):