Wed, 05 Nov 2014 01:38:08 +0200
- restart correctly after updating
cmd_admin.py | file | annotate | diff | comparison | revisions |
--- a/cmd_admin.py Wed Nov 05 01:36:38 2014 +0200 +++ b/cmd_admin.py Wed Nov 05 01:38:08 2014 +0200 @@ -52,7 +52,7 @@ r2 = repo.hg_id() if r1 != r2: bot.privmsg (replyto, 'Updated to %s, restarting...' % r2) - excepterm('') + bot.restart() else: bot.privmsg (replyto, 'Up to date at %s.' % r2) except hgapi.HgException as e: