Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.3, 2.0.4, and 2.0.5

stable sync: catch environment errors from os.chdir (closes #405)

Changeset a73730ffca80

Parent fbdfa3a724f0

by Steve Borho

Changes to one file · Browse files at a73730ffca80 Showing diff from parent fbdfa3a724f0 Diff from another changeset...

 
507
508
509
 
 
 
510
511
512
 
507
508
509
510
511
512
513
514
515
@@ -507,6 +507,9 @@
  try:   os.chdir(folder)   QProcess.startDetached(shell) + except EnvironmentError, e: + qtlib.InfoMsgBox(_('Repository not found'), + hglib.tounicode(str(e)))   finally:   os.chdir(cwd)   else: