comparison hgext/inotify/__init__.py @ 9351:206f7f4c5c2a

inotify: client: no repo use
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Mon, 29 Jun 2009 01:27:34 +0900
parents 9cda78218ab3
children 37042e8b3b34
comparison
equal deleted inserted replaced
9350:b789ea382fc0 9351:206f7f4c5c2a
23 timeout = float(timeout) * 1e3 23 timeout = float(timeout) * 1e3
24 24
25 class service(object): 25 class service(object):
26 def init(self): 26 def init(self):
27 try: 27 try:
28 self.master = server.master(ui, repo, timeout) 28 self.master = server.master(ui, repo.dirstate,
29 repo.root, timeout)
29 except server.AlreadyStartedException, inst: 30 except server.AlreadyStartedException, inst:
30 raise util.Abort(str(inst)) 31 raise util.Abort(str(inst))
31 32
32 def run(self): 33 def run(self):
33 try: 34 try: