Bundle and rev

Lars laasunde at hotmail.com
Mon Feb 27 14:02:43 UTC 2017


Hello,


Trying to use hg bundle and the --rev option. Obviously read the documentation but still have un-answered questions.


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)?


The below commands produces the output to '101 changesets found'. Both commands produce the same identical binary file.

hg bundle -a -r 1:100 file_a.hg

hg bundle -a -r 50:100 file_b.hg


Performing some additional checks it appears changing the first part of rev (1 and 50 in example) does not affect the bundle file but changing the second part does affect the bundle file.


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.


Using Windows 7 and Hg version 3.8.4


Appreciate some input [😊]


kind regards, Lars
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20170227/de684671/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OutlookEmoji-😊.png
Type: image/png
Size: 488 bytes
Desc: OutlookEmoji-😊.png
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20170227/de684671/attachment.png>


More information about the Mercurial mailing list