Changeset 3462c395f9ac…
Parent 733913069b48…
by
Changes to one file · Browse files at 3462c395f9ac Showing diff from parent 733913069b48 Diff from another changeset...
@@ -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))
|
Loading...