Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

rpcserver: wait 2 seconds before notifying shell

tests with hg update have revealed that shell notifications seem to have no
effect if done too early

Changeset 88fb91bd87c4

Parent 932d15bf6d7b

by Adrian Buehlmann

Changes to one file · Browse files at 88fb91bd87c4 Showing diff from parent 932d15bf6d7b Diff from another changeset...

 
7
8
9
 
10
11
12
 
32
33
34
 
35
36
37
 
7
8
9
10
11
12
13
 
33
34
35
36
37
38
39
@@ -7,6 +7,7 @@
 from mercurial import repo as _repo  from thgutil import paths, shlib  import sys +import time  import win32serviceutil  import win32service  import win32event @@ -32,6 +33,7 @@
  _ui = ui.ui();   if root is not None:   shlib.update_thgstatus(_ui, root, wait=False) + time.sleep(2)   shlib.shell_notify([path])   print "updated repo %s" % root   else: