tests/test-commandserver.py.out
author Idan Kamara <idankk86@gmail.com>
Sat, 09 Jul 2011 19:06:59 +0300
branchstable
changeset 14889 a59058fd074a
parent 14882 bb2cffe81a94
child 14939 b4c06b97dfe0
permissions -rw-r--r--
hooks: redirect stdout/err/in to the ui descriptors when calling python hooks We need to make sure that python hooks I/O goes through the ui descriptors so it doesn't mess the command server protocol.

o, 'capabilities: getencoding runcommand\nencoding: ***'
000000000000 tip
abort: unknown command unknowncommand
Mercurial Distributed SCM

basic commands:

 add        add the specified files on the next commit
 annotate   show changeset information by line for each file
 clone      make a copy of an existing repository
 commit     commit the specified files or all outstanding changes
 diff       diff repository (or selected files)
 export     dump the header and diffs for one or more changesets
 forget     forget the specified files on the next commit
 init       create a new repository in the given directory
 log        show revision history of entire repository or files
 merge      merge working directory with another revision
 pull       pull changes from the specified source
 push       push changes to the specified destination
 remove     remove the specified files on the next commit
 serve      start stand-alone webserver
 status     show changed files in the working directory
 summary    summarize working directory state
 update     update working directory (or switch revisions)

use "hg help" for the full list of commands or "hg -v" for details
000000000000
000000000000 tip
000000000000
000000000000 tip
server exit code = 1
applying patch from stdin
changeset:   0:eff892de26ec
tag:         tip
user:        test
date:        Thu Jan 01 00:00:00 1970 +0000
summary:     1

? bar
? foo/bar
bundle.mainreporoot=$TESTTMP
defaults.backout=-d "0 0"
defaults.commit=-d "0 0"
defaults.tag=-d "0 0"
ui.slash=True
ui.foo=bar
bundle.mainreporoot=$TESTTMP/foo
defaults.backout=-d "0 0"
defaults.commit=-d "0 0"
defaults.tag=-d "0 0"
ui.slash=True
hook talking
now try to read something: 'some input'
eff892de26ec tip