Mercurial > hg > mercurial-crew-with-dirclash
comparison doc/hg.1.txt @ 1218:cde6818e082a
Add preliminary support for the bundle and unbundle commands
author | mpm@selenic.com |
---|---|
date | Thu, 08 Sep 2005 01:27:25 -0700 |
parents | 1639fc7c2ccf |
children | 7a70dafbf4b9 |
comparison
equal
deleted
inserted
replaced
1217:f1895785c79e | 1218:cde6818e082a |
---|---|
103 -X, --exclude <pat> exclude names matching the given patterns | 103 -X, --exclude <pat> exclude names matching the given patterns |
104 -r, --revision <rev> annotate the specified revision | 104 -r, --revision <rev> annotate the specified revision |
105 -u, --user list the author | 105 -u, --user list the author |
106 -c, --changeset list the changeset | 106 -c, --changeset list the changeset |
107 -n, --number list the revision number (default) | 107 -n, --number list the revision number (default) |
108 | |
109 bundle <file> <other>:: | |
110 (EXPERIMENTAL) | |
111 | |
112 Generate a compressed changegroup file collecting all changesets | |
113 not found in the other repository. | |
114 | |
115 This file can then be transferred using conventional means and | |
116 applied to another repository with the unbundle command. This is | |
117 useful when native push and pull are not available or when | |
118 exporting an entire repository is undesirable. The standard file | |
119 extension is ".hg". | |
120 | |
121 Unlike import/export, this exactly preserves all changeset | |
122 contents including permissions, rename data, and revision history. | |
108 | 123 |
109 cat <file> [revision]:: | 124 cat <file> [revision]:: |
110 Output to stdout the given revision for the specified file. | 125 Output to stdout the given revision for the specified file. |
111 | 126 |
112 If no revision is given then the tip is used. | 127 If no revision is given then the tip is used. |
510 This lists both regular and local tags. | 525 This lists both regular and local tags. |
511 | 526 |
512 tip:: | 527 tip:: |
513 Show the tip revision. | 528 Show the tip revision. |
514 | 529 |
530 unbundle <file>:: | |
531 (EXPERIMENTAL) | |
532 | |
533 Apply a compressed changegroup file generated by the bundle | |
534 command. | |
535 | |
515 undo:: | 536 undo:: |
516 Undo the last commit or pull transaction. | 537 Undo the last commit or pull transaction. |
517 | 538 |
518 Roll back the last pull or commit transaction on the | 539 Roll back the last pull or commit transaction on the |
519 repository, restoring the project to its earlier state. | 540 repository, restoring the project to its earlier state. |