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

Michael Ellerman michael at ellerman.id.au
Sat Sep 17 05:08:58 BST 2005


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

concordia /$ bzr init
concordia /$ bzr add usr/bin
added usr
added usr/bin
added usr/bin/bashbug
added usr/bin/script
added usr/bin/logger
added usr/bin/renice
added usr/bin/wall
added usr/bin/scriptreplay
added "usr/bin/["

...

cheers

-- 
Michael Ellerman
IBM OzLabs

email: michael:ellerman.id.au
inmsg: mpe:jabber.org
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050917/45ff2fe3/attachment.pgp 


More information about the bazaar mailing list