output of bzr add in 1.12? hmmm

Ben Finney bignose+hates-spam at benfinney.id.au
Thu Feb 19 04:55:15 GMT 2009


"Michael B. Trausch" <mike at trausch.us> writes:

> On Thu, 19 Feb 2009 14:05:45 +1100
> Ben Finney <bignose+hates-spam at benfinney.id.au> wrote:
> 
> > I agree with the sentiment, and that it would be good for such
> > messages to be consistent.
> > 
> > The form “added N file(s)” is ugly to me, though. If these messages
> > are to be changed anyway, I would suggest:
> > 
> >     files ignored: N
> > 
> >     files added: N
> > 
> > which reads fine for any natural-number N:
> > 
> >     files added: 0
> >     files added: 1
> >     files added: 2
> 
> Could just solve that problem the way COMMAND.COM's "DIR" builtin
> finally solved in in DOS 5 or 6 and only print the plural if N != 1...

That makes for a message that can't be easily templated for
internationalisation. Best to have a message that is always exactly
the same except for the actual variable data (in this case, the count
of files).

-- 
 \      “The opposite of a correct statement is a false statement. But |
  `\     the opposite of a profound truth may well be another profound |
_o__)                                              truth.” —Niels Bohr |
Ben Finney




More information about the bazaar mailing list