Bundle and rev
Yuya Nishihara
yuya at tcha.org
Fri Mar 3 15:19:50 UTC 2017
On Mon, 27 Feb 2017 14:02:43 +0000, Lars wrote:
> The below command produces the output to 'searching for changes. no changes found'
>
> hg bundle --rev 1:100 file.hg
>
> In what scenario does using only 'hg bundle --rev XXX' make any sense
> (without all and base)?
--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
> How is --rev option suppose to work together with --all option? The two
> opions might be asking for conflicting things. I suppose the same question
> could be asked for combining --base and --rev.
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.
More information about the Mercurial
mailing list