independant svn tree into a bzr splitted branch
Jelmer Vernooij
jelmer at samba.org
Wed Mar 16 00:39:11 UTC 2011
Hi,
On Tue, 2011-03-15 at 17:52 +0100, Parisson wrote:
> I'm now switching my main project from svn to bzr.
> Bzr is great, so smooth !
>
> I want to manage a independant library project (timeside) hosted on a
> svn repo into a main bzr branch (telemeta).
> Since the timeside repo is up to date, this is what I've done :
>
> $ cd telemeta-unstable
> $ bzr split telemeta/htdocs/timeside
I think you have to commit the split first before the tree is actually
split.
> $ cd telemeta/htdocs/timeside
> $ bzr bind https://timeside.googlecode.com/svn/trunk/timeside/ui
> $ bzr checkout
> bzr: ERROR: File exists:
> u'/home/dev/telemeta/telemeta-tmp/telemeta/htdocs/timeside/.bzr': [Errno
> 17] Le fichier existe:
> '/home/dev/telemeta/telemeta-tmp/telemeta/htdocs/timeside/.bzr'
>
> So I try to commit :
>
> $ bzr commit
> bzr: ERROR: Bound branch
> BzrBranch7('file:///home/dev/telemeta/telemeta-tmp/telemeta/htdocs/timeside/')
> is out of date with master branch
> SvnBranch('https://timeside.googlecode.com/svn/trunk/timeside/ui').
> To commit to master branch, run update and then commit.
>
> So I update :
>
> $ bzr update
>
> But all the main project is then checked out into the timeside
> directory... :(
Alternatively, is there any reason you don't check out the subpath in
the first place? bzr-svn should support that as well
(e.g. "bzr checkout
https://timeside.googlecode.com/svn/trunk/timeside/ui")
Cheers,
Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20110316/46c5ac21/attachment.pgp>
More information about the bazaar
mailing list