Mercurial > hg-stable
changeset 8790:72af80052bd9
inotify: add log config option redirect inotify server output to a file
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Sat, 13 Jun 2009 18:14:50 +0200 |
parents | e0ed17984a48 |
children | 23730a475363 |
files | hgext/inotify/__init__.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/inotify/__init__.py Mon May 25 18:14:32 2009 +0900 +++ b/hgext/inotify/__init__.py Sat Jun 13 18:14:50 2009 +0200 @@ -37,7 +37,9 @@ self.master.shutdown() service = service() - cmdutil.service(opts, initfn=service.init, runfn=service.run) + logfile = ui.config('inotify', 'log') + cmdutil.service(opts, initfn=service.init, runfn=service.run, + logfile=logfile) def debuginotify(ui, repo, **opts): '''debugging information for inotify extension