Is there anyway to flip the revision logic of bundle?

Martin Geisler mg at lazybytes.net
Wed Jun 16 19:27:43 UTC 2010


Harvey Chapman <hchapman-hg at 3gfp.com> writes:

> On Jun 16, 2010, at 12:48 PM, Martin Geisler wrote:
>
>> Harvey Chapman <hchapman-hg at 3gfp.com> writes:
>> 
>>> Thinking more on this, is there a reason why mercurial doesn't seem to
>>> support rev1:rev2 style ranges? (Well, in more places than it does
>>> now) Is it just because of scope and time available?
>> 
>> As far as I know, it supports revision ranges whenever you can
>> specify more than one revision. Which command are you thinking of?
>
> Well, I started the thread talking about bundle. I wanted to be able
> to say "bundle -r N:tip" or just "-r N+" which would mean bundle
> everything newer than and including rev N.

Aha... In the case of bundle, I think 'hg bundle --base N' does what
your 'hg bundle -r N+' would do. I don't use bundle myself, but I can
see why -r X::Y (with the new revset syntax for a topological range) may
be nicer than --base X --rev Y.

> I think there are other commands that I've used where I tried to use
> rev:rev and it didn't work. I'll watch for them and update this thread
> with a summary in a week or two.

That would be very nice, thanks!

-- 
Martin Geisler

Mercurial links: http://mercurial.ch/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20100616/c8910b54/attachment.asc>


More information about the Mercurial mailing list