[PATCH] more informative error for bzr add (when parent is unversioned)
Robert Collins
robertc at robertcollins.net
Sat Sep 17 10:31:57 BST 2005
On Sat, 2005-09-17 at 14:08 +1000, Michael Ellerman wrote:
> On Fri, 16 Sep 2005 22:32, Robert Collins wrote:
> > I do wonder what happens if you cd to / and bzr add usr/bin though.
>
> concordia ~$ cd /
> concordia /$ bzr add usr/bin
> bzr: ERROR: /usr/bin is not in a branch
> at /home/michael/src/bzr/mine/bzrlib/branch.py line 131, in
> find_branch_root()
> see ~/.bzr.log for debug information
>
> But that's not quite you meant is it? :D
Actually, its *exactly* what I meant :). Its an add of a file or dir in
an unversioned parent :). And it gets a sucky error message.
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050917/6949af0f/attachment-0003.pgp
More information about the bazaar
mailing list