view tests/test-commandserver.py.out @ 15278:2ed335669e18 stable

commands: use separate try/except and try/finally as needed for python2.4 62dc0e7ab092 introduced a try/except/finally block, which breaks compatibility with python2.4
author Thomas Arendsen Hein <thomas@intevation.de>
date Sun, 16 Oct 2011 11:12:59 +0200
parents b4c06b97dfe0
children 3aee6e26b28b
line wrap: on
line source

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
changeset:   1:d3a0a68be6de
tag:         tip
user:        test
date:        Thu Jan 01 00:00:00 1970 +0000
summary:     2

no bookmarks set
   bm1                       1:d3a0a68be6de
   bm2                       1:d3a0a68be6de
 * bm1                       1:d3a0a68be6de
   bm2                       1:d3a0a68be6de

foo