comparison mercurial/commands.py @ 21819:816754e75f2f

serve: tidy up indent level of repository not found message
author Yuya Nishihara <yuya@tcha.org>
date Thu, 01 May 2014 19:57:25 +0900
parents 448714b79d9a
children ecdbbb6e5d06
comparison
equal deleted inserted replaced
21818:448714b79d9a 21819:816754e75f2f
5246 raise util.Abort(_("cannot use --stdio with --cmdserver")) 5246 raise util.Abort(_("cannot use --stdio with --cmdserver"))
5247 5247
5248 if opts["stdio"]: 5248 if opts["stdio"]:
5249 if repo is None: 5249 if repo is None:
5250 raise error.RepoError(_("there is no Mercurial repository here" 5250 raise error.RepoError(_("there is no Mercurial repository here"
5251 " (.hg not found)")) 5251 " (.hg not found)"))
5252 s = sshserver.sshserver(ui, repo) 5252 s = sshserver.sshserver(ui, repo)
5253 s.serve_forever() 5253 s.serve_forever()
5254 5254
5255 if opts["cmdserver"]: 5255 if opts["cmdserver"]:
5256 s = commandserver.server(ui, repo, opts["cmdserver"]) 5256 s = commandserver.server(ui, repo, opts["cmdserver"])