Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

stable run: probable workaround for exception handling (refs #1042)

Changeset debce32cd97a

Parent 01a9dc0762f9

by Steve Borho

Changes to one file · Browse files at debce32cd97a Showing diff from parent 01a9dc0762f9 Diff from another changeset...

 
36
37
38
 
 
 
 
 
39
40
41
 
500
501
502
503
504
 
505
506
507
508
 
509
510
511
 
36
37
38
39
40
41
42
43
44
45
46
 
505
506
507
 
 
508
509
 
 
 
510
511
512
513
@@ -36,6 +36,11 @@
 except ImportError:   config_nofork = None   +try: + from thginithook import thginithook +except ImportError: + thginithook = None +  nonrepo_commands = '''userconfig shellconfig clone debugcomplete init  about help version thgstatus serve rejects log'''   @@ -500,12 +505,9 @@
  raise   QTimer.singleShot(0, reraise)   - try: - from thginithook import thginithook + if thginithook is not None:   thginithook() - except ImportError: - pass - +   try:   return self._mainapp.exec_()   finally: