test-commandserver.py.out
164 lines
| 3.7 KiB
| text/plain
|
TextLexer
/ tests / test-commandserver.py.out
|
r15541 | |||
testing hellomessage: | ||||
|
r14770 | o, 'capabilities: getencoding runcommand\nencoding: ***' | ||
|
r15541 | runcommand id | ||
|
r14770 | 000000000000 tip | ||
|
r15541 | |||
testing unknowncommand: | ||||
|
r16117 | abort: unknown command unknowncommand | ||
|
r15541 | |||
testing checkruncommand: | ||||
runcommand | ||||
|
r14770 | Mercurial Distributed SCM | ||
basic commands: | ||||
|
r16853 | 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) | ||||
|
r14770 | |||
use "hg help" for the full list of commands or "hg -v" for details | ||||
|
r15541 | runcommand id --quiet | ||
|
r14770 | 000000000000 | ||
|
r15541 | runcommand id | ||
|
r14770 | 000000000000 tip | ||
|
r15541 | runcommand id --config ui.quiet=True | ||
|
r14770 | 000000000000 | ||
|
r15541 | runcommand id | ||
|
r14770 | 000000000000 tip | ||
|
r15541 | |||
testing inputeof: | ||||
|
r14770 | server exit code = 1 | ||
|
r15541 | |||
testing serverinput: | ||||
runcommand import - | ||||
|
r14770 | applying patch from stdin | ||
|
r15541 | runcommand log | ||
|
r14770 | changeset: 0:eff892de26ec | ||
tag: tip | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: 1 | ||||
|
r15541 | |||
testing cwd: | ||||
runcommand --cwd foo st bar | ||||
|
r14864 | ? bar | ||
|
r15541 | runcommand st foo/bar | ||
|
r14864 | ? foo/bar | ||
|
r15541 | |||
testing localhgrc: | ||||
runcommand showconfig | ||||
|
r14882 | bundle.mainreporoot=$TESTTMP | ||
defaults.backout=-d "0 0" | ||||
defaults.commit=-d "0 0" | ||||
defaults.tag=-d "0 0" | ||||
ui.slash=True | ||||
ui.foo=bar | ||||
|
r15541 | runcommand init foo | ||
|
r15542 | runcommand -R foo showconfig ui defaults | ||
|
r14882 | defaults.backout=-d "0 0" | ||
defaults.commit=-d "0 0" | ||||
defaults.tag=-d "0 0" | ||||
ui.slash=True | ||||
|
r15541 | |||
testing hookoutput: | ||||
runcommand --config hooks.pre-identify=python:test-commandserver.hook id | ||||
|
r14889 | hook talking | ||
now try to read something: 'some input' | ||||
eff892de26ec tip | ||||
|
r15541 | |||
testing outsidechanges: | ||||
|
r16114 | runcommand status | ||
M a | ||||
|
r15541 | runcommand tip | ||
|
r14939 | changeset: 1:d3a0a68be6de | ||
tag: tip | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: 2 | ||||
|
r16114 | runcommand status | ||
|
r15541 | |||
testing bookmarks: | ||||
runcommand bookmarks | ||||
|
r14939 | no bookmarks set | ||
|
r15541 | runcommand bookmarks | ||
|
r14939 | bm1 1:d3a0a68be6de | ||
bm2 1:d3a0a68be6de | ||||
|
r15541 | runcommand bookmarks | ||
|
r14939 | * bm1 1:d3a0a68be6de | ||
bm2 1:d3a0a68be6de | ||||
|
r16115 | runcommand bookmarks bm3 | ||
runcommand commit -Amm | ||||
runcommand bookmarks | ||||
bm1 1:d3a0a68be6de | ||||
bm2 1:d3a0a68be6de | ||||
* bm3 2:aef17e88f5f0 | ||||
|
r14939 | |||
|
r15541 | testing tagscache: | ||
runcommand id -t -r 0 | ||||
runcommand id -t -r 0 | ||||
|
r14939 | foo | ||
|
r15989 | |||
testing setphase: | ||||
runcommand phase -r . | ||||
|
r16115 | 3: draft | ||
|
r15989 | runcommand phase -r . | ||
|
r16115 | 3: public | ||
|
r16116 | |||
testing rollback: | ||||
runcommand phase -r . -p | ||||
|
r16117 | no phases changed | ||
|
r16116 | runcommand commit -Am. | ||
runcommand rollback | ||||
repository tip rolled back to revision 3 (undo commit) | ||||
working directory now based on revision 3 | ||||
runcommand phase -r . | ||||
3: public | ||||
|
r16201 | |||
testing branch: | ||||
runcommand branch | ||||
default | ||||
marked working directory as branch foo | ||||
(branches are permanent and global, did you want a bookmark?) | ||||
runcommand branch | ||||
foo | ||||
marked working directory as branch default | ||||
(branches are permanent and global, did you want a bookmark?) | ||||
|
r16202 | |||
testing hgignore: | ||||
runcommand commit -Am. | ||||
adding .hgignore | ||||
runcommand status -i -u | ||||
I ignored-file | ||||