post 0.8 development

Robert Widhopf-Fenk hack at robf.de
Wed May 10 00:20:00 BST 2006


On Monday, May 8, 2006 at 14:46:59, John A Meinel wrote:
[...]
> > with a bit of shell magic as:
> >   bzr diff http://path/to/branch;revno={1,2}
> 
> Except the shell would interpret that as:
> bzr diff http://path/to/branch
> revno=1 revno=2
> 
> Which would do something *very* different. (One of the reasons we
> were discussing using something other than ';' as the parameter
> specifier.  ',' is the alternative, but it might be too common in a
> filename)

"," is so easy to type on any keyboard and not a wildchar in
any shell I know and it is illegal in DOS/Windows. 

It does not matter if it is common in file names, it only
must not exist in a branch name and IMHO this restrictions
would not harm anyone?

With the same syntax as for -r, e.g.

 bzr diff http://path/to/branch,1..2
 bzr diff .,1 http://path/to/branch,2
 bzr diff http://path/to/branch,2
 ...
 
Are there any branches around with a "," in the branch
(directory) name?  I did not find any public ones.

SVN uses "@", so using it would not cause headache to
assimilated svn users.

Robert




More information about the bazaar mailing list