Can we separate authors with ; instead of \n please?

James Westby jw+debian at jameswestby.net
Sat Mar 7 20:50:05 GMT 2009


On Fri, 2009-03-06 at 10:38 +1030, ian.clatworthy at internode.on.net
wrote:
> jml, lifeless and I were talking about a search language yesterday
> so users can doing something like ...
> 
>   bzr log -s committer=me:
> 
> With this in mind, I'm wondering whether it would make searching
> authors easier if they were separated by ; instead of a newline
> internally.
> 
> Assuming multiple search terms are or'ed together, I'd like to search
> for revisions where X and Y paired using ...
> 
>   bzr log -s authors=X;Y -s authors=Y;X
> 
> If we keep the newlines, it would probably look something more like ...
> 
>   bzr log -s "authors contains X" -s "authors contains Y" --match-all-searches
> 
> Anyhow, if we're going to change this, let's do it before 1.13RC ships,
> i.e. TODAY!
> 
> Thoughts?

I wouldn't mind it changing, but bear in mind that you have to disallow 
the separator from appearing in any of the authors, and I figured that
"\n" would be much more unlikely from being in someone's name than ";".

I would also second Andrew's comments, I'm not sure why the internal
storage would affect the UI, I don't have to specify XPATH expressions
to navigate an inventory. It seems like it wouldn't be a matter of
efficiency either.

Thanks,

James




More information about the bazaar mailing list