diff mercurial/commands.py @ 20650:e811b93f2cb1

cmdserver: allow to start server without repository Typical use case is to clone repository through command server. Clone may require user interaction, so command-server protocol is beneficial over raw stdio channels.
author Yuya Nishihara <yuya@tcha.org>
date Mon, 03 Mar 2014 23:21:24 +0900
parents 7cd956ace1f4
children 19e9478c1a22
line wrap: on
line diff
--- a/mercurial/commands.py	Mon Mar 03 23:11:17 2014 +0900
+++ b/mercurial/commands.py	Mon Mar 03 23:21:24 2014 +0900
@@ -5168,7 +5168,6 @@
         s.serve_forever()
 
     if opts["cmdserver"]:
-        checkrepo()
         s = commandserver.server(ui, repo, opts["cmdserver"])
         return s.serve()