'bzr add' silently refuses to add nested/child trees
Bug #368988 reported by
Cody A.W. Somerville
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
I copied in a directory into my branch and couldn't figure out why 'bzr add' wouldn't work until I checked ~/.bzr.log which said it was ignoring the directory because it was a nested/child tree (or something to that effect). After removing the .bzr directory from the subdirectory I was trying to add, 'bzr add' worked as expected.
bzr should say why its ignoring the directory instead of doing so silently.
tags: | added: check-for-breezy |
To post a comment you must log in.
Here is the relevant part from .bzr.log for reference:
Tue 2009-04-28 22:53:29 -0300 somerville/ .bazaar/ plugins python2. 6/dist- packages/ bzrlib/ plugins cody-somerville /Projects/ canonical/ lexbuilders/ project- config' cody-somerville /Projects/ canonical/ lexbuilders/ project- config/ jauntyunr' is a nested bzr tree
0.284 bzr arguments: [u'add']
0.375 looking for plugins in /home/cody-
0.376 looking for plugins in /usr/lib/
0.979 encoding stdout as sys.stdout encoding 'UTF-8'
1.341 opening working tree '/home/
1.424 skip control directory '.bzr'
1.605 '/home/
1.686 return code 0
And when I specified the name of the subdirectory to bzr:
Tue 2009-04-28 22:53:38 -0300 somerville/ .bazaar/ plugins python2. 6/dist- packages/ bzrlib/ plugins cody-somerville /Projects/ canonical/ lexbuilders/ project- config/ jauntyunr'
0.096 bzr arguments: [u'add', u'jauntyunr/']
0.162 looking for plugins in /home/cody-
0.162 looking for plugins in /usr/lib/
0.409 encoding stdout as sys.stdout encoding 'UTF-8'
0.616 opening working tree '/home/
0.661 skip control directory '.bzr'
0.716 return code 0
In the second case, it appears bzr is actually working *in* the nested tree.