Mercurial > public > mercurial-scm > hg
diff tests/test-commandserver.py.out @ 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 | 9524938c8ff8 |
children | 9336bc7dca8e |
line wrap: on
line diff
--- a/tests/test-commandserver.py.out Mon Mar 03 23:11:17 2014 +0900 +++ b/tests/test-commandserver.py.out Mon Mar 03 23:21:24 2014 +0900 @@ -237,3 +237,16 @@ patch queue now empty runcommand qqueue --active foo + +testing hellomessage: + +o, 'capabilities: getencoding runcommand\nencoding: ***' + runcommand id +abort: there is no Mercurial repository here (.hg not found) + [255] + +testing startwithoutrepo: + + runcommand init repo2 + runcommand id -R repo2 +000000000000 tip