[BUG] 0.0.7 can't add DIRECTORY/file.txt directly

Aaron Bentley aaron.bentley at utoronto.ca
Wed Sep 21 16:15:06 BST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jari Aalto wrote:
> case 1)
> 
>      bzr add DIR/foo.README 
>      bzr: ERROR: [u'DIR']
>      at /usr/src/build/build/bazaar-ng/bzr-0.0.7/.inst/usr/share/lib/python2.4/site-packages/bzrlib/inventory.py line 456, in add_path()
>      see ~/.bzr.log for debug information
>      ....
>      NotVersionedError: [u'DIR']
> 
> case 2)
> 
>     bzr add DIR/
>     added DIR
>     added DIR/setup.hint
>     added DIR/foo.README
> 
> Please examine. I believe it should be possible be able to add single
> file under some particular directory?

Sure.  As Michael Ellerman noted, case 1 now works.  Case two always
worked, but you need to do 'bzr add --no-recurse DIR; bzr add
DIR/foo.README'.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDMXj60F+nu1YWqI0RAuD8AJ9aZ68KP1bvLKoZz1pDAOY5lkVBQACdHHkB
ovQfcCfXPLR226QXkjxz298=
=HChD
-----END PGP SIGNATURE-----




More information about the bazaar mailing list