Show More
@@ -806,20 +806,19 b' def branches(ui, repo):' | |||||
806 | def bundle(ui, repo, fname, dest=None, **opts): |
|
806 | def bundle(ui, repo, fname, dest=None, **opts): | |
807 | """create a changegroup file |
|
807 | """create a changegroup file | |
808 |
|
808 | |||
809 |
Generate a compressed changegroup file collecting changesets |
|
809 | Generate a compressed changegroup file collecting changesets not | |
810 |
|
|
810 | found in the other repository. | |
811 |
|
811 | |||
812 | If no destination repository is specified the destination is |
|
812 | If no destination repository is specified the destination is assumed | |
813 |
|
|
813 | to have all the nodes specified by one or more --base parameters. | |
814 |
|
814 | |||
815 |
Th |
|
815 | The bundle file can then be transferred using conventional means and | |
816 |
applied to another repository with the unbundle command. |
|
816 | applied to another repository with the unbundle or pull command. | |
817 |
useful when |
|
817 | This is useful when direct push and pull are not available or when | |
818 |
exporting an entire repository is undesirable. |
|
818 | exporting an entire repository is undesirable. | |
819 | extension is ".hg". |
|
819 | ||
820 |
|
820 | Applying bundles preserves all changeset contents including | ||
821 | Unlike import/export, this exactly preserves all changeset |
|
821 | permissions, copy/rename information, and revision history. | |
822 | contents including permissions, rename data, and revision history. |
|
|||
823 | """ |
|
822 | """ | |
824 | revs = opts.get('rev') or None |
|
823 | revs = opts.get('rev') or None | |
825 | if revs: |
|
824 | if revs: |
General Comments 0
You need to be logged in to leave comments.
Login now