export/log, bundle (Documentation)
Patrick Mézard
pmezard at gmail.com
Sat Feb 6 00:53:18 CST 2010
Le 05/02/10 22:19, Alexander Schatten a écrit :
> I am just trying to understand the details of patches for cooperation without server repository. Now there are some small issues that I did not completly understood reading the docs:
>
> (1) what is the difference between hg export and hg log --patch?
hg log --patch can output the same information than export, but the latter is designed to export revisions and has the following properties:
- log can display the branch name, parent nodeid, current nodeid, date, etc... But export serialize them in a way usable by the import command
- export let you dispatch multiple revisions in multiple files. This is currently necessary since import won't handle multiple patches in a single file in a satisfying manner.
> (2) There is apparently no option to generate a diff over multipe versions? something like (or is there?):
>
> hg export 10-15
hg export 10:15
Again you want to user the --output option when using this.
--
Patrick Mézard
More information about the Mercurial
mailing list