[PATCH] more informative error for bzr add (when parent is unversioned)

David Clymer david at hrcsb.org
Mon Sep 12 00:30:08 BST 2005


On Sat, 2005-09-10 at 15:47 -0400, John A Meinel wrote:

> >
> >>Secondly, this is something we would not want to regress - so if you
> >>could do a blackbox test to ensure that the ui shows the sane error,
> >>that would help immensely.
> >
> 
> Well, except for the fact that someone else is working on automatically
> adding parent directories. Or is this handling the case where there is
> *no* parent directories that are versioned? (In which case how did you
> get an inventory object?
> 

No, this is just the immediate parent. All I'm doing is handling the
NotVersionedError thrown by smart_add's inventory object. When someone
else finishes the automatic addition of parent dirs, my patch will just
be obsolete. However, while we wait, we'll have a descriptive error
message (or I will anyway ;o).

-davidc





More information about the bazaar mailing list