# HG changeset patch # User Bryan O'Sullivan # Date 1236659963 25200 # Node ID 0d5935744f87efae817177fd96f838e753648046 # Parent 44d1363234d2adacb4a4c2612a93fdcefcdbec0c Switch from LaTeX to XML for examples. diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/backout.init.out --- a/en/examples/results/backout.init.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/backout.init.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,7 +1,8 @@ -$ \textbf{hg init myrepo} -$ \textbf{cd myrepo} -$ \textbf{echo first change >> myfile} -$ \textbf{hg add myfile} -$ \textbf{hg commit -m 'first change'} -$ \textbf{echo second change >> myfile} -$ \textbf{hg commit -m 'second change'} +$ hg init myrepo +$ cd myrepo +$ echo first change >> myfile +$ hg add myfile +$ hg commit -m 'first change' +$ echo second change >> myfile +$ hg commit -m 'second change' + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/backout.manual.backout.out --- a/en/examples/results/backout.manual.backout.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/backout.manual.backout.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,8 +1,9 @@ -$ \textbf{echo third change >> myfile} -$ \textbf{hg commit -m 'third change'} -$ \textbf{hg backout -m 'back out second change' 1} +$ echo third change >> myfile +$ hg commit -m 'third change' +$ hg backout -m 'back out second change' 1 reverting myfile created new head changeset backs out changeset the backout changeset is a new head - do not forget to merge (use "backout --merge" if you want to auto-merge) + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/backout.manual.cat.out --- a/en/examples/results/backout.manual.cat.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/backout.manual.cat.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,5 @@ -$ \textbf{cat myfile} +$ cat myfile first change second change third change + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/backout.manual.clone.out --- a/en/examples/results/backout.manual.clone.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/backout.manual.clone.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,5 +1,5 @@ -$ \textbf{cd ..} -$ \textbf{hg clone -r1 myrepo newrepo} +$ cd .. +$ hg clone -r1 myrepo newrepo requesting all changes adding changesets adding manifests @@ -7,4 +7,5 @@ added 2 changesets with 2 changes to 1 files updating working directory 1 files updated, 0 files merged, 0 files removed, 0 files unresolved -$ \textbf{cd newrepo} +$ cd newrepo + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/backout.manual.heads.out --- a/en/examples/results/backout.manual.heads.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/backout.manual.heads.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,13 +1,14 @@ -$ \textbf{hg heads} +$ hg heads changeset: tag: tip parent: -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: back out second change changeset: -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: third change + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/backout.manual.log.out --- a/en/examples/results/backout.manual.log.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/backout.manual.log.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,13 +1,14 @@ -$ \textbf{hg log --style compact} -3[tip]:1 2009-01-30 06:32 +0000 bos +$ hg log --style compact +3[tip]:1 2009-03-10 04:37 +0000 bos back out second change -2 2009-01-30 06:32 +0000 bos +2 2009-03-10 04:37 +0000 bos third change -1 2009-01-30 06:32 +0000 bos +1 2009-03-10 04:37 +0000 bos second change -0 2009-01-30 06:32 +0000 bos +0 2009-03-10 04:37 +0000 bos first change + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/backout.manual.merge.out --- a/en/examples/results/backout.manual.merge.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/backout.manual.merge.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,8 +1,9 @@ -$ \textbf{hg merge} +$ hg merge merging myfile 0 files updated, 1 files merged, 0 files removed, 0 files unresolved (branch merge, don't forget to commit) -$ \textbf{hg commit -m 'merged backout with previous tip'} -$ \textbf{cat myfile} +$ hg commit -m 'merged backout with previous tip' +$ cat myfile first change third change + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/backout.manual.parents.out --- a/en/examples/results/backout.manual.parents.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/backout.manual.parents.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,6 +1,7 @@ -$ \textbf{hg parents} +$ hg parents changeset: -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: third change + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/backout.non-tip.backout.out --- a/en/examples/results/backout.non-tip.backout.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/backout.non-tip.backout.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,6 +1,6 @@ -$ \textbf{echo third change >> myfile} -$ \textbf{hg commit -m 'third change'} -$ \textbf{hg backout --merge -m 'back out second change' 1} +$ echo third change >> myfile +$ hg commit -m 'third change' +$ hg backout --merge -m 'back out second change' 1 reverting myfile created new head changeset backs out changeset @@ -8,3 +8,4 @@ merging myfile 0 files updated, 1 files merged, 0 files removed, 0 files unresolved (branch merge, don't forget to commit) + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/backout.non-tip.cat.out --- a/en/examples/results/backout.non-tip.cat.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/backout.non-tip.cat.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,3 +1,4 @@ -$ \textbf{cat myfile} +$ cat myfile first change third change + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/backout.non-tip.clone.out --- a/en/examples/results/backout.non-tip.clone.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/backout.non-tip.clone.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,5 +1,5 @@ -$ \textbf{cd ..} -$ \textbf{hg clone -r1 myrepo non-tip-repo} +$ cd .. +$ hg clone -r1 myrepo non-tip-repo requesting all changes adding changesets adding manifests @@ -7,4 +7,5 @@ added 2 changesets with 2 changes to 1 files updating working directory 1 files updated, 0 files merged, 0 files removed, 0 files unresolved -$ \textbf{cd non-tip-repo} +$ cd non-tip-repo + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/backout.simple.log.out --- a/en/examples/results/backout.simple.log.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/backout.simple.log.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,10 +1,11 @@ -$ \textbf{hg log --style compact} -2[tip] 2009-01-30 06:32 +0000 bos +$ hg log --style compact +2[tip] 2009-03-10 04:37 +0000 bos back out second change -1 2009-01-30 06:32 +0000 bos +1 2009-03-10 04:37 +0000 bos second change -0 2009-01-30 06:32 +0000 bos +0 2009-03-10 04:37 +0000 bos first change + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/backout.simple.out --- a/en/examples/results/backout.simple.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/backout.simple.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,5 +1,6 @@ -$ \textbf{hg backout -m 'back out second change' tip} +$ hg backout -m 'back out second change' tip reverting myfile changeset backs out changeset -$ \textbf{cat myfile} +$ cat myfile first change + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/bisect.commits.out --- a/en/examples/results/bisect.commits.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/bisect.commits.out Mon Mar 09 21:39:23 2009 -0700 @@ -8,3 +8,4 @@ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/bisect.help.out --- a/en/examples/results/bisect.help.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/bisect.help.out Mon Mar 09 21:39:23 2009 -0700 @@ -31,3 +31,4 @@ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/bisect.init.out --- a/en/examples/results/bisect.init.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/bisect.init.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,2 +1,3 @@ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/bisect.search.bad-init.out --- a/en/examples/results/bisect.search.bad-init.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/bisect.search.bad-init.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,2 +1,3 @@ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/bisect.search.good-init.out --- a/en/examples/results/bisect.search.good-init.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/bisect.search.good-init.out Mon Mar 09 21:39:23 2009 -0700 @@ -2,3 +2,4 @@ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/bisect.search.init.out --- a/en/examples/results/bisect.search.init.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/bisect.search.init.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,2 +1,3 @@ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/bisect.search.mytest.out --- a/en/examples/results/bisect.search.mytest.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/bisect.search.mytest.out Mon Mar 09 21:39:23 2009 -0700 @@ -8,3 +8,4 @@ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/bisect.search.reset.out --- a/en/examples/results/bisect.search.reset.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/bisect.search.reset.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,2 +1,3 @@ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/bisect.search.rest.out --- a/en/examples/results/bisect.search.rest.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/bisect.search.rest.out Mon Mar 09 21:39:23 2009 -0700 @@ -17,3 +17,4 @@ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/bisect.search.step1.out --- a/en/examples/results/bisect.search.step1.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/bisect.search.step1.out Mon Mar 09 21:39:23 2009 -0700 @@ -9,3 +9,4 @@ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/bisect.search.step2.out --- a/en/examples/results/bisect.search.step2.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/bisect.search.step2.out Mon Mar 09 21:39:23 2009 -0700 @@ -3,3 +3,4 @@ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branch-named.branch.out --- a/en/examples/results/branch-named.branch.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branch-named.branch.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,2 +1,3 @@ -$ \textbf{hg branch} +$ hg branch default + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branch-named.branches.out --- a/en/examples/results/branch-named.branches.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branch-named.branches.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,9 +1,10 @@ -$ \textbf{hg tip} +$ hg tip changeset: tag: tip -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Initial commit -$ \textbf{hg branches} +$ hg branches default + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branch-named.commit.out --- a/en/examples/results/branch-named.commit.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branch-named.commit.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,10 +1,11 @@ -$ \textbf{echo 'hello again' >> myfile} -$ \textbf{hg commit -m 'Second commit'} -$ \textbf{hg tip} +$ echo 'hello again' >> myfile +$ hg commit -m 'Second commit' +$ hg tip changeset: branch: foo tag: tip -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Second commit + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branch-named.create.out --- a/en/examples/results/branch-named.create.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branch-named.create.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,5 @@ -$ \textbf{hg branch foo} +$ hg branch foo marked working directory as branch foo -$ \textbf{hg branch} +$ hg branch foo + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branch-named.foo-commit.out --- a/en/examples/results/branch-named.foo-commit.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branch-named.foo-commit.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,19 +1,20 @@ -$ \textbf{echo something > somefile} -$ \textbf{hg commit -A -m 'New file'} +$ echo something > somefile +$ hg commit -A -m 'New file' adding somefile created new head -$ \textbf{hg heads} +$ hg heads changeset: branch: foo tag: tip parent: -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: New file changeset: branch: bar -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Third commit + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branch-named.merge.out --- a/en/examples/results/branch-named.merge.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branch-named.merge.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,16 +1,17 @@ -$ \textbf{hg branch} +$ hg branch bar -$ \textbf{hg merge foo} +$ hg merge foo 1 files updated, 0 files merged, 0 files removed, 0 files unresolved (branch merge, don't forget to commit) -$ \textbf{hg commit -m 'Merge'} -$ \textbf{hg tip} +$ hg commit -m 'Merge' +$ hg tip changeset: branch: bar tag: tip parent: parent: -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Merge + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branch-named.parents.out --- a/en/examples/results/branch-named.parents.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branch-named.parents.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,12 +1,13 @@ -$ \textbf{hg parents} +$ hg parents changeset: branch: bar tag: tip -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Third commit -$ \textbf{hg branches} +$ hg branches bar foo (inactive) default (inactive) + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branch-named.rebranch.out --- a/en/examples/results/branch-named.rebranch.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branch-named.rebranch.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,15 +1,16 @@ -$ \textbf{hg branch} +$ hg branch foo -$ \textbf{hg branch bar} +$ hg branch bar marked working directory as branch bar -$ \textbf{echo new file > newfile} -$ \textbf{hg commit -A -m 'Third commit'} +$ echo new file > newfile +$ hg commit -A -m 'Third commit' adding newfile -$ \textbf{hg tip} +$ hg tip changeset: branch: bar tag: tip -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Third commit + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branch-named.status.out --- a/en/examples/results/branch-named.status.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branch-named.status.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,8 +1,9 @@ -$ \textbf{hg status} -$ \textbf{hg tip} +$ hg status +$ hg tip changeset: tag: tip -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Initial commit + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branch-named.update-bar.out --- a/en/examples/results/branch-named.update-bar.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branch-named.update-bar.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,2 +1,3 @@ -$ \textbf{hg update bar} +$ hg update bar 1 files updated, 0 files merged, 1 files removed, 0 files unresolved + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branch-named.update-nothing.out --- a/en/examples/results/branch-named.update-nothing.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branch-named.update-nothing.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,5 @@ -$ \textbf{hg update foo} +$ hg update foo 0 files updated, 0 files merged, 1 files removed, 0 files unresolved -$ \textbf{hg update} +$ hg update 0 files updated, 0 files merged, 0 files removed, 0 files unresolved + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branch-named.update-switchy.out --- a/en/examples/results/branch-named.update-switchy.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branch-named.update-switchy.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,19 +1,20 @@ -$ \textbf{hg update foo} +$ hg update foo 0 files updated, 0 files merged, 1 files removed, 0 files unresolved -$ \textbf{hg parents} +$ hg parents changeset: branch: foo -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Second commit -$ \textbf{hg update bar} +$ hg update bar 1 files updated, 0 files merged, 0 files removed, 0 files unresolved -$ \textbf{hg parents} +$ hg parents changeset: branch: bar tag: tip -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Third commit + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branch-repo.bugfix.out --- a/en/examples/results/branch-repo.bugfix.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branch-repo.bugfix.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,13 +1,14 @@ -$ \textbf{hg clone myproject-1.0.1 my-1.0.1-bugfix} +$ hg clone myproject-1.0.1 my-1.0.1-bugfix updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved -$ \textbf{cd my-1.0.1-bugfix} -$ \textbf{echo 'I fixed a bug using only echo!' >> myfile} -$ \textbf{hg commit -m 'Important fix for 1.0.1'} -$ \textbf{hg push} +$ cd my-1.0.1-bugfix +$ echo 'I fixed a bug using only echo!' >> myfile +$ hg commit -m 'Important fix for 1.0.1' +$ hg push pushing to searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branch-repo.clone.out --- a/en/examples/results/branch-repo.clone.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branch-repo.clone.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,5 @@ -$ \textbf{cd ..} -$ \textbf{hg clone myproject myproject-1.0.1} +$ cd .. +$ hg clone myproject myproject-1.0.1 updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branch-repo.merge.out --- a/en/examples/results/branch-repo.merge.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branch-repo.merge.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,11 +1,12 @@ -$ \textbf{hg merge} +$ hg merge 1 files updated, 0 files merged, 0 files removed, 0 files unresolved (branch merge, don't forget to commit) -$ \textbf{hg commit -m 'Merge bugfix from 1.0.1 branch'} -$ \textbf{hg push} +$ hg commit -m 'Merge bugfix from 1.0.1 branch' +$ hg push pushing to searching for changes adding changesets adding manifests adding file changes added 2 changesets with 1 changes to 1 files + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branch-repo.new.out --- a/en/examples/results/branch-repo.new.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branch-repo.new.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,15 +1,16 @@ -$ \textbf{cd ..} -$ \textbf{hg clone myproject my-feature} +$ cd .. +$ hg clone myproject my-feature updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved -$ \textbf{cd my-feature} -$ \textbf{echo 'This sure is an exciting new feature!' > mynewfile} -$ \textbf{hg commit -A -m 'New feature'} +$ cd my-feature +$ echo 'This sure is an exciting new feature!' > mynewfile +$ hg commit -A -m 'New feature' adding mynewfile -$ \textbf{hg push} +$ hg push pushing to searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branch-repo.pull.out --- a/en/examples/results/branch-repo.pull.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branch-repo.pull.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,9 +1,9 @@ -$ \textbf{cd ..} -$ \textbf{hg clone myproject myproject-merge} +$ cd .. +$ hg clone myproject myproject-merge updating working directory 3 files updated, 0 files merged, 0 files removed, 0 files unresolved -$ \textbf{cd myproject-merge} -$ \textbf{hg pull ../myproject-1.0.1} +$ cd myproject-merge +$ hg pull ../myproject-1.0.1 pulling from ../myproject-1.0.1 searching for changes adding changesets @@ -11,3 +11,4 @@ adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) (run 'hg heads' to see heads, 'hg merge' to merge) + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branch-repo.tag.out --- a/en/examples/results/branch-repo.tag.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branch-repo.tag.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,2 +1,3 @@ -$ \textbf{cd myproject} -$ \textbf{hg tag v1.0} +$ cd myproject +$ hg tag v1.0 + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branching.clone.out --- a/en/examples/results/branching.clone.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branching.clone.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,5 +1,5 @@ -$ \textbf{cd ..} -$ \textbf{hg clone -rv1.0 main stable} +$ cd .. +$ hg clone -rv1.0 main stable requesting all changes adding changesets adding manifests @@ -7,3 +7,4 @@ added 1 changesets with 1 changes to 1 files updating working directory 1 files updated, 0 files merged, 0 files removed, 0 files unresolved + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branching.init.out --- a/en/examples/results/branching.init.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branching.init.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,5 +1,6 @@ -$ \textbf{hg init main} -$ \textbf{cd main} -$ \textbf{echo 'This is a boring feature.' > myfile} -$ \textbf{hg commit -A -m 'We have reached an important milestone!'} +$ hg init main +$ cd main +$ echo 'This is a boring feature.' > myfile +$ hg commit -A -m 'We have reached an important milestone!' adding myfile + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branching.main.out --- a/en/examples/results/branching.main.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branching.main.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,6 +1,7 @@ -$ \textbf{cd ../main} -$ \textbf{echo 'This is exciting and new!' >> myfile} -$ \textbf{hg commit -m 'Add a new feature'} -$ \textbf{cat myfile} +$ cd ../main +$ echo 'This is exciting and new!' >> myfile +$ hg commit -m 'Add a new feature' +$ cat myfile This is a boring feature. This is exciting and new! + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branching.merge.out --- a/en/examples/results/branching.merge.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branching.merge.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,5 +1,5 @@ -$ \textbf{cd ../main} -$ \textbf{hg pull ../stable} +$ cd ../main +$ hg pull ../stable pulling from ../stable searching for changes adding changesets @@ -7,11 +7,12 @@ adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) (run 'hg heads' to see heads, 'hg merge' to merge) -$ \textbf{hg merge} +$ hg merge merging myfile 0 files updated, 1 files merged, 0 files removed, 0 files unresolved (branch merge, don't forget to commit) -$ \textbf{hg commit -m 'Bring in bugfix from stable branch'} -$ \textbf{cat myfile} +$ hg commit -m 'Bring in bugfix from stable branch' +$ cat myfile This is a fix to a boring feature. This is exciting and new! + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branching.stable.out --- a/en/examples/results/branching.stable.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branching.stable.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,13 +1,14 @@ -$ \textbf{hg clone stable stable-fix} +$ hg clone stable stable-fix updating working directory 1 files updated, 0 files merged, 0 files removed, 0 files unresolved -$ \textbf{cd stable-fix} -$ \textbf{echo 'This is a fix to a boring feature.' > myfile} -$ \textbf{hg commit -m 'Fix a bug'} -$ \textbf{hg push} +$ cd stable-fix +$ echo 'This is a fix to a boring feature.' > myfile +$ hg commit -m 'Fix a bug' +$ hg push pushing to searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branching.tag.out --- a/en/examples/results/branching.tag.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branching.tag.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,11 +1,12 @@ -$ \textbf{hg tag v1.0} -$ \textbf{hg tip} +$ hg tag v1.0 +$ hg tip changeset: tag: tip -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Added tag v1.0 for changeset -$ \textbf{hg tags} +$ hg tags tip v1.0 + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/branching.update.out --- a/en/examples/results/branching.update.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/branching.update.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,7 +1,8 @@ -$ \textbf{cd ..} -$ \textbf{hg clone -U main main-old} -$ \textbf{cd main-old} -$ \textbf{hg update v1.0} +$ cd .. +$ hg clone -U main main-old +$ cd main-old +$ hg update v1.0 1 files updated, 0 files merged, 0 files removed, 0 files unresolved -$ \textbf{cat myfile} +$ cat myfile This is a boring feature. + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/cmdref.diff-p.out --- a/en/examples/results/cmdref.diff-p.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/cmdref.diff-p.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,22 +1,23 @@ -$ \textbf{echo '[diff]' >> $HGRC} -$ \textbf{echo 'showfunc = False' >> $HGRC} -$ \textbf{hg diff} +$ echo '[diff]' >> $HGRC +$ echo 'showfunc = False' >> $HGRC +$ hg diff diff -r myfile.c @@ -1,4 +1,4 @@ int myfunc() - \{ + { - return 1; + return 10; - \} -$ \textbf{hg diff -p} + } +$ hg diff -p diff -r myfile.c @@ -1,4 +1,4 @@ int myfunc() - \{ + { - return 1; + return 10; - \} + } + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.copy.after.out --- a/en/examples/results/daily.copy.after.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.copy.after.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,2 +1,3 @@ -$ \textbf{cp a z} -$ \textbf{hg copy --after a z} +$ cp a z +$ hg copy --after a z + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.copy.cat.out --- a/en/examples/results/daily.copy.cat.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.copy.cat.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,5 +1,6 @@ -$ \textbf{cat file} +$ cat file line new contents -$ \textbf{cat ../my-copy/new-file} +$ cat ../my-copy/new-file line + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.copy.clone.out --- a/en/examples/results/daily.copy.clone.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.copy.clone.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,5 @@ -$ \textbf{cd ..} -$ \textbf{hg clone my-copy your-copy} +$ cd .. +$ hg clone my-copy your-copy updating working directory 1 files updated, 0 files merged, 0 files removed, 0 files unresolved + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.copy.copy.out --- a/en/examples/results/daily.copy.copy.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.copy.copy.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,2 +1,3 @@ -$ \textbf{cd my-copy} -$ \textbf{hg copy file new-file} +$ cd my-copy +$ hg copy file new-file + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.copy.dir-dest.out --- a/en/examples/results/daily.copy.dir-dest.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.copy.dir-dest.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,5 @@ -$ \textbf{mkdir d} -$ \textbf{hg copy a b d} -$ \textbf{ls d} +$ mkdir d +$ hg copy a b d +$ ls d a b + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.copy.dir-src-dest.out --- a/en/examples/results/daily.copy.dir-src-dest.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.copy.dir-src-dest.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,2 +1,3 @@ -$ \textbf{hg copy c d} +$ hg copy c d copying c/a/c to d/c/a/c + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.copy.dir-src.out --- a/en/examples/results/daily.copy.dir-src.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.copy.dir-src.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,2 +1,3 @@ -$ \textbf{hg copy c e} +$ hg copy c e copying c/a/c to e/a/c + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.copy.init.out --- a/en/examples/results/daily.copy.init.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.copy.init.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,5 +1,6 @@ -$ \textbf{hg init my-copy} -$ \textbf{cd my-copy} -$ \textbf{echo line > file} -$ \textbf{hg add file} -$ \textbf{hg commit -m 'Added a file'} +$ hg init my-copy +$ cd my-copy +$ echo line > file +$ hg add file +$ hg commit -m 'Added a file' + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.copy.merge.out --- a/en/examples/results/daily.copy.merge.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.copy.merge.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,4 @@ -$ \textbf{hg pull ../my-copy} +$ hg pull ../my-copy pulling from ../my-copy searching for changes adding changesets @@ -6,10 +6,11 @@ adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) (run 'hg heads' to see heads, 'hg merge' to merge) -$ \textbf{hg merge} +$ hg merge merging file and new-file to new-file 0 files updated, 1 files merged, 0 files removed, 0 files unresolved (branch merge, don't forget to commit) -$ \textbf{cat new-file} +$ cat new-file line new contents + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.copy.other.out --- a/en/examples/results/daily.copy.other.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.copy.other.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,3 +1,4 @@ -$ \textbf{cd ../your-copy} -$ \textbf{echo 'new contents' >> file} -$ \textbf{hg commit -m 'Changed file'} +$ cd ../your-copy +$ echo 'new contents' >> file +$ hg commit -m 'Changed file' + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.copy.simple.out --- a/en/examples/results/daily.copy.simple.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.copy.simple.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,5 @@ -$ \textbf{mkdir k} -$ \textbf{hg copy a k} -$ \textbf{ls k} +$ mkdir k +$ hg copy a k +$ ls k a + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.copy.status-copy.out --- a/en/examples/results/daily.copy.status-copy.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.copy.status-copy.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,5 @@ -$ \textbf{hg status -C} +$ hg status -C A new-file file -$ \textbf{hg commit -m 'Copied file'} +$ hg commit -m 'Copied file' + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.copy.status.out --- a/en/examples/results/daily.copy.status.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.copy.status.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,2 +1,3 @@ -$ \textbf{hg status} +$ hg status A new-file + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.files.add-dir.out --- a/en/examples/results/daily.files.add-dir.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.files.add-dir.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,10 +1,11 @@ -$ \textbf{mkdir b} -$ \textbf{echo b > b/b} -$ \textbf{echo c > b/c} -$ \textbf{mkdir b/d} -$ \textbf{echo d > b/d/d} -$ \textbf{hg add b} +$ mkdir b +$ echo b > b/b +$ echo c > b/c +$ mkdir b/d +$ echo d > b/d/d +$ hg add b adding b/b adding b/c adding b/d/d -$ \textbf{hg commit -m 'Added all files in subdirectory'} +$ hg commit -m 'Added all files in subdirectory' + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.files.add.out --- a/en/examples/results/daily.files.add.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.files.add.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,10 +1,11 @@ -$ \textbf{hg init add-example} -$ \textbf{cd add-example} -$ \textbf{echo a > a} -$ \textbf{hg status} +$ hg init add-example +$ cd add-example +$ echo a > a +$ hg status ? a -$ \textbf{hg add a} -$ \textbf{hg status} +$ hg add a +$ hg status A a -$ \textbf{hg commit -m 'Added one file'} -$ \textbf{hg status} +$ hg commit -m 'Added one file' +$ hg status + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.files.addremove.out --- a/en/examples/results/daily.files.addremove.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.files.addremove.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,7 +1,8 @@ -$ \textbf{hg init addremove-example} -$ \textbf{cd addremove-example} -$ \textbf{echo a > a} -$ \textbf{echo b > b} -$ \textbf{hg addremove} +$ hg init addremove-example +$ cd addremove-example +$ echo a > a +$ echo b > b +$ hg addremove adding a adding b + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.files.commit-addremove.out --- a/en/examples/results/daily.files.commit-addremove.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.files.commit-addremove.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,3 +1,4 @@ -$ \textbf{echo c > c} -$ \textbf{hg commit -A -m 'Commit with addremove'} +$ echo c > c +$ hg commit -A -m 'Commit with addremove' adding c + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.files.hidden.out --- a/en/examples/results/daily.files.hidden.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.files.hidden.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,14 +1,15 @@ -$ \textbf{hg init hidden-example} -$ \textbf{cd hidden-example} -$ \textbf{mkdir empty} -$ \textbf{touch empty/.hidden} -$ \textbf{hg add empty/.hidden} -$ \textbf{hg commit -m 'Manage an empty-looking directory'} -$ \textbf{ls empty} -$ \textbf{cd ..} -$ \textbf{hg clone hidden-example tmp} +$ hg init hidden-example +$ cd hidden-example +$ mkdir empty +$ touch empty/.hidden +$ hg add empty/.hidden +$ hg commit -m 'Manage an empty-looking directory' +$ ls empty +$ cd .. +$ hg clone hidden-example tmp updating working directory 1 files updated, 0 files merged, 0 files removed, 0 files unresolved -$ \textbf{ls tmp} +$ ls tmp empty -$ \textbf{ls tmp/empty} +$ ls tmp/empty + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.files.missing.out --- a/en/examples/results/daily.files.missing.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.files.missing.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,8 +1,9 @@ -$ \textbf{hg init missing-example} -$ \textbf{cd missing-example} -$ \textbf{echo a > a} -$ \textbf{hg add a} -$ \textbf{hg commit -m 'File about to be missing'} -$ \textbf{rm a} -$ \textbf{hg status} +$ hg init missing-example +$ cd missing-example +$ echo a > a +$ hg add a +$ hg commit -m 'File about to be missing' +$ rm a +$ hg status ! a + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.files.recover-missing.out --- a/en/examples/results/daily.files.recover-missing.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.files.recover-missing.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,5 @@ -$ \textbf{hg revert a} -$ \textbf{cat a} +$ hg revert a +$ cat a a -$ \textbf{hg status} +$ hg status + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.files.remove-after.out --- a/en/examples/results/daily.files.remove-after.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.files.remove-after.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,3 +1,4 @@ -$ \textbf{hg remove --after a} -$ \textbf{hg status} +$ hg remove --after a +$ hg status R a + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.files.remove.out --- a/en/examples/results/daily.files.remove.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.files.remove.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,13 +1,14 @@ -$ \textbf{hg init remove-example} -$ \textbf{cd remove-example} -$ \textbf{echo a > a} -$ \textbf{mkdir b} -$ \textbf{echo b > b/b} -$ \textbf{hg add a b} +$ hg init remove-example +$ cd remove-example +$ echo a > a +$ mkdir b +$ echo b > b/b +$ hg add a b adding b/b -$ \textbf{hg commit -m 'Small example for file removal'} -$ \textbf{hg remove a} -$ \textbf{hg status} +$ hg commit -m 'Small example for file removal' +$ hg remove a +$ hg status R a -$ \textbf{hg remove b} +$ hg remove b removing b/b + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.rename.rename.out --- a/en/examples/results/daily.rename.rename.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.rename.rename.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,1 +1,2 @@ -$ \textbf{hg rename a b} +$ hg rename a b + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.rename.status-copy.out --- a/en/examples/results/daily.rename.status-copy.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.rename.status-copy.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,5 @@ -$ \textbf{hg status -C} +$ hg status -C A b a R a + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.rename.status.out --- a/en/examples/results/daily.rename.status.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.rename.status.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,3 +1,4 @@ -$ \textbf{hg status} +$ hg status A b R a + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.revert.add.out --- a/en/examples/results/daily.revert.add.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.revert.add.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,7 +1,8 @@ -$ \textbf{echo oops > oops} -$ \textbf{hg add oops} -$ \textbf{hg status oops} +$ echo oops > oops +$ hg add oops +$ hg status oops A oops -$ \textbf{hg revert oops} -$ \textbf{hg status} +$ hg revert oops +$ hg status ? oops + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.revert.copy.out --- a/en/examples/results/daily.revert.copy.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.revert.copy.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,5 @@ -$ \textbf{hg copy file new-file} -$ \textbf{hg revert new-file} -$ \textbf{hg status} +$ hg copy file new-file +$ hg revert new-file +$ hg status ? new-file + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.revert.missing.out --- a/en/examples/results/daily.revert.missing.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.revert.missing.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,6 +1,7 @@ -$ \textbf{rm file} -$ \textbf{hg status} +$ rm file +$ hg status ! file -$ \textbf{hg revert file} -$ \textbf{ls file} +$ hg revert file +$ ls file file + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.revert.modify.out --- a/en/examples/results/daily.revert.modify.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.revert.modify.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,10 +1,11 @@ -$ \textbf{cat file} +$ cat file original content -$ \textbf{echo unwanted change >> file} -$ \textbf{hg diff file} +$ echo unwanted change >> file +$ hg diff file diff -r file @@ -1,1 +1,2 @@ original content +unwanted change + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.revert.remove.out --- a/en/examples/results/daily.revert.remove.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.revert.remove.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,7 +1,8 @@ -$ \textbf{hg remove file} -$ \textbf{hg status} +$ hg remove file +$ hg status R file -$ \textbf{hg revert file} -$ \textbf{hg status} -$ \textbf{ls file} +$ hg revert file +$ hg status +$ ls file file + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.revert.rename-orig.out --- a/en/examples/results/daily.revert.rename-orig.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.revert.rename-orig.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,5 @@ -$ \textbf{hg revert file} +$ hg revert file no changes needed to file -$ \textbf{hg status} +$ hg status ? new-file + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.revert.rename.out --- a/en/examples/results/daily.revert.rename.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.revert.rename.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,5 @@ -$ \textbf{hg rename file new-file} -$ \textbf{hg revert new-file} -$ \textbf{hg status} +$ hg rename file new-file +$ hg revert new-file +$ hg status ? new-file + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.revert.status.out --- a/en/examples/results/daily.revert.status.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.revert.status.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,5 +1,6 @@ -$ \textbf{hg status} +$ hg status ? file.orig -$ \textbf{cat file.orig} +$ cat file.orig original content unwanted change + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/daily.revert.unmodify.out --- a/en/examples/results/daily.revert.unmodify.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/daily.revert.unmodify.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,5 +1,6 @@ -$ \textbf{hg status} +$ hg status M file -$ \textbf{hg revert file} -$ \textbf{cat file} +$ hg revert file +$ cat file original content + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/extdiff.diff.out --- a/en/examples/results/extdiff.diff.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/extdiff.diff.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,7 +1,8 @@ -$ \textbf{hg diff} +$ hg diff diff -r myfile @@ -1,1 +1,2 @@ The first line. +The second line. + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/extdiff.extdiff-ctx.out --- a/en/examples/results/extdiff.extdiff-ctx.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/extdiff.extdiff-ctx.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,4 @@ -$ \textbf{hg extdiff -o -NprcC5} +$ hg extdiff -o -NprcC5 *************** @@ -6,3 +6,4 @@ The first line. + The second line. + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/extdiff.extdiff.out --- a/en/examples/results/extdiff.extdiff.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/extdiff.extdiff.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,6 +1,7 @@ -$ \textbf{hg extdiff} +$ hg extdiff @@ -1 +1,2 @@ The first line. +The second line. + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/filenames.dirs.out --- a/en/examples/results/filenames.dirs.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/filenames.dirs.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,5 +1,6 @@ -$ \textbf{hg status src} +$ hg status src ? src/main.py ? src/watcher/_watcher.c ? src/watcher/watcher.py ? src/xyzzy.txt + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/filenames.files.out --- a/en/examples/results/filenames.files.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/filenames.files.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,1 +1,2 @@ -$ \textbf{hg add COPYING README examples/simple.py} +$ hg add COPYING README examples/simple.py + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/filenames.filter.exclude.out --- a/en/examples/results/filenames.filter.exclude.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/filenames.filter.exclude.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,3 +1,4 @@ -$ \textbf{hg status -X '**.py' src} +$ hg status -X '**.py' src ? src/watcher/_watcher.c ? src/xyzzy.txt + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/filenames.filter.include.out --- a/en/examples/results/filenames.filter.include.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/filenames.filter.include.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,2 +1,3 @@ -$ \textbf{hg status -I '*.in'} +$ hg status -I '*.in' ? MANIFEST.in + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/filenames.glob.group.out --- a/en/examples/results/filenames.glob.group.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/filenames.glob.group.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,3 +1,4 @@ -$ \textbf{hg status 'glob:*.\{in,py\}'} +$ hg status 'glob:*.{in,py}' ? MANIFEST.in ? setup.py + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/filenames.glob.question.out --- a/en/examples/results/filenames.glob.question.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/filenames.glob.question.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,2 +1,3 @@ -$ \textbf{hg status 'glob:**.?'} +$ hg status 'glob:**.?' ? src/watcher/_watcher.c + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/filenames.glob.range.out --- a/en/examples/results/filenames.glob.range.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/filenames.glob.range.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,3 +1,4 @@ -$ \textbf{hg status 'glob:**[nr-t]'} +$ hg status 'glob:**[nr-t]' ? MANIFEST.in ? src/xyzzy.txt + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/filenames.glob.star-starstar.out --- a/en/examples/results/filenames.glob.star-starstar.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/filenames.glob.star-starstar.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,8 +1,9 @@ -$ \textbf{hg status 'glob:*.py'} +$ hg status 'glob:*.py' ? setup.py -$ \textbf{hg status 'glob:**.py'} +$ hg status 'glob:**.py' A examples/simple.py A src/main.py ? examples/performant.py ? setup.py ? src/watcher/watcher.py + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/filenames.glob.star.out --- a/en/examples/results/filenames.glob.star.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/filenames.glob.star.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,2 +1,3 @@ -$ \textbf{hg add 'glob:*.py'} +$ hg add 'glob:*.py' adding main.py + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/filenames.glob.starstar.out --- a/en/examples/results/filenames.glob.starstar.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/filenames.glob.starstar.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,7 +1,8 @@ -$ \textbf{cd ..} -$ \textbf{hg status 'glob:**.py'} +$ cd .. +$ hg status 'glob:**.py' A examples/simple.py A src/main.py ? examples/performant.py ? setup.py ? src/watcher/watcher.py + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/filenames.wdir-relname.out --- a/en/examples/results/filenames.wdir-relname.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/filenames.wdir-relname.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,4 @@ -$ \textbf{hg status} +$ hg status A COPYING A README A examples/simple.py @@ -9,7 +9,7 @@ ? src/watcher/_watcher.c ? src/watcher/watcher.py ? src/xyzzy.txt -$ \textbf{hg status `hg root`} +$ hg status `hg root` A ../COPYING A ../README A ../examples/simple.py @@ -20,3 +20,4 @@ ? watcher/_watcher.c ? watcher/watcher.py ? xyzzy.txt + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/filenames.wdir-subdir.out --- a/en/examples/results/filenames.wdir-subdir.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/filenames.wdir-subdir.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,5 +1,5 @@ -$ \textbf{cd src} -$ \textbf{hg add -n} +$ cd src +$ hg add -n adding ../MANIFEST.in adding ../examples/performant.py adding ../setup.py @@ -7,8 +7,9 @@ adding watcher/_watcher.c adding watcher/watcher.py adding xyzzy.txt -$ \textbf{hg add -n .} +$ hg add -n . adding main.py adding watcher/_watcher.c adding watcher/watcher.py adding xyzzy.txt + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/hook.msglen.go.out --- a/en/examples/results/hook.msglen.go.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/hook.msglen.go.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,10 +1,11 @@ -$ \textbf{cat .hg/hgrc} +$ cat .hg/hgrc [hooks] -pretxncommit.msglen = test `hg tip --template \{desc\} | wc -c` -ge 10 -$ \textbf{echo a > a} -$ \textbf{hg add a} -$ \textbf{hg commit -A -m 'too short'} +pretxncommit.msglen = test `hg tip --template {desc} | wc -c` -ge 10 +$ echo a > a +$ hg add a +$ hg commit -A -m 'too short' transaction abort! rollback completed abort: pretxncommit.msglen hook exited with status 1 -$ \textbf{hg commit -A -m 'long enough'} +$ hg commit -A -m 'long enough' + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/hook.simple.ext.out --- a/en/examples/results/hook.simple.ext.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/hook.simple.ext.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,5 +1,6 @@ -$ \textbf{echo 'commit.when = echo -n "date of commit: "; date' >> .hg/hgrc} -$ \textbf{echo a >> a} -$ \textbf{hg commit -m 'i have two hooks'} +$ echo 'commit.when = echo -n "date of commit: "; date' >> .hg/hgrc +$ echo a >> a +$ hg commit -m 'i have two hooks' committed + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/hook.simple.init.out --- a/en/examples/results/hook.simple.init.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/hook.simple.init.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,11 +1,12 @@ -$ \textbf{hg init hook-test} -$ \textbf{cd hook-test} -$ \textbf{echo '[hooks]' >> .hg/hgrc} -$ \textbf{echo 'commit = echo committed $HG_NODE' >> .hg/hgrc} -$ \textbf{cat .hg/hgrc} +$ hg init hook-test +$ cd hook-test +$ echo '[hooks]' >> .hg/hgrc +$ echo 'commit = echo committed $HG_NODE' >> .hg/hgrc +$ cat .hg/hgrc [hooks] commit = echo committed $HG_NODE -$ \textbf{echo a > a} -$ \textbf{hg add a} -$ \textbf{hg commit -m 'testing commit hook'} +$ echo a > a +$ hg add a +$ hg commit -m 'testing commit hook' committed + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/hook.simple.pretxncommit.out --- a/en/examples/results/hook.simple.pretxncommit.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/hook.simple.pretxncommit.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,13 +1,14 @@ -$ \textbf{cat check_bug_id} +$ cat check_bug_id #!/bin/sh # check that a commit comment mentions a numeric bug id -hg log -r $1 --template \{desc\} | grep -q "\textbackslash{}> .hg/hgrc} -$ \textbf{echo a >> a} -$ \textbf{hg commit -m 'i am not mentioning a bug id'} +hg log -r $1 --template {desc} | grep -q "\<bug *[0-9]" +$ echo 'pretxncommit.bug_id_required = ./check_bug_id $HG_NODE' >> .hg/hgrc +$ echo a >> a +$ hg commit -m 'i am not mentioning a bug id' transaction abort! rollback completed abort: pretxncommit.bug_id_required hook exited with status 1 -$ \textbf{hg commit -m 'i refer you to bug 666'} +$ hg commit -m 'i refer you to bug 666' committed + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/hook.ws.better.out --- a/en/examples/results/hook.ws.better.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/hook.ws.better.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,17 +1,18 @@ -$ \textbf{cat .hg/hgrc} +$ cat .hg/hgrc [hooks] pretxncommit.whitespace = .hg/check_whitespace.py -$ \textbf{echo 'a ' >> a} -$ \textbf{hg commit -A -m 'add new line with trailing whitespace'} +$ echo 'a ' >> a +$ hg commit -A -m 'add new line with trailing whitespace' a, line 2: trailing whitespace added commit message saved to .hg/commit.save transaction abort! rollback completed abort: pretxncommit.whitespace hook exited with status 1 -$ \textbf{sed -i 's, *$,,' a} -$ \textbf{hg commit -A -m 'trimmed trailing whitespace'} +$ sed -i 's, *$,,' a +$ hg commit -A -m 'trimmed trailing whitespace' a, line 2: trailing whitespace added commit message saved to .hg/commit.save transaction abort! rollback completed abort: pretxncommit.whitespace hook exited with status 1 + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/hook.ws.simple.out --- a/en/examples/results/hook.ws.simple.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/hook.ws.simple.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,11 +1,12 @@ -$ \textbf{cat .hg/hgrc} +$ cat .hg/hgrc [hooks] -pretxncommit.whitespace = hg export tip | (! egrep -q '^\textbackslash{}+.*[ \textbackslash{}t]$') -$ \textbf{echo 'a ' > a} -$ \textbf{hg commit -A -m 'test with trailing whitespace'} +pretxncommit.whitespace = hg export tip | (! egrep -q '^\+.*[ \t]$') +$ echo 'a ' > a +$ hg commit -A -m 'test with trailing whitespace' adding a transaction abort! rollback completed abort: pretxncommit.whitespace hook exited with status 1 -$ \textbf{echo 'a' > a} -$ \textbf{hg commit -A -m 'drop trailing whitespace and try again'} +$ echo 'a' > a +$ hg commit -A -m 'drop trailing whitespace and try again' + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/issue29.go.out --- a/en/examples/results/issue29.go.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/issue29.go.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,17 +1,18 @@ -$ \textbf{hg init issue29} -$ \textbf{cd issue29} -$ \textbf{echo a > a} -$ \textbf{hg ci -Ama} +$ hg init issue29 +$ cd issue29 +$ echo a > a +$ hg ci -Ama adding a -$ \textbf{echo b > b} -$ \textbf{hg ci -Amb} +$ echo b > b +$ hg ci -Amb adding b -$ \textbf{hg up 0} +$ hg up 0 0 files updated, 0 files merged, 1 files removed, 0 files unresolved -$ \textbf{mkdir b} -$ \textbf{echo b > b/b} -$ \textbf{hg ci -Amc} +$ mkdir b +$ echo b > b/b +$ hg ci -Amc adding b/b created new head -$ \textbf{hg merge} +$ hg merge + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.dodiff.diff.out --- a/en/examples/results/mq.dodiff.diff.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.dodiff.diff.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,13 +1,14 @@ -$ \textbf{echo 'this is my original thought' > oldfile} -$ \textbf{echo 'i have changed my mind' > newfile} -$ \textbf{diff -u oldfile newfile > tiny.patch} -$ \textbf{cat tiny.patch} +$ echo 'this is my original thought' > oldfile +$ echo 'i have changed my mind' > newfile +$ diff -u oldfile newfile > tiny.patch +$ cat tiny.patch @@ -1 +1 @@ -this is my original thought +i have changed my mind -$ \textbf{patch < tiny.patch} +$ patch < tiny.patch patching file oldfile -$ \textbf{cat oldfile} +$ cat oldfile i have changed my mind + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.guards.init.out --- a/en/examples/results/mq.guards.init.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.guards.init.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,9 +1,10 @@ -$ \textbf{hg qinit} -$ \textbf{hg qnew hello.patch} -$ \textbf{echo hello > hello} -$ \textbf{hg add hello} -$ \textbf{hg qrefresh} -$ \textbf{hg qnew goodbye.patch} -$ \textbf{echo goodbye > goodbye} -$ \textbf{hg add goodbye} -$ \textbf{hg qrefresh} +$ hg qinit +$ hg qnew hello.patch +$ echo hello > hello +$ hg add hello +$ hg qrefresh +$ hg qnew goodbye.patch +$ echo goodbye > goodbye +$ hg add goodbye +$ hg qrefresh + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.guards.qguard.neg.out --- a/en/examples/results/mq.guards.qguard.neg.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.guards.qguard.neg.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,3 +1,4 @@ -$ \textbf{hg qguard hello.patch -quux} -$ \textbf{hg qguard hello.patch} +$ hg qguard hello.patch -quux +$ hg qguard hello.patch hello.patch: -quux + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.guards.qguard.out --- a/en/examples/results/mq.guards.qguard.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.guards.qguard.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,2 +1,3 @@ -$ \textbf{hg qguard} +$ hg qguard goodbye.patch: unguarded + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.guards.qguard.pos.out --- a/en/examples/results/mq.guards.qguard.pos.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.guards.qguard.pos.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,3 +1,4 @@ -$ \textbf{hg qguard +foo} -$ \textbf{hg qguard} +$ hg qguard +foo +$ hg qguard goodbye.patch: +foo + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.guards.qselect.cat.out --- a/en/examples/results/mq.guards.qselect.cat.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.guards.qselect.cat.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,2 +1,3 @@ -$ \textbf{cat .hg/patches/guards} +$ cat .hg/patches/guards foo + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.guards.qselect.error.out --- a/en/examples/results/mq.guards.qselect.error.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.guards.qselect.error.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,2 +1,3 @@ -$ \textbf{hg qselect +foo} +$ hg qselect +foo abort: guard '+foo' starts with invalid character: '+' + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.guards.qselect.foo.out --- a/en/examples/results/mq.guards.qselect.foo.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.guards.qselect.foo.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,8 +1,9 @@ -$ \textbf{hg qpop -a} +$ hg qpop -a patch queue now empty -$ \textbf{hg qselect} +$ hg qselect no active guards -$ \textbf{hg qselect foo} +$ hg qselect foo number of unguarded, unapplied patches has changed from 1 to 2 -$ \textbf{hg qselect} +$ hg qselect foo + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.guards.qselect.foobar.out --- a/en/examples/results/mq.guards.qselect.foobar.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.guards.qselect.foobar.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,8 +1,9 @@ -$ \textbf{hg qselect foo bar} +$ hg qselect foo bar number of unguarded, unapplied patches has changed from 0 to 2 -$ \textbf{hg qpop -a} +$ hg qpop -a no patches applied -$ \textbf{hg qpush -a} +$ hg qpush -a applying hello.patch applying goodbye.patch now at: goodbye.patch + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.guards.qselect.qpush.out --- a/en/examples/results/mq.guards.qselect.qpush.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.guards.qselect.qpush.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,5 @@ -$ \textbf{hg qpush -a} +$ hg qpush -a applying hello.patch applying goodbye.patch now at: goodbye.patch + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.guards.qselect.quux.out --- a/en/examples/results/mq.guards.qselect.quux.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.guards.qselect.quux.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,6 +1,7 @@ -$ \textbf{hg qselect quux} +$ hg qselect quux number of guarded, applied patches has changed from 0 to 2 -$ \textbf{hg qpop -a} +$ hg qpop -a patch queue now empty -$ \textbf{hg qpush -a} +$ hg qpush -a patch series already fully applied + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.guards.series.out --- a/en/examples/results/mq.guards.series.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.guards.series.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,3 +1,4 @@ -$ \textbf{cat .hg/patches/series} +$ cat .hg/patches/series hello.patch #-quux goodbye.patch #+foo + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.id.output.out --- a/en/examples/results/mq.id.output.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.id.output.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,11 +1,11 @@ -$ \textbf{hg qapplied} +$ hg qapplied first.patch second.patch -$ \textbf{hg log -r qbase:qtip} +$ hg log -r qbase:qtip changeset: tag: first.patch tag: qbase -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: [mq]: first.patch @@ -13,13 +13,13 @@ tag: qtip tag: second.patch tag: tip -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: [mq]: second.patch -$ \textbf{hg export second.patch} +$ hg export second.patch # HG changeset patch -# User Bryan O'Sullivan +# User Bryan O'Sullivan <bos@serpentine.com> # Node ID # Parent @@ -30,3 +30,4 @@ @@ -0,0 +1,1 @@ +double u; + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.qinit-help.help.out --- a/en/examples/results/mq.qinit-help.help.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.qinit-help.help.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,4 @@ -$ \textbf{hg help qinit} +$ hg help qinit hg qinit [-c] init a new queue repository @@ -14,3 +14,4 @@ -c --create-repo create queue repository use "hg -v help qinit" to show global options + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.tarball.download.out --- a/en/examples/results/mq.tarball.download.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.tarball.download.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,9 +1,10 @@ -$ \textbf{download netplug-1.2.5.tar.bz2} -$ \textbf{tar jxf netplug-1.2.5.tar.bz2} -$ \textbf{cd netplug-1.2.5} -$ \textbf{hg init} -$ \textbf{hg commit -q --addremove --message netplug-1.2.5} -$ \textbf{cd ..} -$ \textbf{hg clone netplug-1.2.5 netplug} +$ download netplug-1.2.5.tar.bz2 +$ tar jxf netplug-1.2.5.tar.bz2 +$ cd netplug-1.2.5 +$ hg init +$ hg commit -q --addremove --message netplug-1.2.5 +$ cd .. +$ hg clone netplug-1.2.5 netplug updating working directory 18 files updated, 0 files merged, 0 files removed, 0 files unresolved + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.tarball.newsource.out --- a/en/examples/results/mq.tarball.newsource.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.tarball.newsource.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,13 +1,14 @@ -$ \textbf{hg qpop -a} +$ hg qpop -a patch queue now empty -$ \textbf{cd ..} -$ \textbf{download netplug-1.2.8.tar.bz2} -$ \textbf{hg clone netplug-1.2.5 netplug-1.2.8} +$ cd .. +$ download netplug-1.2.8.tar.bz2 +$ hg clone netplug-1.2.5 netplug-1.2.8 updating working directory 18 files updated, 0 files merged, 0 files removed, 0 files unresolved -$ \textbf{cd netplug-1.2.8} -$ \textbf{hg locate -0 | xargs -0 rm} -$ \textbf{cd ..} -$ \textbf{tar jxf netplug-1.2.8.tar.bz2} -$ \textbf{cd netplug-1.2.8} -$ \textbf{hg commit --addremove --message netplug-1.2.8} +$ cd netplug-1.2.8 +$ hg locate -0 | xargs -0 rm +$ cd .. +$ tar jxf netplug-1.2.8.tar.bz2 +$ cd netplug-1.2.8 +$ hg commit --addremove --message netplug-1.2.8 + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.tarball.qinit.out --- a/en/examples/results/mq.tarball.qinit.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.tarball.qinit.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,15 +1,15 @@ -$ \textbf{cd netplug} -$ \textbf{hg qinit} -$ \textbf{hg qnew -m 'fix build problem with gcc 4' build-fix.patch} -$ \textbf{perl -pi -e 's/int addr_len/socklen_t addr_len/' netlink.c} -$ \textbf{hg qrefresh} -$ \textbf{hg tip -p} +$ cd netplug +$ hg qinit +$ hg qnew -m 'fix build problem with gcc 4' build-fix.patch +$ perl -pi -e 's/int addr_len/socklen_t addr_len/' netlink.c +$ hg qrefresh +$ hg tip -p changeset: tag: qtip tag: build-fix.patch tag: tip tag: qbase -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: fix build problem with gcc 4 @@ -18,11 +18,12 @@ @@ -275,7 +275,7 @@ exit(1); - \} + } - int addr_len = sizeof(addr); + socklen_t addr_len = sizeof(addr); - if (getsockname(fd, (struct sockaddr *) &addr, &addr_len) == -1) \{ + if (getsockname(fd, (struct sockaddr *) &addr, &addr_len) == -1) { do_log(LOG_ERR, "Could not get socket details: %m"); + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.tarball.repush.out --- a/en/examples/results/mq.tarball.repush.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.tarball.repush.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,5 +1,5 @@ -$ \textbf{cd ../netplug} -$ \textbf{hg pull ../netplug-1.2.8} +$ cd ../netplug +$ hg pull ../netplug-1.2.8 pulling from ../netplug-1.2.8 searching for changes adding changesets @@ -7,7 +7,8 @@ adding file changes added 1 changesets with 12 changes to 12 files (run 'hg update' to get a working copy) -$ \textbf{hg qpush -a} +$ hg qpush -a (working directory not at tip) applying build-fix.patch now at: build-fix.patch + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.tools.lsdiff.out --- a/en/examples/results/mq.tools.lsdiff.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.tools.lsdiff.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,4 @@ -$ \textbf{lsdiff -nvv remove-redundant-null-checks.patch} +$ lsdiff -nvv remove-redundant-null-checks.patch 22 File #1 a/drivers/char/agp/sgi-agp.c 24 Hunk #1 static int __devinit agp_sgi_init(void) 37 File #2 a/drivers/char/hvcs.c @@ -19,3 +19,4 @@ 166 Hunk #1 int ata_cmd_ioctl(struct scsi_device *sc 178 File #8 a/drivers/video/au1100fb.c 180 Hunk #1 void __exit au1100fb_cleanup(void) + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.tools.tools.out --- a/en/examples/results/mq.tools.tools.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.tools.tools.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,4 @@ -$ \textbf{diffstat -p1 remove-redundant-null-checks.patch} +$ diffstat -p1 remove-redundant-null-checks.patch drivers/char/agp/sgi-agp.c | 5 ++--- drivers/char/hvcs.c | 11 +++++------ drivers/message/fusion/mptfc.c | 6 ++---- @@ -8,16 +8,17 @@ drivers/scsi/libata-scsi.c | 4 +--- drivers/video/au1100fb.c | 3 +-- 8 files changed, 19 insertions(+), 38 deletions(-) -$ \textbf{filterdiff -i '*/video/*' remove-redundant-null-checks.patch} +$ filterdiff -i '*/video/*' remove-redundant-null-checks.patch @@ -743,8 +743,7 @@ void __exit au1100fb_cleanup(void) - \{ - driver_unregister(&au1100fb_driver); + { + driver_unregister(&au1100fb_driver); - if (drv_info.opt_mode) - kfree(drv_info.opt_mode); + kfree(drv_info.opt_mode); - \} + } module_init(au1100fb_init); + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.tutorial.add.out --- a/en/examples/results/mq.tutorial.add.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.tutorial.add.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,5 @@ -$ \textbf{echo 'file 3, line 1' >> file3} -$ \textbf{hg qnew add-file3.patch} -$ \textbf{hg qnew -f add-file3.patch} +$ echo 'file 3, line 1' >> file3 +$ hg qnew add-file3.patch +$ hg qnew -f add-file3.patch abort: patch "add-file3.patch" already exists + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.tutorial.qinit.out --- a/en/examples/results/mq.tutorial.qinit.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.tutorial.qinit.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,7 +1,8 @@ -$ \textbf{hg init mq-sandbox} -$ \textbf{cd mq-sandbox} -$ \textbf{echo 'line 1' > file1} -$ \textbf{echo 'another line 1' > file2} -$ \textbf{hg add file1 file2} -$ \textbf{hg commit -m'first change'} -$ \textbf{hg qinit} +$ hg init mq-sandbox +$ cd mq-sandbox +$ echo 'line 1' > file1 +$ echo 'another line 1' > file2 +$ hg add file1 file2 +$ hg commit -m'first change' +$ hg qinit + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.tutorial.qnew.out --- a/en/examples/results/mq.tutorial.qnew.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.tutorial.qnew.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,20 +1,21 @@ -$ \textbf{hg tip} +$ hg tip changeset: tag: tip -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: first change -$ \textbf{hg qnew first.patch} -$ \textbf{hg tip} +$ hg qnew first.patch +$ hg tip changeset: tag: qtip tag: first.patch tag: tip tag: qbase -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: [mq]: first.patch -$ \textbf{ls .hg/patches} +$ ls .hg/patches first.patch series status + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.tutorial.qnew2.out --- a/en/examples/results/mq.tutorial.qnew2.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.tutorial.qnew2.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,15 +1,15 @@ -$ \textbf{hg qnew second.patch} -$ \textbf{hg log --style=compact --limit=2} -2[qtip,second.patch,tip] 2009-01-30 06:34 +0000 bos +$ hg qnew second.patch +$ hg log --style=compact --limit=2 +2[qtip,second.patch,tip] 2009-03-10 04:38 +0000 bos [mq]: second.patch -1[first.patch,qbase] 2009-01-30 06:34 +0000 bos +1[first.patch,qbase] 2009-03-10 04:38 +0000 bos [mq]: first.patch -$ \textbf{echo 'line 4' >> file1} -$ \textbf{hg qrefresh} -$ \textbf{hg tip --style=compact --patch} -2[qtip,second.patch,tip] 2009-01-30 06:34 +0000 bos +$ echo 'line 4' >> file1 +$ hg qrefresh +$ hg tip --style=compact --patch +2[qtip,second.patch,tip] 2009-03-10 04:38 +0000 bos [mq]: second.patch diff -r -r file1 @@ -21,8 +21,9 @@ line 3 +line 4 -$ \textbf{hg annotate file1} +$ hg annotate file1 0: line 1 1: line 2 1: line 3 2: line 4 + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.tutorial.qpop.out --- a/en/examples/results/mq.tutorial.qpop.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.tutorial.qpop.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,14 +1,15 @@ -$ \textbf{hg qapplied} +$ hg qapplied first.patch second.patch -$ \textbf{hg qpop} +$ hg qpop now at: first.patch -$ \textbf{hg qseries} +$ hg qseries first.patch second.patch -$ \textbf{hg qapplied} +$ hg qapplied first.patch -$ \textbf{cat file1} +$ cat file1 line 1 line 2 line 3 + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.tutorial.qpush-a.out --- a/en/examples/results/mq.tutorial.qpush-a.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.tutorial.qpush-a.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,8 +1,9 @@ -$ \textbf{hg qpush -a} +$ hg qpush -a applying second.patch now at: second.patch -$ \textbf{cat file1} +$ cat file1 line 1 line 2 line 3 line 4 + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.tutorial.qrefresh.out --- a/en/examples/results/mq.tutorial.qrefresh.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.tutorial.qrefresh.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,15 +1,15 @@ -$ \textbf{echo 'line 2' >> file1} -$ \textbf{hg diff} +$ echo 'line 2' >> file1 +$ hg diff diff -r file1 @@ -1,1 +1,2 @@ line 1 +line 2 -$ \textbf{hg qrefresh} -$ \textbf{hg diff} -$ \textbf{hg tip --style=compact --patch} -1[qtip,first.patch,tip,qbase] 2009-01-30 06:34 +0000 bos +$ hg qrefresh +$ hg diff +$ hg tip --style=compact --patch +1[qtip,first.patch,tip,qbase] 2009-03-10 04:38 +0000 bos [mq]: first.patch diff -r -r file1 @@ -19,3 +19,4 @@ line 1 +line 2 + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.tutorial.qrefresh2.out --- a/en/examples/results/mq.tutorial.qrefresh2.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.tutorial.qrefresh2.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,9 +1,9 @@ -$ \textbf{echo 'line 3' >> file1} -$ \textbf{hg status} +$ echo 'line 3' >> file1 +$ hg status M file1 -$ \textbf{hg qrefresh} -$ \textbf{hg tip --style=compact --patch} -1[qtip,first.patch,tip,qbase] 2009-01-30 06:34 +0000 bos +$ hg qrefresh +$ hg tip --style=compact --patch +1[qtip,first.patch,tip,qbase] 2009-03-10 04:38 +0000 bos [mq]: first.patch diff -r -r file1 @@ -14,3 +14,4 @@ +line 2 +line 3 + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/mq.tutorial.qseries.out --- a/en/examples/results/mq.tutorial.qseries.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/mq.tutorial.qseries.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,6 +1,7 @@ -$ \textbf{hg qseries} +$ hg qseries first.patch second.patch -$ \textbf{hg qapplied} +$ hg qapplied first.patch second.patch + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/rename.divergent.clone.out --- a/en/examples/results/rename.divergent.clone.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/rename.divergent.clone.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,6 +1,7 @@ -$ \textbf{hg clone orig anne} +$ hg clone orig anne updating working directory 1 files updated, 0 files merged, 0 files removed, 0 files unresolved -$ \textbf{hg clone orig bob} +$ hg clone orig bob updating working directory 1 files updated, 0 files merged, 0 files removed, 0 files unresolved + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/rename.divergent.merge.out --- a/en/examples/results/rename.divergent.merge.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/rename.divergent.merge.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,6 +1,6 @@ -# See http://www.selenic.com/mercurial/bts/issue455 -$ \textbf{cd ../orig} -$ \textbf{hg pull -u ../anne} +# See http://www.selenic.com/mercurial/bts/issue455 +$ cd ../orig +$ hg pull -u ../anne pulling from ../anne searching for changes adding changesets @@ -8,7 +8,7 @@ adding file changes added 1 changesets with 1 changes to 1 files 1 files updated, 0 files merged, 1 files removed, 0 files unresolved -$ \textbf{hg pull ../bob} +$ hg pull ../bob pulling from ../bob searching for changes adding changesets @@ -16,11 +16,12 @@ adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) (run 'hg heads' to see heads, 'hg merge' to merge) -$ \textbf{hg merge} +$ hg merge warning: detected divergent renames of foo to: bar quux 1 files updated, 0 files merged, 0 files removed, 0 files unresolved (branch merge, don't forget to commit) -$ \textbf{ls} +$ ls bar quux + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/rename.divergent.rename.anne.out --- a/en/examples/results/rename.divergent.rename.anne.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/rename.divergent.rename.anne.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,3 +1,4 @@ -$ \textbf{cd anne} -$ \textbf{hg mv foo bar} -$ \textbf{hg ci -m 'Rename foo to bar'} +$ cd anne +$ hg mv foo bar +$ hg ci -m 'Rename foo to bar' + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/rename.divergent.rename.bob.out --- a/en/examples/results/rename.divergent.rename.bob.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/rename.divergent.rename.bob.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,3 +1,4 @@ -$ \textbf{cd ../bob} -$ \textbf{hg mv foo quux} -$ \textbf{hg ci -m 'Rename foo to quux'} +$ cd ../bob +$ hg mv foo quux +$ hg ci -m 'Rename foo to quux' + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/rollback.add.out --- a/en/examples/results/rollback.add.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/rollback.add.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,2 +1,3 @@ -$ \textbf{hg add b} -$ \textbf{hg commit -m 'Add file b, this time for real'} +$ hg add b +$ hg commit -m 'Add file b, this time for real' + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/rollback.commit.out --- a/en/examples/results/rollback.commit.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/rollback.commit.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,5 @@ -$ \textbf{hg status} +$ hg status M a -$ \textbf{echo b > b} -$ \textbf{hg commit -m 'Add file b'} +$ echo b > b +$ hg commit -m 'Add file b' + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/rollback.rollback.out --- a/en/examples/results/rollback.rollback.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/rollback.rollback.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,12 +1,13 @@ -$ \textbf{hg rollback} +$ hg rollback rolling back last transaction -$ \textbf{hg tip} +$ hg tip changeset: tag: tip -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: First commit -$ \textbf{hg status} +$ hg status M a ? b + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/rollback.status.out --- a/en/examples/results/rollback.status.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/rollback.status.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,9 +1,10 @@ -$ \textbf{hg status} +$ hg status ? b -$ \textbf{hg tip} +$ hg tip changeset: tag: tip -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Add file b + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/rollback.tip.out --- a/en/examples/results/rollback.tip.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/rollback.tip.out Mon Mar 09 21:39:23 2009 -0700 @@ -0,0 +1,1 @@ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/rollback.twice.out --- a/en/examples/results/rollback.twice.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/rollback.twice.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,5 @@ -$ \textbf{hg rollback} +$ hg rollback rolling back last transaction -$ \textbf{hg rollback} +$ hg rollback no rollback information available + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tag.init.out --- a/en/examples/results/tag.init.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tag.init.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,5 +1,6 @@ -$ \textbf{hg init mytag} -$ \textbf{cd mytag} -$ \textbf{echo hello > myfile} -$ \textbf{hg commit -A -m 'Initial commit'} +$ hg init mytag +$ cd mytag +$ echo hello > myfile +$ hg commit -A -m 'Initial commit' adding myfile + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tag.log.out --- a/en/examples/results/tag.log.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tag.log.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,13 +1,14 @@ -$ \textbf{hg log} +$ hg log changeset: tag: tip -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Added tag v1.0 for changeset changeset: tag: v1.0 -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Initial commit + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tag.log.v1.0.out --- a/en/examples/results/tag.log.v1.0.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tag.log.v1.0.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,10 +1,11 @@ -$ \textbf{echo goodbye > myfile2} -$ \textbf{hg commit -A -m 'Second commit'} +$ echo goodbye > myfile2 +$ hg commit -A -m 'Second commit' adding myfile2 -$ \textbf{hg log -r v1.0} +$ hg log -r v1.0 changeset: tag: v1.0 -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Initial commit + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tag.remove.out --- a/en/examples/results/tag.remove.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tag.remove.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,3 +1,4 @@ -$ \textbf{hg tag --remove v1.0} -$ \textbf{hg tags} +$ hg tag --remove v1.0 +$ hg tags tip + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tag.replace.out --- a/en/examples/results/tag.replace.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tag.replace.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,10 +1,11 @@ -$ \textbf{hg tag -r 1 v1.1} -$ \textbf{hg tags} +$ hg tag -r 1 v1.1 +$ hg tags tip v1.1 -$ \textbf{hg tag -r 2 v1.1} +$ hg tag -r 2 v1.1 abort: tag 'v1.1' already exists (use -f to force) -$ \textbf{hg tag -f -r 2 v1.1} -$ \textbf{hg tags} +$ hg tag -f -r 2 v1.1 +$ hg tags tip v1.1 + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tag.tag.out --- a/en/examples/results/tag.tag.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tag.tag.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,1 +1,2 @@ -$ \textbf{hg tag v1.0} +$ hg tag v1.0 + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tag.tags.out --- a/en/examples/results/tag.tags.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tag.tags.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,3 +1,4 @@ -$ \textbf{hg tags} +$ hg tags tip v1.0 + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tag.tip.out --- a/en/examples/results/tag.tip.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tag.tip.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,7 +1,8 @@ -$ \textbf{hg tip} +$ hg tip changeset: tag: tip -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Added tag v1.1 for changeset + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/template.simple.changelog.out --- a/en/examples/results/template.simple.changelog.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/template.simple.changelog.out Mon Mar 09 21:39:23 2009 -0700 @@ -20,3 +20,4 @@ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/template.simple.combine.out --- a/en/examples/results/template.simple.combine.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/template.simple.combine.out Mon Mar 09 21:39:23 2009 -0700 @@ -4,3 +4,4 @@ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/template.simple.compact.out --- a/en/examples/results/template.simple.compact.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/template.simple.compact.out Mon Mar 09 21:39:23 2009 -0700 @@ -11,3 +11,4 @@ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/template.simple.datekeyword.out --- a/en/examples/results/template.simple.datekeyword.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/template.simple.datekeyword.out Mon Mar 09 21:39:23 2009 -0700 @@ -2,3 +2,4 @@ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/template.simple.keywords.out --- a/en/examples/results/template.simple.keywords.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/template.simple.keywords.out Mon Mar 09 21:39:23 2009 -0700 @@ -19,3 +19,4 @@ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/template.simple.manyfilters.out --- a/en/examples/results/template.simple.manyfilters.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/template.simple.manyfilters.out Mon Mar 09 21:39:23 2009 -0700 @@ -60,3 +60,4 @@ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/template.simple.normal.out --- a/en/examples/results/template.simple.normal.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/template.simple.normal.out Mon Mar 09 21:39:23 2009 -0700 @@ -5,3 +5,4 @@ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/template.simple.rev.out --- a/en/examples/results/template.simple.rev.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/template.simple.rev.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,3 +1,4 @@ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/template.simple.simplest.out --- a/en/examples/results/template.simple.simplest.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/template.simple.simplest.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,2 +1,3 @@ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/template.simple.simplesub.out --- a/en/examples/results/template.simple.simplesub.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/template.simple.simplesub.out Mon Mar 09 21:39:23 2009 -0700 @@ -5,3 +5,4 @@ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/template.svnstyle.id.out --- a/en/examples/results/template.svnstyle.id.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/template.svnstyle.id.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,1 +1,2 @@ -$ \textbf{hg log -r0 --template '\{node\}'} +$ hg log -r0 --template '{node}' + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/template.svnstyle.result.out --- a/en/examples/results/template.svnstyle.result.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/template.svnstyle.result.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,11 +1,12 @@ -$ \textbf{hg log -r1 --style svn.style} +$ hg log -r1 --style svn.style ------------------------------------------------------------------------ -r1 | bos | 2009-01-30 06:40 +0000 (Fri, 30 Jan 2009 06:40:17 +0000) +r1 | bos | -added line to end of <> file. +added line to end of <<hello>> file. in addition, added a file with the helpful name (at least i hope that some might consider it so) of goodbye. ------------------------------------------------------------------------ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/template.svnstyle.short.out --- a/en/examples/results/template.svnstyle.short.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/template.svnstyle.short.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,10 +1,11 @@ -$ \textbf{svn log -r9653} +$ svn log -r9653 ------------------------------------------------------------------------ r9653 | sean.hefty | 2006-09-27 14:39:55 -0700 (Wed, 27 Sep 2006) | 5 lines On reporting a route error, also include the status for the error, rather than indicating a status of 0 when an error has occurred. -Signed-off-by: Sean Hefty +Signed-off-by: Sean Hefty <sean.hefty@intel.com> ------------------------------------------------------------------------ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/template.svnstyle.simplest.out --- a/en/examples/results/template.svnstyle.simplest.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/template.svnstyle.simplest.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,5 @@ -$ \textbf{cat svn.style} -changeset = "\{node|short\}\textbackslash{}n" -$ \textbf{hg log -r1 --style svn.style} +$ cat svn.style +changeset = "{node|short}\n" +$ hg log -r1 --style svn.style + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/template.svnstyle.style.out --- a/en/examples/results/template.svnstyle.style.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/template.svnstyle.style.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,3 +1,4 @@ -$ \textbf{cat svn.style} -header = '------------------------------------------------------------------------\textbackslash{}n\textbackslash{}n' +$ cat svn.style +header = '------------------------------------------------------------------------\n\n' changeset = svn.template + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/template.svnstyle.syntax.error.out --- a/en/examples/results/template.svnstyle.syntax.error.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/template.svnstyle.syntax.error.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,2 +1,3 @@ -$ \textbf{hg log -r1 --style broken.style} +$ hg log -r1 --style broken.style abort: broken.style:1: parse error + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/template.svnstyle.syntax.input.out --- a/en/examples/results/template.svnstyle.syntax.input.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/template.svnstyle.syntax.input.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,2 +1,3 @@ -$ \textbf{cat broken.style} +$ cat broken.style changeset = + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/template.svnstyle.template.out --- a/en/examples/results/template.svnstyle.template.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/template.svnstyle.template.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,6 +1,7 @@ -$ \textbf{cat svn.template} -r\{rev\} | \{author|user\} | \{date|isodate\} (\{date|rfc822date\}) +$ cat svn.template +r{rev} | {author|user} | {date|isodate} ({date|rfc822date}) -\{desc|strip|fill76\} +{desc|strip|fill76} ------------------------------------------------------------------------ + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour-merge-conflict.commit.out --- a/en/examples/results/tour-merge-conflict.commit.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour-merge-conflict.commit.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,16 +1,17 @@ -$ \textbf{cat > letter.txt < \textbf{Greetings!} -> \textbf{I am Bryan O'Sullivan, no relation of the former} -> \textbf{Nigerian dictator Sani Abacha.} -> \textbf{EOF} -$ \textbf{hg resolve -m letter.txt} -$ \textbf{hg commit -m 'Send me your money'} -$ \textbf{hg tip} +$ cat > letter.txt <<EOF +> Greetings! +> I am Bryan O'Sullivan, no relation of the former +> Nigerian dictator Sani Abacha. +> EOF +$ hg resolve -m letter.txt +$ hg commit -m 'Send me your money' +$ hg tip changeset: tag: tip parent: parent: -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Send me your money + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour-merge-conflict.cousin.out --- a/en/examples/results/tour-merge-conflict.cousin.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour-merge-conflict.cousin.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,11 +1,12 @@ -$ \textbf{cd ..} -$ \textbf{hg clone scam scam-cousin} +$ cd .. +$ hg clone scam scam-cousin updating working directory 1 files updated, 0 files merged, 0 files removed, 0 files unresolved -$ \textbf{cd scam-cousin} -$ \textbf{cat > letter.txt < \textbf{Greetings!} -> \textbf{I am Shehu Musa Abacha, cousin to the former} -> \textbf{Nigerian dictator Sani Abacha.} -> \textbf{EOF} -$ \textbf{hg commit -m '419 scam, with cousin'} +$ cd scam-cousin +$ cat > letter.txt <<EOF +> Greetings! +> I am Shehu Musa Abacha, cousin to the former +> Nigerian dictator Sani Abacha. +> EOF +$ hg commit -m '419 scam, with cousin' + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour-merge-conflict.merge.out --- a/en/examples/results/tour-merge-conflict.merge.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour-merge-conflict.merge.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,17 +1,18 @@ -$ \textbf{export HGMERGE=merge} -$ \textbf{echo 'XXX this is broken and must be fixed'} +$ export HGMERGE=merge +$ echo 'XXX this is broken and must be fixed' XXX this is broken and must be fixed -$ \textbf{hg merge} +$ hg merge merging letter.txt merge: warning: conflicts during merge merging letter.txt failed! 0 files updated, 0 files merged, 0 files removed, 1 files unresolved use 'hg resolve' to retry unresolved file merges -$ \textbf{cat letter.txt} +$ cat letter.txt Greetings! - +<<<<<<< /tmp/tour-merge-conflictBrdfE0/scam-merge/letter.txt I am Shehu Musa Abacha, cousin to the former ======= I am Alhaji Abba Abacha, son of the former - +>>>>>>> /tmp/letter.txt~other.1ctEYy Nigerian dictator Sani Abacha. + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour-merge-conflict.pull.out --- a/en/examples/results/tour-merge-conflict.pull.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour-merge-conflict.pull.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,9 +1,9 @@ -$ \textbf{cd ..} -$ \textbf{hg clone scam-cousin scam-merge} +$ cd .. +$ hg clone scam-cousin scam-merge updating working directory 1 files updated, 0 files merged, 0 files removed, 0 files unresolved -$ \textbf{cd scam-merge} -$ \textbf{hg pull -u ../scam-son} +$ cd scam-merge +$ hg pull -u ../scam-son pulling from ../scam-son searching for changes adding changesets @@ -12,3 +12,4 @@ added 1 changesets with 1 changes to 1 files (+1 heads) not updating, since new heads added (run 'hg heads' to see heads, 'hg merge' to merge) + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour-merge-conflict.son.out --- a/en/examples/results/tour-merge-conflict.son.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour-merge-conflict.son.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,11 +1,12 @@ -$ \textbf{cd ..} -$ \textbf{hg clone scam scam-son} +$ cd .. +$ hg clone scam scam-son updating working directory 1 files updated, 0 files merged, 0 files removed, 0 files unresolved -$ \textbf{cd scam-son} -$ \textbf{cat > letter.txt < \textbf{Greetings!} -> \textbf{I am Alhaji Abba Abacha, son of the former} -> \textbf{Nigerian dictator Sani Abacha.} -> \textbf{EOF} -$ \textbf{hg commit -m '419 scam, with son'} +$ cd scam-son +$ cat > letter.txt <<EOF +> Greetings! +> I am Alhaji Abba Abacha, son of the former +> Nigerian dictator Sani Abacha. +> EOF +$ hg commit -m '419 scam, with son' + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour-merge-conflict.wife.out --- a/en/examples/results/tour-merge-conflict.wife.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour-merge-conflict.wife.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,7 +1,8 @@ -$ \textbf{cat > letter.txt < \textbf{Greetings!} -> \textbf{I am Mariam Abacha, the wife of former} -> \textbf{Nigerian dictator Sani Abacha.} -> \textbf{EOF} -$ \textbf{hg add letter.txt} -$ \textbf{hg commit -m '419 scam, first draft'} +$ cat > letter.txt <<EOF +> Greetings! +> I am Mariam Abacha, the wife of former +> Nigerian dictator Sani Abacha. +> EOF +$ hg add letter.txt +$ hg commit -m '419 scam, first draft' + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.clone-pull.out --- a/en/examples/results/tour.clone-pull.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.clone-pull.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,5 @@ -$ \textbf{cd ..} -$ \textbf{hg clone hello hello-pull} +$ cd .. +$ hg clone hello hello-pull updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.clone-push.out --- a/en/examples/results/tour.clone-push.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.clone-push.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,5 @@ -$ \textbf{cd ..} -$ \textbf{hg clone hello hello-push} +$ cd .. +$ hg clone hello hello-push updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.clone.out --- a/en/examples/results/tour.clone.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.clone.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,4 @@ -$ \textbf{hg clone http://hg.serpentine.com/tutorial/hello} +$ hg clone http://hg.serpentine.com/tutorial/hello destination directory: hello requesting all changes adding changesets @@ -7,3 +7,4 @@ added 5 changesets with 5 changes to 2 files updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.commit.out --- a/en/examples/results/tour.commit.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.commit.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,1 +1,2 @@ -$ \textbf{hg commit} +$ hg commit + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.diff.out --- a/en/examples/results/tour.diff.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.diff.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,11 +1,12 @@ -$ \textbf{hg diff} +$ hg diff diff -r hello.c @@ -8,5 +8,6 @@ int main(int argc, char **argv) - \{ - printf("hello, world!\textbackslash{}"); -+ printf("hello again!\textbackslash{}n"); + { + printf("hello, world!\"); ++ printf("hello again!\n"); return 0; - \} + } + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.help.out --- a/en/examples/results/tour.help.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.help.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,4 @@ -$ \textbf{hg help init} +$ hg help init hg init [-e CMD] [--remotecmd CMD] [DEST] create a new repository in the given directory @@ -17,3 +17,4 @@ --remotecmd specify hg command to run on the remote side use "hg -v help init" to show global options + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.incoming.out --- a/en/examples/results/tour.incoming.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.incoming.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,10 +1,11 @@ -$ \textbf{cd hello-pull} -$ \textbf{hg incoming ../my-hello} +$ cd hello-pull +$ hg incoming ../my-hello comparing with ../my-hello searching for changes changeset: tag: tip -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Added an extra line of output + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.log-r.out --- a/en/examples/results/tour.log-r.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.log-r.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,16 +1,16 @@ -$ \textbf{hg log -r 3} +$ hg log -r 3 changeset: -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Get make to generate the final binary from a .o file. -$ \textbf{hg log -r } +$ hg log -r changeset: -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Get make to generate the final binary from a .o file. -$ \textbf{hg log -r 1 -r 4} +$ hg log -r 1 -r 4 changeset: user: mpm@selenic.com @@ -18,7 +18,8 @@ changeset: tag: tip -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Trim comments. + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.log-v.out --- a/en/examples/results/tour.log-v.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.log-v.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,9 +1,10 @@ -$ \textbf{hg log -v -r 3} +$ hg log -v -r 3 changeset: -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> files: Makefile description: Get make to generate the final binary from a .o file. + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.log-vp.out --- a/en/examples/results/tour.log-vp.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.log-vp.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,6 +1,6 @@ -$ \textbf{hg log -v -p -r 2} +$ hg log -v -p -r 2 changeset: -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> files: hello.c description: @@ -13,9 +13,10 @@ @@ -11,6 +11,6 @@ int main(int argc, char **argv) - \{ -- printf("hello, world!\textbackslash{}n"); -+ printf("hello, world!\textbackslash{}"); + { +- printf("hello, world!\n"); ++ printf("hello, world!\"); return 0; - \} + } + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.log.out --- a/en/examples/results/tour.log.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.log.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,17 +1,17 @@ -$ \textbf{hg log} +$ hg log changeset: tag: tip -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Trim comments. changeset: -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Get make to generate the final binary from a .o file. changeset: -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Introduce a typo into hello.c. @@ -25,3 +25,4 @@ summary: Create a standard "hello, world" program + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.log.range.out --- a/en/examples/results/tour.log.range.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.log.range.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,17 +1,18 @@ -$ \textbf{hg log -r 2:4} +$ hg log -r 2:4 changeset: -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Introduce a typo into hello.c. changeset: -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Get make to generate the final binary from a .o file. changeset: tag: tip -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Trim comments. + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.ls-a.out --- a/en/examples/results/tour.ls-a.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.ls-a.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,3 +1,4 @@ -$ \textbf{cd hello} -$ \textbf{ls -a} +$ cd hello +$ ls -a . .. .hg Makefile hello.c + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.ls.out --- a/en/examples/results/tour.ls.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.ls.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,5 +1,6 @@ -$ \textbf{ls -l} +$ ls -l -$ \textbf{ls hello} +$ ls hello Makefile hello.c + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.merge.cat.out --- a/en/examples/results/tour.merge.cat.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.merge.cat.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,28 +1,29 @@ -$ \textbf{cat hello.c} +$ cat hello.c /* * Placed in the public domain by Bryan O'Sullivan. This program is * not covered by patents in the United States or other countries. */ -#include +#include <stdio.h> int main(int argc, char **argv) -\{ - printf("once more, hello.\textbackslash{}n"); - printf("hello, world!\textbackslash{}"); +{ + printf("once more, hello.\n"); + printf("hello, world!\"); return 0; -\} -$ \textbf{cat ../my-hello/hello.c} +} +$ cat ../my-hello/hello.c /* * Placed in the public domain by Bryan O'Sullivan. This program is * not covered by patents in the United States or other countries. */ -#include +#include <stdio.h> int main(int argc, char **argv) -\{ - printf("hello, world!\textbackslash{}"); - printf("hello again!\textbackslash{}n"); +{ + printf("hello, world!\"); + printf("hello again!\n"); return 0; -\} +} + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.merge.clone.out --- a/en/examples/results/tour.merge.clone.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.merge.clone.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,7 +1,8 @@ -$ \textbf{cd ..} -$ \textbf{hg clone hello my-new-hello} +$ cd .. +$ hg clone hello my-new-hello updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved -$ \textbf{cd my-new-hello} -$ \textbf{sed -i '/printf/i\textbackslash{}\textbackslash{}tprintf("once more, hello.\textbackslash{}\textbackslash{}n");' hello.c} -$ \textbf{hg commit -m 'A new hello for a new day.'} +$ cd my-new-hello +$ sed -i '/printf/i\\tprintf("once more, hello.\\n");' hello.c +$ hg commit -m 'A new hello for a new day.' + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.merge.commit.out --- a/en/examples/results/tour.merge.commit.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.merge.commit.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,1 +1,2 @@ -$ \textbf{hg commit -m 'Merged changes'} +$ hg commit -m 'Merged changes' + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.merge.heads.out --- a/en/examples/results/tour.merge.heads.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.merge.heads.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,13 +1,14 @@ -$ \textbf{hg heads} +$ hg heads changeset: tag: tip parent: -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Added an extra line of output changeset: -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: A new hello for a new day. + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.merge.merge.out --- a/en/examples/results/tour.merge.merge.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.merge.merge.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,5 @@ -$ \textbf{hg merge} +$ hg merge merging hello.c 0 files updated, 1 files merged, 0 files removed, 0 files unresolved (branch merge, don't forget to commit) + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.merge.parents.out --- a/en/examples/results/tour.merge.parents.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.merge.parents.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,28 +1,29 @@ -$ \textbf{hg parents} +$ hg parents changeset: -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: A new hello for a new day. changeset: tag: tip parent: -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Added an extra line of output -$ \textbf{cat hello.c} +$ cat hello.c /* * Placed in the public domain by Bryan O'Sullivan. This program is * not covered by patents in the United States or other countries. */ -#include +#include <stdio.h> int main(int argc, char **argv) -\{ - printf("once more, hello.\textbackslash{}n"); - printf("hello, world!\textbackslash{}"); - printf("hello again!\textbackslash{}n"); +{ + printf("once more, hello.\n"); + printf("hello, world!\"); + printf("hello again!\n"); return 0; -\} +} + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.merge.pull.out --- a/en/examples/results/tour.merge.pull.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.merge.pull.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,4 @@ -$ \textbf{hg pull ../my-hello} +$ hg pull ../my-hello pulling from ../my-hello searching for changes adding changesets @@ -6,3 +6,4 @@ adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) (run 'hg heads' to see heads, 'hg merge' to merge) + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.merge.tip.out --- a/en/examples/results/tour.merge.tip.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.merge.tip.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,9 +1,10 @@ -$ \textbf{hg tip} +$ hg tip changeset: tag: tip parent: parent: -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Merged changes + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.merge.update.out --- a/en/examples/results/tour.merge.update.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.merge.update.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,2 +1,3 @@ -$ \textbf{hg update} +$ hg update abort: crosses branches (use 'hg merge' or 'hg update -C') + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.older.out --- a/en/examples/results/tour.older.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.older.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,10 +1,11 @@ -$ \textbf{hg update 2} +$ hg update 2 2 files updated, 0 files merged, 0 files removed, 0 files unresolved -$ \textbf{hg parents} +$ hg parents changeset: -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Introduce a typo into hello.c. -$ \textbf{hg update} +$ hg update 2 files updated, 0 files merged, 0 files removed, 0 files unresolved + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.outgoing.net.out --- a/en/examples/results/tour.outgoing.net.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.outgoing.net.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,9 +1,10 @@ -$ \textbf{hg outgoing http://hg.serpentine.com/tutorial/hello} +$ hg outgoing http://hg.serpentine.com/tutorial/hello comparing with http://hg.serpentine.com/tutorial/hello searching for changes changeset: tag: tip -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Added an extra line of output + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.outgoing.out --- a/en/examples/results/tour.outgoing.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.outgoing.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,10 +1,11 @@ -$ \textbf{cd my-hello} -$ \textbf{hg outgoing ../hello-push} +$ cd my-hello +$ hg outgoing ../hello-push comparing with ../hello-push searching for changes changeset: tag: tip -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Added an extra line of output + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.parents.out --- a/en/examples/results/tour.parents.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.parents.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,7 +1,8 @@ -$ \textbf{hg parents} +$ hg parents changeset: tag: tip -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Added an extra line of output + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.pull.out --- a/en/examples/results/tour.pull.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.pull.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,11 +1,11 @@ -$ \textbf{hg tip} +$ hg tip changeset: tag: tip -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Trim comments. -$ \textbf{hg pull ../my-hello} +$ hg pull ../my-hello pulling from ../my-hello searching for changes adding changesets @@ -13,10 +13,11 @@ adding file changes added 1 changesets with 1 changes to 1 files (run 'hg update' to get a working copy) -$ \textbf{hg tip} +$ hg tip changeset: tag: tip -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> summary: Added an extra line of output + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.push.net.out --- a/en/examples/results/tour.push.net.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.push.net.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,5 @@ -$ \textbf{hg push http://hg.serpentine.com/tutorial/hello} +$ hg push http://hg.serpentine.com/tutorial/hello pushing to http://hg.serpentine.com/tutorial/hello searching for changes ssl required + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.push.nothing.out --- a/en/examples/results/tour.push.nothing.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.push.nothing.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,5 @@ -$ \textbf{hg push ../hello-push} +$ hg push ../hello-push pushing to ../hello-push searching for changes no changes found + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.push.out --- a/en/examples/results/tour.push.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.push.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,7 +1,8 @@ -$ \textbf{hg push ../hello-push} +$ hg push ../hello-push pushing to ../hello-push searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.reclone.out --- a/en/examples/results/tour.reclone.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.reclone.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,5 +1,6 @@ -$ \textbf{cd ..} -$ \textbf{hg clone hello my-hello} +$ cd .. +$ hg clone hello my-hello updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved -$ \textbf{cd my-hello} +$ cd my-hello + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.sed.out --- a/en/examples/results/tour.sed.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.sed.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,1 +1,2 @@ -$ \textbf{sed -i '/printf/a\textbackslash{}\textbackslash{}tprintf("hello again!\textbackslash{}\textbackslash{}n");' hello.c} +$ sed -i '/printf/a\\tprintf("hello again!\\n");' hello.c + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.status.out --- a/en/examples/results/tour.status.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.status.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,4 +1,5 @@ -$ \textbf{ls} +$ ls Makefile hello.c -$ \textbf{hg status} +$ hg status M hello.c + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.tip.out --- a/en/examples/results/tour.tip.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.tip.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,7 +1,7 @@ -$ \textbf{hg tip -vp} +$ hg tip -vp changeset: tag: tip -user: Bryan O'Sullivan +user: Bryan O'Sullivan <bos@serpentine.com> files: hello.c description: @@ -13,9 +13,10 @@ @@ -8,5 +8,6 @@ int main(int argc, char **argv) - \{ - printf("hello, world!\textbackslash{}"); -+ printf("hello again!\textbackslash{}n"); + { + printf("hello, world!\"); ++ printf("hello again!\n"); return 0; - \} + } + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.update.out --- a/en/examples/results/tour.update.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.update.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,7 +1,8 @@ -$ \textbf{grep printf hello.c} - printf("hello, world!\textbackslash{}"); -$ \textbf{hg update tip} +$ grep printf hello.c + printf("hello, world!\"); +$ hg update tip 1 files updated, 0 files merged, 0 files removed, 0 files unresolved -$ \textbf{grep printf hello.c} - printf("hello, world!\textbackslash{}"); - printf("hello again!\textbackslash{}n"); +$ grep printf hello.c + printf("hello, world!\"); + printf("hello again!\n"); + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/results/tour.version.out --- a/en/examples/results/tour.version.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/tour.version.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,6 +1,7 @@ -$ \textbf{hg version} +$ hg version Mercurial Distributed SCM (version ) -Copyright (C) 2005-2008 Matt Mackall and others +Copyright (C) 2005-2008 Matt Mackall <mpm@selenic.com> and others This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + diff -r 44d1363234d2 -r 0d5935744f87 en/examples/run-example --- a/en/examples/run-example Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/run-example Mon Mar 09 21:39:23 2009 -0700 @@ -18,23 +18,23 @@ import tempfile import time -tex_subs = { - '\\': '\\textbackslash{}', - '{': '\\{', - '}': '\\}', +xml_subs = { + '<': '<', + '>': '>', + '&': '&', } def gensubs(s): start = 0 for i, c in enumerate(s): - sub = tex_subs.get(c) + sub = xml_subs.get(c) if sub: yield s[start:i] start = i + 1 yield sub yield s[start:] -def tex_escape(s): +def xml_escape(s): return ''.join(gensubs(s)) def maybe_unlink(name): @@ -53,6 +53,10 @@ return p return None +def result_name(name): + dirname, basename = os.path.split(name) + return os.path.join(dirname, 'results', basename) + class example: shell = '/usr/bin/env bash' ps1 = '__run_example_ps1__ ' @@ -231,12 +235,15 @@ return 1 assert os.sep not in out if ofp is not None: + ofp.write('\n') ofp.close() err |= self.rename_output(ofp_basename, ignore) if out: ofp_basename = '%s.%s' % (self.name, out) read_hint = ofp_basename + ' ' - ofp = open(ofp_basename + '.tmp', 'w') + ofp = open(result_name(ofp_basename + '.tmp'), + 'w') + ofp.write('') else: ofp = None elif pi == 'ignore': @@ -249,13 +256,13 @@ # first, print the command we ran if not hunk.startswith('#'): nl = hunk.endswith('\n') - hunk = ('%s \\textbf{%s}' % + hunk = ('%s %s' % (prompts[ps], - tex_escape(hunk.rstrip('\n')))) + xml_escape(hunk.rstrip('\n')))) if nl: hunk += '\n' ofp.write(hunk) # then its output - ofp.write(tex_escape(output)) + ofp.write(xml_escape(output)) ps = newps self.status('\n') except: @@ -268,6 +275,7 @@ ps, output = self.sendreceive('exit\n', read_hint) if ofp is not None: ofp.write(output) + ofp.write('\n') ofp.close() err |= self.rename_output(ofp_basename, ignore) os.close(self.cfd) @@ -282,7 +290,7 @@ elif os.WIFSIGNALED(rc): print >> sys.stderr, '(signal %s)' % os.WTERMSIG(rc) else: - open(self.name + '.run', 'w') + open(result_name(self.name + '.run'), 'w') return err finally: shutil.rmtree(tmpdir) @@ -301,13 +309,13 @@ return True return False - oldname = base + '.out' - tmpname = base + '.tmp' - errname = base + '.err' + oldname = result_name(base + '.out') + tmpname = result_name(base + '.tmp') + errname = result_name(base + '.err') errfp = open(errname, 'w+') for line in open(tmpname): errfp.write(mangle_re.sub('', line)) - os.rename(tmpname, base + '.lxo') + os.rename(tmpname, result_name(base + '.lxo')) errfp.seek(0) try: oldfp = open(oldname) @@ -374,8 +382,7 @@ names.sort() for name in names: if name == 'run-example' or name.startswith('.'): continue - if name.endswith('.out') or name.endswith('~'): continue - if name.endswith('.run'): continue + if name.endswith('~'): continue pathname = os.path.join(path, name) try: st = os.lstat(pathname)