Simplified Tutorial

Robert Collins robertc at robertcollins.net
Mon May 8 02:50:07 BST 2006


On Sun, 2006-05-07 at 13:03 +0200, Erik Bågfors wrote:
> > >> - If /path/to/repo exists and has files already, shouldn't we use "bzr
> > >> init" followed  by "bzr add"?
> > >
> > > Nope. /path/to/repo is just a shared repository, not a branch. A
> > > repository cannot contain any files (only revisions and branches). The
> > > branches in the repository does not have working trees, so a checkout
> > > has to happen to add files to it.  Same as in svn I think... at least
> > > that's how I've always worked with svn.
> > >
> > > /Erik
> >
> > Are you trying to be simplified or complete with your statement? If you
> > are trying to be simplified, you are close enough. But if you do:
> 
> Simplified, The answer was about what should be included in the document.
> 
> > bzr init-repo --trees /path/to/repo
> 
> Yeah, well, branches in repositories with working trees, that can be
> very confusing for SVN/CVS users, I think it should be excluded out of
> a document like this.

interestingly though, RCS users will find it intuitive and obvious :)

Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060508/ef0ef6ef/attachment.pgp 


More information about the bazaar mailing list