mercurial/commands.py
changeset 45818 b7b8a1538161
parent 45812 976b26bdd0d8
child 45819 d6279c43fc60
equal deleted inserted replaced
45817:58e7ee23ddbd 45818:b7b8a1538161
  6346             raise error.RepoError(
  6346             raise error.RepoError(
  6347                 _(b"there is no Mercurial repository here (.hg not found)")
  6347                 _(b"there is no Mercurial repository here (.hg not found)")
  6348             )
  6348             )
  6349         s = wireprotoserver.sshserver(ui, repo)
  6349         s = wireprotoserver.sshserver(ui, repo)
  6350         s.serve_forever()
  6350         s.serve_forever()
       
  6351         sys.exit(0)
  6351 
  6352 
  6352     service = server.createservice(ui, repo, opts)
  6353     service = server.createservice(ui, repo, opts)
  6353     return server.runservice(opts, initfn=service.init, runfn=service.run)
  6354     return server.runservice(opts, initfn=service.init, runfn=service.run)
  6354 
  6355 
  6355 
  6356