Mercurial > hgbook
changeset 648:bc14f94e726a
Check in a known-broken example to fix up later - XXX
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Thu, 29 Jan 2009 22:47:34 -0800 |
parents | 5ffee9123bbf |
children | 5cd47f721686 |
files | en/examples/tour-merge-conflict en/examples/tour-merge-conflict.commit.out en/examples/tour-merge-conflict.merge.out |
diffstat | 3 files changed, 4 insertions(+), 26 deletions(-) [+] |
line wrap: on
line diff
--- a/en/examples/tour-merge-conflict Thu Jan 29 22:46:56 2009 -0800 +++ b/en/examples/tour-merge-conflict Thu Jan 29 22:47:34 2009 -0800 @@ -56,6 +56,7 @@ #$ ignore: [<>]{7} /tmp/.* export HGMERGE=merge +echo 'XXX this is broken and must be fixed' hg merge cat letter.txt
--- a/en/examples/tour-merge-conflict.commit.out Thu Jan 29 22:46:56 2009 -0800 +++ b/en/examples/tour-merge-conflict.commit.out Thu Jan 29 22:47:34 2009 -0800 @@ -4,29 +4,6 @@ > \textbf{Nigerian dictator Sani Abacha.} > \textbf{EOF} $ \textbf{hg resolve -m letter.txt} -hg: unknown command 'resolve' -Mercurial Distributed SCM - -basic commands: - - add add the specified files on the next commit - annotate show changeset information per file line - clone make a copy of an existing repository - commit commit the specified files or all outstanding changes - diff diff repository (or selected files) - export dump the header and diffs for one or more changesets - init create a new repository in the given directory - log show revision history of entire repository or files - merge merge working directory with another revision - parents show the parents of the working dir or revision - pull pull changes from the specified source - push push changes to the specified destination - remove remove the specified files on the next commit - serve export the repository via HTTP - status show changed files in the working directory - update update working directory - -use "hg help" for the full list of commands or "hg -v" for details $ \textbf{hg commit -m 'Send me your money'} $ \textbf{hg tip} changeset:
--- a/en/examples/tour-merge-conflict.merge.out Thu Jan 29 22:46:56 2009 -0800 +++ b/en/examples/tour-merge-conflict.merge.out Thu Jan 29 22:47:34 2009 -0800 @@ -1,12 +1,12 @@ $ \textbf{export HGMERGE=merge} +$ \textbf{echo 'XXX this is broken and must be fixed'} +XXX this is broken and must be fixed $ \textbf{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 -There are unresolved merges, you can redo the full merge using: - hg update -C 1 - hg merge 2 +use 'hg resolve' to retry unresolved file merges $ \textbf{cat letter.txt} Greetings!