Dotted revisions numbers and range of revisions
Andrew Nguyen
avnguyen at alumni.ucsd.edu
Thu Nov 2 15:47:03 GMT 2006
I don't know if this has been mentioned but what about using a ':'?
bzr diff -r 1.2.1:1.2.3
Just a thought.
Andrew Nguyen
avnguyen at alumni.ucsd.edu
----------All messages are signed with GnuPG----------
gpg --keyserver subkeys.pgp.net --recv-keys 0x1150736B
Alexander Belchenko wrote:
> Martin Pool пишет:
>> On 2 Nov 2006, Alexander Belchenko <bialix at ukr.net> wrote:
>>> Matthew D. Fuller ??????????:
>>>> On Mon, Oct 30, 2006 at 12:15:30PM -0600 I heard the voice of
>>>> John Arbash Meinel, and lo! it spake thus:
>>>>> * revisions can now be specified using dotted-decimal revision
>>>>> numbers. For instance, ``bzr diff -r 1.2.1..1.2.3. (Robert
>>>>> Collins)
>>> After looking at command line above I wonder if bzr could support more
>>> readable revisions range specifier, like this:
>>>
>>> bzr diff -r 1.2.1 .. 1.2.3
>>> ^ ^
>>> spaces here?
>>>
>>> Because when it written together without spaces it's hard to read and
>>> understand when one dotted number ends and other starts.
>>
>> I agree it's hard to read.
>>
>> That specific syntax is problematic though because '..' also looks like
>> a directory name, and one might reasonably write.
>>
>> bzr diff -r 13123 ..
>>
>> Perhaps we should allow
>>
>> bzr diff -r 1.2.1 -r 1.2.3
>
> It seems that other VCS allows this syntax. At least SVN does.
> I think bzr also could.
>
> --
> Alexander
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061102/449a1435/attachment.pgp
More information about the bazaar
mailing list