# HG changeset patch # User Bryan O'Sullivan # Date 1233298054 28800 # Node ID bc14f94e726a827326233a62b2d45a27a7d565b3 # Parent 5ffee9123bbf01d9b86f1c2b4f2c0b95a8e71e79 Check in a known-broken example to fix up later - XXX diff -r 5ffee9123bbf -r bc14f94e726a en/examples/tour-merge-conflict --- 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 diff -r 5ffee9123bbf -r bc14f94e726a en/examples/tour-merge-conflict.commit.out --- 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: diff -r 5ffee9123bbf -r bc14f94e726a en/examples/tour-merge-conflict.merge.out --- 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!