Commits

James Lan committed f96b099 Draft

Add dummy repowatcher and socketlistener classes

  • Participants
  • Parent commits f24ec61

Comments (0)

Files changed (1)

File winserver.patch

 
 diff -r d173757ac887 hgext/inotify/server.py
 --- a/hgext/inotify/server.py	Sat Jan 21 22:57:19 2012 +0800
-+++ b/hgext/inotify/server.py	Mon Jan 23 11:09:23 2012 +0800
++++ b/hgext/inotify/server.py	Wed Jan 25 13:03:20 2012 +0800
 @@ -432,6 +432,8 @@
  
  if sys.platform.startswith('linux'):
  
 diff -r d173757ac887 hgext/inotify/winserver.py
 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
-+++ b/hgext/inotify/winserver.py	Mon Jan 23 11:09:23 2012 +0800
-@@ -0,0 +1,11 @@
++++ b/hgext/inotify/winserver.py	Wed Jan 25 13:03:20 2012 +0800
+@@ -0,0 +1,20 @@
 +import server
 +
++class repowatcher(server.repowatcher):
++    def __init__(self, ui, dirstate, root):
++        super(self, repowatcher).__init__(ui, dirstate, root)
++
++class socketlistener(server.socketlistener):
++    def __init__(self, ui, root, repowatcher, timeout):
++        super(self, socketlistener).__init__(ui, root, repowatcher,
++            timeout)
++
 +class master(object):
 +    def __init__(self, ui, dirstate, root, timeout=None):
 +        self.ui = ui