##// END OF EJS Templates
localrepo: adjust some imports, remove sys dependency
mpm@selenic.com -
r1097:1f89ccba default
parent child Browse files
Show More
@@ -5,14 +5,14 b''
5 # This software may be used and distributed according to the terms
5 # This software may be used and distributed according to the terms
6 # of the GNU General Public License, incorporated herein by reference.
6 # of the GNU General Public License, incorporated herein by reference.
7
7
8 import sys, struct, os, util
8 import struct, os, util
9 from repo import *
9 from repo import *
10 from revlog import *
10 from revlog import *
11 from filelog import *
11 from filelog import *
12 from manifest import *
12 from manifest import *
13 from changelog import *
13 from changelog import *
14 from dirstate import *
14 from demandload import *
15 from demandload import *
15 from dirstate import *
16 demandload(globals(), "re lock transaction tempfile stat")
16 demandload(globals(), "re lock transaction tempfile stat")
17
17
18 class localrepository:
18 class localrepository:
@@ -1323,8 +1323,8 b' class localrepository:'
1323 try:
1323 try:
1324 delta = mdiff.patchtext(self.manifest.delta(n))
1324 delta = mdiff.patchtext(self.manifest.delta(n))
1325 except KeyboardInterrupt:
1325 except KeyboardInterrupt:
1326 self.ui.warn("aborted")
1326 self.ui.warn("interrupted")
1327 sys.exit(0)
1327 raise
1328 except Exception, inst:
1328 except Exception, inst:
1329 self.ui.warn("unpacking manifest %s: %s\n"
1329 self.ui.warn("unpacking manifest %s: %s\n"
1330 % (short(n), inst))
1330 % (short(n), inst))
General Comments 0
You need to be logged in to leave comments. Login now