plans for 0.0.6 release
Erik Bågfors
zindar at gmail.com
Sat Jun 4 13:11:52 BST 2005
My take on this, since everyone else has said so much about it.
: is good because it's used in svn and cvs so people will know it. It
also represents ranges in python if I don't remember wrong. On the
other hand, it's also VERY nice to use it to do revid:id etc. When I
think about colon I see it used for that more. Like a label
"label:value". Because of this, I don't think : is good in the long
run. But it's not that bad.
"-r 5 to 15" like someone sugested is not good. It's not working the
same way as any other program. I expect the -r option to take one
argument, not one OR three. Very strange. It also give you problems
where "-r 5 6 to" and "-r 5 to 6" get's very different meaning, hard
to understand.
-r5-15 can be read as "5 to 15", or "5 minus 15" or "-r5 -15". It's
not a good choise. Besides, I love to be able to do "-r-5" to get the
last five revisions
"-r5 -r15", using -r twice. I've just never liked to use the same
options twice. But there are other program that does this. It's clear
what it does but it looks ugly. You can also do "-r-2 -r-1" to get
the changed between the second to last and the last revision.
"-r5..15". that ".." represent a range is very clear in my mind. This
could be because of perl and ruby that both uses them for it. You can
also do "-r-2..-1" which is pretty clear. This is a clear choise for
me.
I also think that "-rrevid:id..revid:id" looks very clean.
On the other hand, I'm not very found of "bzr cat foo at 5" I prefer "bzr
cat -r5 foo". But that's not what this discussion is about!
Cheers,
Erik
More information about the bazaar
mailing list