# HG changeset patch # User mpm@selenic.com # Date 1124247781 28800 # Node ID 5a034646e472c1c9e4c5bac0e356b49f009bf74c # Parent ab681ea2857e9d48cf8483963ea40e4df7724197 run-tests: remove '+ hg' trick This was causing me a fair amount of debugging confusion. Let's just forget it entirely. Updated tests to match. diff -r ab681ea2857e -r 5a034646e472 tests/run-tests --- a/tests/run-tests Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/run-tests Tue Aug 16 19:03:01 2005 -0800 @@ -52,13 +52,6 @@ if ${PYTHON-python} setup.py install --home="$INST" > tests/install.err 2>&1 then rm tests/install.err - mv "$INST/bin/hg" "$INST/bin/hg.real" - ( - echo '#!/bin/sh' - echo 'echo "+ hg $@"' - echo 'exec hg.real "$@"' - ) > "$INST/bin/hg" - chmod 755 "$INST/bin/hg" else cat tests/install.err exit 1 diff -r ab681ea2857e -r 5a034646e472 tests/test-backwards-remove.out --- a/tests/test-backwards-remove.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-backwards-remove.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,8 +1,2 @@ -+ hg init -+ hg add a -+ hg commit -m commit #0 -d 0 0 a -+ hg add b -+ hg commit -m commit #1 -d 0 0 -+ hg co 0 a diff -r ab681ea2857e -r 5a034646e472 tests/test-bad-pull.out --- a/tests/test-bad-pull.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-bad-pull.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,9 +1,7 @@ -+ hg clone http://localhost:20059/ copy requesting all changes abort: error: Connection refused 255 ls: copy: No such file or directory -+ hg clone http://localhost:20059/foo copy2 requesting all changes abort: HTTP Error 404: File not found 255 diff -r ab681ea2857e -r 5a034646e472 tests/test-basic.out --- a/tests/test-basic.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-basic.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,18 +1,11 @@ -+ hg init -+ hg add a -+ hg commit -m test -d 0 0 -+ hg history changeset: 0:acb14030fe0a tag: tip user: test date: Thu Jan 1 00:00:00 1970 summary: test -+ hg manifest b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 644 a -+ hg cat a a -+ hg verify checking changesets checking manifests crosschecking files in changesets and manifests diff -r ab681ea2857e -r 5a034646e472 tests/test-clone-failure.out --- a/tests/test-clone-failure.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-clone-failure.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,20 +1,12 @@ -+ hg clone a b abort: repository a/.hg not found! 255 -+ hg clone http://127.0.0.1:3121/a b requesting all changes abort: error: Connection refused 255 -+ hg clone a b abort: repository a/.hg not found! 255 -+ hg init -+ hg clone . ../a abort: destination '../a' already exists 1 -+ hg clone a b abort: repository a/.hg not found! 255 -+ hg init -+ hg clone q abort: destination 'q' already exists diff -r ab681ea2857e -r 5a034646e472 tests/test-clone.out --- a/tests/test-clone.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-clone.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,22 +1,13 @@ -+ hg init -+ hg add a -+ hg commit -m test -d 0 0 -+ hg clone . ../b a -+ hg verify checking changesets checking manifests crosschecking files in changesets and manifests checking files 1 files, 1 changesets, 1 total revisions -+ hg clone -U . ../c cat: a: No such file or directory -+ hg verify checking changesets checking manifests crosschecking files in changesets and manifests checking files 1 files, 1 changesets, 1 total revisions -+ hg clone ../a -+ hg cat a a diff -r ab681ea2857e -r 5a034646e472 tests/test-conflict.out --- a/tests/test-conflict.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-conflict.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,17 +1,8 @@ -+ hg init -+ hg add a -+ hg commit -m ancestor -d 0 0 -+ hg commit -m branch1 -d 0 0 -+ hg co 0 -+ hg commit -m branch2 -d 0 0 -+ hg up -m 1 merge: warning: conflicts during merge merging a merging a failed! -+ hg id 32e80765d7fe+75234512624c+ tip something else ======= something -+ hg status M a diff -r ab681ea2857e -r 5a034646e472 tests/test-copy.out --- a/tests/test-copy.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-copy.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,14 +1,6 @@ -+ hg init -+ hg add a -+ hg commit -m 1 -d 0 0 -+ hg status -+ hg copy a b -+ hg status A b -+ hg --debug commit -m 2 -d 0 0 b b: copy a:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 -+ hg history changeset: 1:3b5b84850bbe tag: tip user: test @@ -20,16 +12,14 @@ date: Thu Jan 1 00:00:00 1970 summary: 1 -+ hg log a changeset: 0:c19d34741b0a user: test date: Thu Jan 1 00:00:00 1970 summary: 1 566e338d09a089ba737c21e0d3759980 .hg/data/b.d -3268d2f51b2d2d423ff01b59eb6fbb14 bsum -70909ca2ecf494c71e9184b445e040ee asum -+ hg verify +60b725f10c9c85c70d97880dfe8191b3 bsum +60b725f10c9c85c70d97880dfe8191b3 asum checking changesets checking manifests crosschecking files in changesets and manifests diff -r ab681ea2857e -r 5a034646e472 tests/test-diffdir.out --- a/tests/test-diffdir.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-diffdir.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,14 +1,8 @@ -+ hg init -+ hg add a -+ hg ci -m a -d 0 0 -+ hg add b -+ hg diff diff -r 3903775176ed b --- /dev/null +++ b/b @@ -0,0 +1,1 @@ +123 -+ hg diff -r tip diff -r 3903775176ed b --- /dev/null +++ b/b diff -r ab681ea2857e -r 5a034646e472 tests/test-empty-dir.out --- a/tests/test-empty-dir.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-empty-dir.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,9 +1,3 @@ -+ hg init -+ hg add a -+ hg commit -m first -d 0 0 a -+ hg add sub/b -+ hg commit -m second -d 0 0 sub/b 321 -+ hg co 0 cat: sub/b: No such file or directory ls: sub: No such file or directory diff -r ab681ea2857e -r 5a034646e472 tests/test-flags.out --- a/tests/test-flags.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-flags.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,8 +1,3 @@ -+ hg init -+ hg add a b -+ hg ci -m added a b -d 0 0 -+ hg init -+ hg pull ../test1 pulling from ../test1 requesting all changes adding changesets @@ -10,10 +5,6 @@ adding file changes added 1 changesets with 2 changes to 2 files (run 'hg update' to get a working copy) -+ hg co -+ hg ci -m chmod +x a -d 0 0 -+ hg ci -m a updated -d 0 0 -+ hg pull ../test2 pulling from ../test2 searching for changes adding changesets @@ -21,7 +12,6 @@ adding file changes added 1 changesets with 1 changes to 1 files (run 'hg update' to get a working copy) -+ hg heads changeset: 2:3ef543305655 tag: tip parent: 0:22a449e20da5 @@ -34,7 +24,6 @@ date: Thu Jan 1 00:00:00 1970 summary: a updated -+ hg history changeset: 2:3ef543305655 tag: tip parent: 0:22a449e20da5 @@ -52,7 +41,6 @@ date: Thu Jan 1 00:00:00 1970 summary: added a b -+ hg -v co -m resolving manifests merging a resolving a diff -r ab681ea2857e -r 5a034646e472 tests/test-help.out --- a/tests/test-help.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-help.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,4 +1,3 @@ -+ hg Mercurial Distributed SCM basic commands (use "hg help" for the full list or option "-v" for details): @@ -18,7 +17,6 @@ serve export the repository via HTTP status show changed files in the working directory update update or merge working directory -+ hg -q add add the specified files on the next commit annotate show changeset information per file line clone make a copy of an existing repository @@ -34,7 +32,6 @@ serve export the repository via HTTP status show changed files in the working directory update update or merge working directory -+ hg help Mercurial Distributed SCM list of commands (use "hg help -v" to show aliases and global options): @@ -57,8 +54,9 @@ locate locate files matching specific patterns log show the revision history of the repository or a single file manifest output the latest or given revision of the project manifest + outgoing show changesets not found in destination parents show the parents of the working dir or revision - paths show path or list of available paths + paths show definition of symbolic path names pull pull changes from the specified source push push changes to the specified destination rawcommit raw commit interface @@ -75,7 +73,6 @@ update update or merge working directory verify verify the integrity of the repository version output version and copyright information -+ hg -q help add add the specified files on the next commit addremove add all new files, delete all missing files annotate show changeset information per file line @@ -94,8 +91,9 @@ locate locate files matching specific patterns log show the revision history of the repository or a single file manifest output the latest or given revision of the project manifest + outgoing show changesets not found in destination parents show the parents of the working dir or revision - paths show path or list of available paths + paths show definition of symbolic path names pull pull changes from the specified source push push changes to the specified destination rawcommit raw commit interface @@ -112,7 +110,6 @@ update update or merge working directory verify verify the integrity of the repository version output version and copyright information -+ hg add -h hg add: option -h not recognized hg add [OPTION]... [FILE]... @@ -124,7 +121,6 @@ include path in search -X --exclude exclude path from search -+ hg add --skjdfks hg add: option --skjdfks not recognized hg add [OPTION]... [FILE]... @@ -136,7 +132,6 @@ include path in search -X --exclude exclude path from search -+ hg help diff hg diff [-I] [-X] [-r REV1 [-r REV2]] [FILE]... diff working directory (or selected files) @@ -149,7 +144,6 @@ include path in search -X --exclude exclude path from search -+ hg help status hg status [OPTION]... [FILE]... show changed files in the working directory @@ -173,11 +167,9 @@ include path in search -X --exclude exclude path from search -+ hg -q help status hg status [OPTION]... [FILE]... show changed files in the working directory -+ hg help foo hg: unknown command 'foo' Mercurial Distributed SCM @@ -198,7 +190,6 @@ serve export the repository via HTTP status show changed files in the working directory update update or merge working directory -+ hg skjdfks hg: unknown command 'skjdfks' Mercurial Distributed SCM diff -r ab681ea2857e -r 5a034646e472 tests/test-hook.out --- a/tests/test-hook.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-hook.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,5 +1,2 @@ -+ hg init -+ hg add a -+ hg commit -m test -d 0 0 precommit hook commit hook: acb14030fe0a21b60322c440ad2d20cf7685a376 diff -r ab681ea2857e -r 5a034646e472 tests/test-hup.out --- a/tests/test-hup.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-hup.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,5 +1,3 @@ -+ hg init -+ hg serve --stdio 0 0 adding changesets diff -r ab681ea2857e -r 5a034646e472 tests/test-merge-revert.out --- a/tests/test-merge-revert.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-merge-revert.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,46 +1,12 @@ -+ hg init -+ hg add file1 file2 -+ hg commit -m added file1 and file2 -d 0 0 -u user -+ hg commit -m changed file1 -d 0 0 -u user -+ hg -q log -1:3aa14bbc23d90e3f8b5b639b4a43d76509bae76c -0:8633637036c18f021d771208e16ae3508ab81d28 -+ hg id +1:3aa14bbc23d9 +0:8633637036c1 3aa14bbc23d9 tip -+ hg update -C 0 -+ hg id 8633637036c1 -+ hg id 8633637036c1+ -+ hg revert -+ hg diff -+ hg status -+ hg id 8633637036c1 -+ hg update -+ hg diff -+ hg status -+ hg id 3aa14bbc23d9 tip -+ hg update -C 0 -+ hg update merging file1 -+ hg diff -+ hg status -+ hg id 3aa14bbc23d9 tip -+ hg revert -+ hg diff -+ hg status -+ hg id +3aa14bbc23d9 tip 3aa14bbc23d9 tip -+ hg revert -r tip -+ hg diff -+ hg status -+ hg id 3aa14bbc23d9 tip -+ hg update -C -+ hg diff -+ hg status -+ hg id -3aa14bbc23d9 tip diff -r ab681ea2857e -r 5a034646e472 tests/test-merge-revert2.out --- a/tests/test-merge-revert2.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-merge-revert2.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,33 +1,13 @@ -+ hg init -+ hg add file1 file2 -+ hg commit -m added file1 and file2 -d 0 0 -u user -+ hg commit -m changed file1 -d 0 0 -u user -+ hg -q log -1:f4d7a8c73d231bc078e2a5e791325e55e8a4c252 -0:232e179b3f294d467cfa66e1439bc5b0d44e4a93 -+ hg id +1:f4d7a8c73d23 +0:232e179b3f29 f4d7a8c73d23 tip -+ hg update -C 0 -+ hg id 232e179b3f29 -+ hg id 232e179b3f29+ -+ hg revert -+ hg diff -+ hg status -+ hg id 232e179b3f29 -+ hg update -+ hg diff -+ hg status -+ hg id f4d7a8c73d23 tip -+ hg update -C 0 -+ hg update merge: warning: conflicts during merge merging file1 merging file1 failed! -+ hg diff diff -r f4d7a8c73d23 file1 --- a/file1 +++ b/file1 @@ -39,22 +19,8 @@ +======= changed file1 +>>>>>>> -+ hg status M file1 -+ hg id f4d7a8c73d23+ tip -+ hg revert -+ hg diff -+ hg status -+ hg id f4d7a8c73d23 tip -+ hg revert -r tip -+ hg diff -+ hg status -+ hg id f4d7a8c73d23 tip -+ hg update -C -+ hg diff -+ hg status -+ hg id f4d7a8c73d23 tip diff -r ab681ea2857e -r 5a034646e472 tests/test-merge1.out --- a/tests/test-merge1.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-merge1.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,45 +1,7 @@ -+ hg init -+ hg add a -+ hg commit -m commit #0 -d 0 0 -+ hg add b -+ hg commit -m commit #1 -d 0 0 -+ hg update 0 -+ hg add c -+ hg commit -m commit #2 -d 0 0 -+ hg update -m 1 -+ hg init -+ hg add a -+ hg commit -m commit #0 -d 0 0 -+ hg add b -+ hg commit -m commit #1 -d 0 0 -+ hg update 0 -+ hg add c -+ hg commit -m commit #2 -d 0 0 -+ hg update -m 1 merging for b merging b -+ hg init -+ hg add a -+ hg commit -m commit #0 -d 0 0 -+ hg add b -+ hg commit -m commit #1 -d 0 0 -+ hg commit -m commit #2 -d 0 0 -+ hg update 1 -+ hg add c -+ hg commit -m commit #3 -d 0 0 This is file b1 -+ hg update -m 2 merging for b merging b -+ hg init -+ hg add a -+ hg commit -m commit #0 -d 0 0 -+ hg add b -+ hg commit -m commit #1 -d 0 0 -+ hg commit -m commit #2 -d 0 0 -+ hg update 1 -+ hg add c -+ hg commit -m commit #3 -d 0 0 -+ hg update -m 2 merging for b merging b diff -r ab681ea2857e -r 5a034646e472 tests/test-merge2.out --- a/tests/test-merge2.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-merge2.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,25 +1,2 @@ -+ hg init -+ hg add a -+ hg commit -m commit #0 -d 0 0 -+ hg add b -+ hg commit -m commit #1 -d 0 0 -+ hg update 0 -+ hg add b -+ hg commit -m commit #2 -d 0 0 -+ hg init -+ hg add a -+ hg commit -m commit #0 -d 0 0 -+ hg add b -+ hg commit -m commit #1 -d 0 0 -+ hg update 0 -+ hg commit -A -m commit #2 -d 0 0 adding b -+ hg init -+ hg add a -+ hg commit -m commit #0 -d 0 0 -+ hg add b -+ hg commit -m commit #1 -d 0 0 -+ hg remove b -+ hg update 0 -+ hg commit -A -m commit #2 -d 0 0 adding b diff -r ab681ea2857e -r 5a034646e472 tests/test-merge3.out --- a/tests/test-merge3.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-merge3.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,8 +1,3 @@ -+ hg init -+ hg add a -+ hg commit -m commit #0 -d 0 0 -+ hg add b -+ hg commit -A -mcomment #1 -d 0 0 removing b b never committed! nothing changed diff -r ab681ea2857e -r 5a034646e472 tests/test-merge4.out --- a/tests/test-merge4.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-merge4.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,10 +0,0 @@ -+ hg init -+ hg add a -+ hg commit -m commit #0 -d 0 0 -+ hg add b -+ hg commit -m commit #1 -d 0 0 -+ hg update 0 -+ hg add c -+ hg commit -m commit #2 -d 0 0 -+ hg update -m 1 -+ hg commit -m commit #3 -d 0 0 diff -r ab681ea2857e -r 5a034646e472 tests/test-merge5.out --- a/tests/test-merge5.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-merge5.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,11 +1,4 @@ -+ hg init -+ hg add a b -+ hg commit -m commit #0 -d 0 0 -+ hg commit -mcomment #1 -d 0 0 -+ hg update 0 -+ hg commit -A -mcomment #2 -d 0 0 removing b -+ hg update 1 this update spans a branch affecting the following files: b aborting update spanning branches! diff -r ab681ea2857e -r 5a034646e472 tests/test-merge6.out --- a/tests/test-merge6.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-merge6.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,13 +1,3 @@ -+ hg init -+ hg add foo bar -+ hg commit -m commit text -d 0 0 -+ hg clone A1 B1 -+ hg remove bar -+ hg commit -m commit test -d 0 0 -+ hg commit -m commit test -d 0 0 -+ hg clone A1 A2 -+ hg clone B1 B2 -+ hg pull ../B1 pulling from ../B1 searching for changes adding changesets @@ -15,12 +5,8 @@ adding file changes added 1 changesets with 1 changes to 1 files (run 'hg update' to get a working copy) -+ hg update -m -+ hg commit -m commit test -d 0 0 bar should remain deleted. -+ hg manifest 6b70e9e451a5a33faad7bbebe627e46b937b7364 644 foo -+ hg pull ../A2 pulling from ../A2 searching for changes adding changesets @@ -28,8 +14,5 @@ adding file changes added 1 changesets with 0 changes to 0 files (run 'hg update' to get a working copy) -+ hg update -m -+ hg commit -m commit test -d 0 0 bar should remain deleted. -+ hg manifest 6b70e9e451a5a33faad7bbebe627e46b937b7364 644 foo diff -r ab681ea2857e -r 5a034646e472 tests/test-notfound.out --- a/tests/test-notfound.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-notfound.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,9 +1,6 @@ -+ hg init Is there an error message when trying to diff non-existing files? -+ hg diff not found not: No such file or directory found: No such file or directory Is there an error message when trying to add non-existing files? -+ hg add not found not: No such file or directory found: No such file or directory diff -r ab681ea2857e -r 5a034646e472 tests/test-pull.out --- a/tests/test-pull.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-pull.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,30 +1,21 @@ -+ hg init -+ hg addremove adding foo -+ hg commit -m 1 -+ hg verify checking changesets checking manifests crosschecking files in changesets and manifests checking files 1 files, 1 changesets, 1 total revisions -+ hg clone http://localhost:20059/ copy requesting all changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files -+ hg verify checking changesets checking manifests crosschecking files in changesets and manifests checking files 1 files, 1 changesets, 1 total revisions -+ hg co foo -+ hg manifest 2ed2a3912a0b24502043eae84ee4b279c18b90dd 644 foo -+ hg pull pulling from http://localhost:20059/ searching for changes no changes found diff -r ab681ea2857e -r 5a034646e472 tests/test-push-warn.out --- a/tests/test-push-warn.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-push-warn.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,17 +1,7 @@ -+ hg init -+ hg add t1 -+ hg commit -m 1 -d 0 0 -+ hg clone a b -+ hg add t2 -+ hg commit -m 2 -d 0 0 -+ hg add t3 -+ hg commit -m 3 -d 0 0 -+ hg push ../a pushing to ../a searching for changes abort: unsynced remote changes! (did you forget to sync? use push -f to force) -+ hg pull ../a pulling from ../a searching for changes adding changesets @@ -19,14 +9,10 @@ adding file changes added 1 changesets with 1 changes to 1 files (run 'hg update' to get a working copy) -+ hg push ../a pushing to ../a searching for changes abort: push creates new remote branches! (did you forget to merge? use push -f to force) -+ hg up -m -+ hg commit -m 4 -d 0 0 -+ hg push ../a pushing to ../a searching for changes adding changesets diff -r ab681ea2857e -r 5a034646e472 tests/test-rawcommit1.out --- a/tests/test-rawcommit1.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-rawcommit1.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,61 +1,40 @@ -+ hg --debug init -+ hg add a -+ hg commit -m0 -d 0 0 -+ hg add b -+ hg commit -m1 -d 0 0 -+ hg manifest 1 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b -+ hg rawcommit -p 1 -d 0 0 -m2 c -+ hg manifest 2 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c -+ hg parents changeset: 2:9f827976dae4 tag: tip user: test date: Thu Jan 1 00:00:00 1970 summary: 2 -+ hg rawcommit -p 2 -d 0 0 -m3 b -+ hg manifest 3 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c -+ hg parents changeset: 3:c8225a106186 tag: tip user: test date: Thu Jan 1 00:00:00 1970 summary: 3 -+ hg rawcommit -p 3 -d 0 0 -m4 a -+ hg manifest 4 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c -+ hg parents changeset: 4:8dfeee82a94b tag: tip user: test date: Thu Jan 1 00:00:00 1970 summary: 4 -+ hg rawcommit -p 1 -d 0 0 -m5 c -+ hg manifest 5 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b 3570202ceac2b52517df64ebd0a062cb0d8fe33a 644 c -+ hg parents changeset: 4:8dfeee82a94b user: test date: Thu Jan 1 00:00:00 1970 summary: 4 -+ hg rawcommit -p 4 -p 5 -d 0 0 -m6 -+ hg manifest 6 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c -+ hg parents changeset: 6:c0e932ecae5e tag: tip parent: 4:8dfeee82a94b @@ -64,11 +43,8 @@ date: Thu Jan 1 00:00:00 1970 summary: 6 -+ hg rawcommit -p 6 -d 0 0 -m7 -+ hg manifest 7 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c -+ hg parents changeset: 7:3a157da4365d tag: tip user: test diff -r ab681ea2857e -r 5a034646e472 tests/test-simple-update.out --- a/tests/test-simple-update.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-simple-update.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,17 +1,9 @@ -+ hg init -+ hg addremove adding foo -+ hg commit -m 1 -+ hg verify checking changesets checking manifests crosschecking files in changesets and manifests checking files 1 files, 1 changesets, 1 total revisions -+ hg clone . ../branch -+ hg co -+ hg commit -m 2 -+ hg pull ../branch pulling from ../branch searching for changes adding changesets @@ -19,14 +11,11 @@ adding file changes added 1 changesets with 1 changes to 1 files (run 'hg update' to get a working copy) -+ hg verify checking changesets checking manifests crosschecking files in changesets and manifests checking files 1 files, 2 changesets, 2 total revisions -+ hg co foo bar -+ hg manifest 6f4310b00b9a147241b071a60c28a650827fb03d 644 foo diff -r ab681ea2857e -r 5a034646e472 tests/test-tag.out --- a/tests/test-tag.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-tag.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,15 +1,9 @@ -+ hg init -+ hg add a -+ hg commit -m test -d 0 0 -+ hg history changeset: 0:acb14030fe0a tag: tip user: test date: Thu Jan 1 00:00:00 1970 summary: test -+ hg tag -d 0 0 bleah -+ hg history changeset: 1:863197ef0378 tag: tip user: test @@ -22,7 +16,6 @@ date: Thu Jan 1 00:00:00 1970 summary: test -+ hg tag -d 0 0 bleah2 abort: working copy of .hgtags is changed! (please commit .hgtags manually) failed diff -r ab681ea2857e -r 5a034646e472 tests/test-tags --- a/tests/test-tags Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-tags Tue Aug 16 19:03:01 2005 -0800 @@ -9,7 +9,7 @@ hg commit -m "test" -d "0 0" hg co hg identify -T=`hg -q tip | cut -d : -f 2` +T=`hg tip -v | head -n 1 | cut -d : -f 3` echo "$T first" > .hgtags cat .hgtags hg add .hgtags diff -r ab681ea2857e -r 5a034646e472 tests/test-tags.out --- a/tests/test-tags.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-tags.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,39 +1,15 @@ -+ hg init -+ hg id unknown -+ hg add a -+ hg commit -m test -d 0 0 -+ hg co -+ hg identify acb14030fe0a tip -+ hg -q tip acb14030fe0a21b60322c440ad2d20cf7685a376 first -+ hg add .hgtags -+ hg commit -m add tags -d 0 0 -+ hg tags -tip 1:b53d0e1f3043ecbccf1b9ad2cea562c1b50462b2 +tip 1:b9154636be938d3d431e75a7c906504a079bfe07 first 0:acb14030fe0a21b60322c440ad2d20cf7685a376 -hg -q tip ?:? -+ hg identify -b53d0e1f3043 tip -+ hg status +b9154636be93 tip M a -+ hg identify -b53d0e1f3043+ tip -+ hg co first -+ hg id +b9154636be93+ tip acb14030fe0a+ first -+ hg -v id acb14030fe0a21b60322c440ad2d20cf7685a376+ first -+ hg status M a -+ hg add b -+ hg commit -m branch -d 0 0 -+ hg id c8edf04160c7 tip -+ hg co -m 1 -+ hg id -c8edf04160c7+b53d0e1f3043+ tip -+ hg status +c8edf04160c7+b9154636be93+ tip M .hgtags M a diff -r ab681ea2857e -r 5a034646e472 tests/test-undo.out --- a/tests/test-undo.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-undo.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,28 +1,18 @@ -+ hg init -+ hg add a -+ hg commit -m test -d 0 0 -+ hg verify checking changesets checking manifests crosschecking files in changesets and manifests checking files 1 files, 1 changesets, 1 total revisions -+ hg parents changeset: 0:acb14030fe0a tag: tip user: test date: Thu Jan 1 00:00:00 1970 summary: test -+ hg status -+ hg undo rolling back last transaction -+ hg verify checking changesets checking manifests crosschecking files in changesets and manifests checking files 0 files, 0 changesets, 0 total revisions -+ hg parents -+ hg status A a diff -r ab681ea2857e -r 5a034646e472 tests/test-unrelated-pull.out --- a/tests/test-unrelated-pull.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-unrelated-pull.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,10 +1,3 @@ -+ hg init -+ hg add a -+ hg commit -m a -u a -d 0 0 -+ hg init -+ hg add b -+ hg commit -m b -u b -d 0 0 -+ hg pull ../a pulling from ../a searching for changes warning: pulling from an unrelated repository! @@ -13,7 +6,6 @@ adding file changes added 1 changesets with 1 changes to 1 files (run 'hg update' to get a working copy) -+ hg heads changeset: 1:9a79c33a9db3 tag: tip user: a diff -r ab681ea2857e -r 5a034646e472 tests/test-up-local-change.out --- a/tests/test-up-local-change.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-up-local-change.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,23 +1,12 @@ -+ hg init -+ hg addremove adding a -+ hg commit -m 1 -d 0 0 -+ hg clone . ../r2 -+ hg up -+ hg diff diff -r c19d34741b0a a --- a/a +++ b/a @@ -1,1 +1,1 @@ -a +abc -+ hg addremove adding b -+ hg commit -m 2 -d 0 0 -+ hg -q pull ../r1 -+ hg status M a -+ hg --debug up resolving manifests force None allow None moddirstate True linear True ancestor a0c8bcbbb45c local a0c8bcbbb45c remote 1165e8bd193e @@ -27,18 +16,15 @@ merging a resolving a file a: other d730145abbf9 ancestor b789fdd96dc2 -+ hg --debug up -m resolving manifests force None allow 1 moddirstate True linear True ancestor 1165e8bd193e local 1165e8bd193e remote 1165e8bd193e -+ hg parents changeset: 1:1e71731e6fbb tag: tip user: test date: Thu Jan 1 00:00:00 1970 summary: 2 -+ hg -v history changeset: 1:1e71731e6fbb5b35fae293120dea6964371c13c6 tag: tip user: test @@ -56,7 +42,6 @@ 1 -+ hg diff diff -r 1e71731e6fbb a --- a/a +++ b/a diff -r ab681ea2857e -r 5a034646e472 tests/test-walk.out --- a/tests/test-walk.out Tue Aug 16 17:30:41 2005 -0800 +++ b/tests/test-walk.out Tue Aug 16 19:03:01 2005 -0800 @@ -1,5 +1,3 @@ -+ hg init -+ hg addremove adding fennel adding fenugreek adding fiddlehead @@ -14,8 +12,6 @@ adding mammals/Procyonidae/cacomistle adding mammals/Procyonidae/coatimundi adding mammals/Procyonidae/raccoon -+ hg commit -m commit #0 -d 0 0 -+ hg debugwalk f fennel fennel f fenugreek fenugreek f fiddlehead fiddlehead @@ -30,85 +26,62 @@ f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon -+ hg debugwalk f mammals/skunk skunk f mammals/Procyonidae/cacomistle Procyonidae/cacomistle f mammals/Procyonidae/coatimundi Procyonidae/coatimundi f mammals/Procyonidae/raccoon Procyonidae/raccoon -+ hg debugwalk Procyonidae f mammals/Procyonidae/cacomistle Procyonidae/cacomistle f mammals/Procyonidae/coatimundi Procyonidae/coatimundi f mammals/Procyonidae/raccoon Procyonidae/raccoon -+ hg debugwalk f mammals/Procyonidae/cacomistle cacomistle f mammals/Procyonidae/coatimundi coatimundi f mammals/Procyonidae/raccoon raccoon -+ hg debugwalk .. f mammals/skunk ../skunk f mammals/Procyonidae/cacomistle cacomistle f mammals/Procyonidae/coatimundi coatimundi f mammals/Procyonidae/raccoon raccoon -+ hg debugwalk ../beans f beans/black ../beans/black f beans/borlotti ../beans/borlotti f beans/kidney ../beans/kidney f beans/navy ../beans/navy f beans/pinto ../beans/pinto f beans/turtle ../beans/turtle -+ hg debugwalk f mammals/skunk skunk f mammals/Procyonidae/cacomistle Procyonidae/cacomistle f mammals/Procyonidae/coatimundi Procyonidae/coatimundi f mammals/Procyonidae/raccoon Procyonidae/raccoon -+ hg debugwalk -Ibeans f beans/black beans/black f beans/borlotti beans/borlotti f beans/kidney beans/kidney f beans/navy beans/navy f beans/pinto beans/pinto f beans/turtle beans/turtle -+ hg debugwalk mammals/../beans/b* f beans/black beans/black f beans/borlotti beans/borlotti -+ hg debugwalk -X*/Procyonidae mammals f mammals/skunk mammals/skunk -+ hg debugwalk path:mammals f mammals/skunk mammals/skunk f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon -+ hg debugwalk .. abort: .. not under repository root -+ hg debugwalk beans/../.. abort: beans/../.. not under repository root -+ hg debugwalk glob:* f fennel fennel f fenugreek fenugreek f fiddlehead fiddlehead f glob:glob glob:glob -+ hg debugwalk re:.*[kb]$ f fenugreek fenugreek f glob:glob glob:glob f beans/black beans/black f mammals/skunk mammals/skunk -+ hg debugwalk path:beans/black f beans/black beans/black -+ hg debugwalk beans beans/* f beans/black beans/black f beans/borlotti beans/borlotti f beans/kidney beans/kidney f beans/navy beans/navy f beans/pinto beans/pinto f beans/turtle beans/turtle -+ hg debugwalk j* -+ hg debugwalk NOEXIST NOEXIST: No such file or directory -+ hg debugwalk fifo fifo: unsupported file type (type is fifo) -+ hg debugwalk fenugreek +m fenugreek fenugreek m fenugreek fenugreek -+ hg rm fenugreek -+ hg debugwalk fenugreek -m fenugreek fenugreek -+ hg debugwalk new f new new