Mercurial > hgbook
annotate en/examples/tour-merge-conflict.commit.out @ 563:951bf84ca8e2
translated up to the section "testing and troubleshooting"
author | Javier Rojas <jerojasro@devnull.li> |
---|---|
date | Tue, 23 Dec 2008 18:57:35 -0500 |
parents | 83790457e85b |
children | bc14f94e726a |
rev | line source |
---|---|
144
006bbad1f190
Add expected output files.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
1 $ \textbf{cat > letter.txt <<EOF} |
006bbad1f190
Add expected output files.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
2 > \textbf{Greetings!} |
006bbad1f190
Add expected output files.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
3 > \textbf{I am Bryan O'Sullivan, no relation of the former} |
006bbad1f190
Add expected output files.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
4 > \textbf{Nigerian dictator Sani Abacha.} |
006bbad1f190
Add expected output files.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
5 > \textbf{EOF} |
401
e281bd9a8e47
Fix sample output for test 'tour-merge-conflict'.
Guido Ostkamp <hg@ostkamp.fastmail.fm>
parents:
144
diff
changeset
|
6 $ \textbf{hg resolve -m letter.txt} |
433
83790457e85b
modifications to generate the examples for the book
jerojasro@localhost
parents:
401
diff
changeset
|
7 hg: unknown command 'resolve' |
83790457e85b
modifications to generate the examples for the book
jerojasro@localhost
parents:
401
diff
changeset
|
8 Mercurial Distributed SCM |
83790457e85b
modifications to generate the examples for the book
jerojasro@localhost
parents:
401
diff
changeset
|
9 |
83790457e85b
modifications to generate the examples for the book
jerojasro@localhost
parents:
401
diff
changeset
|
10 basic commands: |
83790457e85b
modifications to generate the examples for the book
jerojasro@localhost
parents:
401
diff
changeset
|
11 |
83790457e85b
modifications to generate the examples for the book
jerojasro@localhost
parents:
401
diff
changeset
|
12 add add the specified files on the next commit |
83790457e85b
modifications to generate the examples for the book
jerojasro@localhost
parents:
401
diff
changeset
|
13 annotate show changeset information per file line |
83790457e85b
modifications to generate the examples for the book
jerojasro@localhost
parents:
401
diff
changeset
|
14 clone make a copy of an existing repository |
83790457e85b
modifications to generate the examples for the book
jerojasro@localhost
parents:
401
diff
changeset
|
15 commit commit the specified files or all outstanding changes |
83790457e85b
modifications to generate the examples for the book
jerojasro@localhost
parents:
401
diff
changeset
|
16 diff diff repository (or selected files) |
83790457e85b
modifications to generate the examples for the book
jerojasro@localhost
parents:
401
diff
changeset
|
17 export dump the header and diffs for one or more changesets |
83790457e85b
modifications to generate the examples for the book
jerojasro@localhost
parents:
401
diff
changeset
|
18 init create a new repository in the given directory |
83790457e85b
modifications to generate the examples for the book
jerojasro@localhost
parents:
401
diff
changeset
|
19 log show revision history of entire repository or files |
83790457e85b
modifications to generate the examples for the book
jerojasro@localhost
parents:
401
diff
changeset
|
20 merge merge working directory with another revision |
83790457e85b
modifications to generate the examples for the book
jerojasro@localhost
parents:
401
diff
changeset
|
21 parents show the parents of the working dir or revision |
83790457e85b
modifications to generate the examples for the book
jerojasro@localhost
parents:
401
diff
changeset
|
22 pull pull changes from the specified source |
83790457e85b
modifications to generate the examples for the book
jerojasro@localhost
parents:
401
diff
changeset
|
23 push push changes to the specified destination |
83790457e85b
modifications to generate the examples for the book
jerojasro@localhost
parents:
401
diff
changeset
|
24 remove remove the specified files on the next commit |
83790457e85b
modifications to generate the examples for the book
jerojasro@localhost
parents:
401
diff
changeset
|
25 serve export the repository via HTTP |
83790457e85b
modifications to generate the examples for the book
jerojasro@localhost
parents:
401
diff
changeset
|
26 status show changed files in the working directory |
83790457e85b
modifications to generate the examples for the book
jerojasro@localhost
parents:
401
diff
changeset
|
27 update update working directory |
83790457e85b
modifications to generate the examples for the book
jerojasro@localhost
parents:
401
diff
changeset
|
28 |
83790457e85b
modifications to generate the examples for the book
jerojasro@localhost
parents:
401
diff
changeset
|
29 use "hg help" for the full list of commands or "hg -v" for details |
144
006bbad1f190
Add expected output files.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
30 $ \textbf{hg commit -m 'Send me your money'} |
006bbad1f190
Add expected output files.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
31 $ \textbf{hg tip} |
006bbad1f190
Add expected output files.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
32 changeset: |
006bbad1f190
Add expected output files.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
33 tag: tip |
006bbad1f190
Add expected output files.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
34 parent: |
006bbad1f190
Add expected output files.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
35 parent: |
006bbad1f190
Add expected output files.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
36 user: Bryan O'Sullivan <bos@serpentine.com> |
006bbad1f190
Add expected output files.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
37 |
006bbad1f190
Add expected output files.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
38 summary: Send me your money |
006bbad1f190
Add expected output files.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff
changeset
|
39 |