bzr add: add more verbose message

Martin Pool mbp at canonical.com
Wed Sep 27 03:35:32 BST 2006


On 27 Sep 2006, Robert Collins <robertc at robertcollins.net> wrote:
> On Wed, 2006-09-20 at 10:17 -0500, John Arbash Meinel wrote:
> > jari wrote:
> > > When adding a large directory with ignore patters, the message looks
> > > like:
> > > 
> > >         ...
> > >         ignored 70 file(s).
> > >         If you wish to add some of these files, please add them by name.
> > > 
> > > One may wonder what files were ignored, so perhaps the message could also
> > > instruct:
> > > 
> > >         ...
> > >         ignored 70 file(s). To see those, use command: bzr ignored.
> > >                            ========================================
> > >         If you wish to add some of these files, please add them by name.
> > > 
> > > Jari
> > 
> > Seems reasonable to me. Anyone else have a feeling about it?
> 
> +0.5
> 
> I think its an improvement. What might be nicer still is 
> 
>     ignored 70 file(s). To see those, use 'bzr latest-adds'
> 
> where latest-adds would be a hidden command.
> 
> Just a thought.

Jari's improvement sounds worthwhile.  The case should change to
'Ignored %d files.'

I'm not sure what 'latest-adds' would do.  Is it substantially different
to 'bzr st' or 'bzr ls --added'.

A more general question of 'what did i just do' might be best handled by
(as in Matthieu's recent thread) moving .bzr.log back to a record of
user-level actions and consequences.

-- 
Martin




More information about the bazaar mailing list