Command server

Sergey Antonov sergant_ at mail.ru
Sat Dec 17 11:11:03 CST 2011


I'm working on mercurial integration to an IDE.

Currently I use a mercurial command line client (hg) with redirected 
output for the operations with repository.

Now I'm looking at the 'command server' mode, that was introduced in hg 1.9.

I've made some tests and found that commands like 
incoming/outgoing/push/pull does not asks for credentials via command 
server protocol and simply aborts with 'abort: http authorization required'.

Is there plans to support interaction with user via command server 
protocol ? For example, there can be dedicated 'required' channel for 
asking credentials. And client may switch a server to interactive mode, 
so it will use such a channel and not simply aborts.

The second problem is that server needs a repository. I know that this 
is known limitation. But it is not possible to clone a remote repository 
in command server mode.

-- 
Sergey Antonov
sergant_ at mail.ru


More information about the Mercurial mailing list