Newbie question: Why did bzr add miss a directory?

John Arbash Meinel john at arbash-meinel.com
Thu Sep 4 23:50:26 BST 2008


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

John Carter wrote:
> I'm new to bzr (used rcs/sccs/cvs/svn previously) so be gentle on
> me... (tell me which part of The Fine Manual I should have read more
> closely :)
> 
> So I did the quick start thingie...
> 
> cd ~/grand
> bzr init
> bzr add
> bzr commit -m 'New stuff'
> 
> But "bzr status" lists one of my directories as unknown...
> 
> bzr status
> unknown:
>   protocols/
> 
> ls -a
> .  ..  .bzr  help  protocols  scheme  stubs  xdr_parser
> 
> Any idea why?
> 

I can't reproduce that here. Are you sure you didn't add the 'protocols'
directory *after* you did your add and commit?

> 
> bzr --version
> Bazaar (bzr) 1.6
>   Python interpreter: /usr/bin/python 2.5.2
>   Python standard library: /usr/lib/python2.5
>   bzrlib: /usr/lib/python2.5/site-packages/bzrlib
>   Bazaar configuration: /home/johnc/.bazaar
>   Bazaar log file: /home/johnc/.bzr.log
> 
> bzr info
> Standalone tree (format: pack-0.92)
> Location:
>   branch root: .
> 
> Ah... thats a question too, the point about v1.6 seems to a repository
> format that supports stacking and rich root data, yet the default
> seems to be the older format. Should I override the default?
> 
> Running on Ubuntu 8.0.4.1

You can override the default if you want to (either with bzr init --1.6,
or bzr upgrade --1.6 after the fact.)

We don't set it as the default format, because versions of bzr <1.6
won't be able to access branches in that format. (While the default
format is supported from all clients from 0.92 to now.) At a minimum, we
like to wait at least 1 release before upgrading a format from
*existing* to making it the default. For the --1.6 format, we won't make
it default in bzr-1.7, we might in 1.8, but I would expect us to wait
for more changes (we have several in the pipeline) so that the next
default format is a bigger jump.

John
=:->


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjAZjIACgkQJdeBCYSNAANG6QCgzPIsv0N12EeMcq8zn5y4brp7
iqUAoIcnfDuNGwVNwS6ghGh34Uj55rEL
=I5Op
-----END PGP SIGNATURE-----



More information about the bazaar mailing list