SV: Bundle and rev

Lars laasunde at hotmail.com
Tue Mar 7 11:02:28 UTC 2017


Thanks for your response.

> --rev can be used to limit the head revisions to be included in the bundle
> file. For example, if the destination repo has changes up to rev.1 and you
> do "hg bundle --rev 2", only rev.2 will be included in the bundle.

>   -- 1 -- 2
>       \
>        - 3

Running the command "hg bundle --rev 2 file.hg" in a few repositories all produce the error message "searching for changes. no changs found". In our setup this command does not appear to work as you describe. Any thoughts?

> If --all specified, hg assumes the destination repo has no revision, so
> "hg bundle --rev 2 --all" will include rev.1 and 2. --base specifies the
> revisions which can be excluded from the bundle file.

In other words using the --all switch will negate the --rev switch?

Kind regards, Lars
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20170307/906902ab/attachment.html>


More information about the Mercurial mailing list