Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.1.5, 1.1.6, and 1.1.6.1

stable shlib: catch IOError from linux shell_notify

Refs #1542

Changeset 3462c395f9ac

Parent 733913069b48

by Steve Borho

Changes to one file · Browse files at 3462c395f9ac Showing diff from parent 733913069b48 Diff from another changeset...

 
143
144
145
146
 
 
 
 
147
148
149
 
143
144
145
 
146
147
148
149
150
151
152
@@ -143,7 +143,10 @@
  os.environ['THG_NOTIFY'] = notify   if not os.path.isfile(notify):   return - f_notify = open(notify, 'w') + try: + f_notify = open(notify, 'w') + except IOError: + return   try:   abspaths = [os.path.abspath(path) for path in paths if path]   f_notify.write('\n'.join(abspaths))