Dotted revisions numbers and range of revisions

Alexander Belchenko bialix at ukr.net
Thu Nov 2 11:51:00 GMT 2006


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





More information about the bazaar mailing list