'bzr add --verbose' quietly ignores subdirs with their own .bzr

Bug #187342 reported by James Troup
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
Jelmer Vernooij

Bug Description

If you have a bzr tree within a bzr tree, 'bzr add' from top level of
the outermost tree will silently ignore the innermost tree. Even 'bzr
add --verbose' won't give any indication why the directory is being
ignored. If you're not the person who created this setup, it can be
very confusing.

$ mkdir foo; touch foo/{bar,baz}; cd foo
$ bzr init; bzr add; bzr commit -m "lol"
added bar
added baz
Committing to: /home/james/scratch/foo/
added bar
added baz
Committed revision 1.
$ mkdir lala; cd lala; touch what ever
$ bzr init; bzr add; bzr commit -m "olo"
added ever
added what
Committing to: /home/james/scratch/foo/lala/
added ever
added what
Committed revision 1.
$ cd ..
$ bzr st
unknown:
  lala
$ bzr add
$ bzr st
unknown:
  lala
$ bzr add --verbose
$ bzr st
unknown:
  lala
$

Related branches

John A Meinel (jameinel)
Changed in bzr:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
neoneye (neoneye) wrote :

This also happens for dirs that contians a ".svn" dir, see
http://stackoverflow.com/questions/2113112/bzr-add-but-dirs-remain-unknown/

Solution for me was to remove the .svn dirs and then the dirs could be bzr added.

I'm on Bazaar 2.0.3

Jelmer Vernooij (jelmer)
tags: added: add confusing-ui
tags: added: nested-trees
Jelmer Vernooij (jelmer)
Changed in bzr:
assignee: nobody → Jelmer Vernooij (jelmer)
status: Confirmed → In Progress
Vincent Ladeuil (vila)
Changed in bzr:
status: In Progress → Fix Released
milestone: none → 2.5b1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.