Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1, 2.1.1, and 2.1.2

overlay server: do not log missing .hg/thgstatus files

ENOENT is a normal use case

Changeset cb77bacef4ee

Parent d6e83820b25e

by Adrian Buehlmann

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

 
18
19
20
 
21
22
23
 
366
367
368
369
370
 
 
371
372
373
 
18
19
20
21
22
23
24
 
367
368
369
 
 
370
371
372
373
374
@@ -18,6 +18,7 @@
  sys.stderr = BlackHole()    import os +import errno  import time  import threading  import cStringIO @@ -366,8 +367,8 @@
  if not e.startswith('@@noicons'):   unlink(tfn)   except (IOError, OSError), e: - logger.msg("Error while trying to remove %s (%s)" % (tfn, e)) - pass + if e.errno != errno.ENOENT: + logger.msg("Error while trying to remove %s (%s)" % (tfn, e))   if notifypaths:   shlib.shell_notify(list(notifypaths))