[MERGE][Bug #115990] status should handle the -q (quiet) option like svn
Martin Pool
mbp at sourcefrog.net
Wed Aug 1 00:15:09 BST 2007
On 7/31/07, John Arbash Meinel <john at arbash-meinel.com> wrote:
> Daniel Watkins wrote:
> > Alexander Belchenko wrote:
> >> Comment:
> >> IIRC, instead of self.run_bzr("init") our recommended way is to use
> >> something like
> >>
> >> wt = self.make_branch_and_tree('.')
> > Ah, yeah. I just copy/pasted one of the tests nearby and then tweaked
> > the assertions.
> >
> > Attached is the updated bundle.
>
> Having thought about it for a bit, this doesn't seem like what '--quiet' should
> do to me.
>
> I'm willing to accept it, because it comes from svn, but '--quiet' seems like
> it really should emit 0 output, and just have a return value of 0 if nothing
> has changed, or 1 if something has.
I strongly agree with John that --quiet should just do the test and return a
varying status code. I don't think consistency with svn is a good enough
reason to accept it; being an easy transition from svn is important but
not the only thing.
It's probably a bug that --quiet is specially handled rather than being
just a common option like --verbose. We should just move that separately.
I would rather add short names for --versioned and --short, and teach
people to do 'bzr st -SV' or something similar.
--
Martin
More information about the bazaar
mailing list