Create a new branch from a newly imported svn repository ?
Baptiste Lepilleur
blep at users.sourceforge.net
Tue Dec 9 23:46:24 GMT 2008
*New user alert*
I imported a subversion repository using "bzr fast-import -" into a shared repository. I now have a branch with all the latest revision of each files:
E:\prg\vc\Lib\experiment-bzr\trunk>bzr info
Repository tree (format: pack-0.92)
Location:
shared repository: E:/prg/vc/Lib/experiment-bzr
repository branch: .
I finally figured out (after a lot of try) that to create a new branch I needed to run the following command to create a new branch with the imported source:
cd ..
bzr init mybranch
cd mybranch
bzr pull ../trunk
Now, how would have I done it if I no longer had the trunk directory branch ? It seems the data were in the shared repository.
Notes: it would be nice if the svn import guide would provide the three lines above, it really took me a while to figure them out. I expected to be able to checkout the "trunk" as usual with svn, but that probably not applicable to bzr.
Baptiste.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20081210/c69624d5/attachment.htm
More information about the bazaar
mailing list