Push to both a bzr and a SVN

Forest Bond forest at alittletooquiet.net
Thu Jul 17 15:18:21 BST 2008


Hi,

On Thu, Jul 17, 2008 at 04:08:42PM +0200, Erik Bågfors wrote:
> cd $SVNPATH
> cp -r $BZRPATH/.bzr .
> svn co -r 1
> bzr ci -m 'whatever message revision 1 had'
> svn co -r 2
> bzr ci -m 'whatever message revision 2 had'
> 
> etc.
> 
> Once you have done that you should have a nice bzr branch with all svn commits.

Using the bzr-svn and bzr-rebase plugins, you should be able to achieve this
with a single `bzr replay' command.

  cd original_bzr_branch
  bzr replay -r svn:1.. svn+http://svn/repo/trunk

Or something.  Can somebody audit this for me?

(Note that there is no svn checkout involved here; the approach is totally
different from the one above, but with the same result).

Thanks,
Forest
-- 
Forest Bond
http://www.alittletooquiet.net
http://www.pytagsfs.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080717/7d632152/attachment.pgp 


More information about the bazaar mailing list