question on bzr-svn workflow possibilities

Jelmer Vernooij jelmer at ubuntu.com
Wed Dec 19 10:47:48 GMT 2007


Hi Jerome,

Am Mittwoch, den 19.12.2007, 09:08 +0000 schrieb Jerome Rousselot:
> I am currently working on a software development project using a remote svn
> repository.
> 
> I would like to use bzr to keep track of my work, and regularly commit some of
> my work to the remote svn repository. I also need to update my local tree with
> updates from the remote svn repository.
> 
> Optionally, I might also need to commit all of my work to another svn 
> repository.
> 
> Is it possible to use bzr-svn so that I can work with only one tree on 
> my computer ?
> What would be the best way to do that ? Unfortunately, I was not able 
> to find an answer on bzr web site.

> To make things more explicit:
> 
> svn checkout from remote repository
> edit file1, file2, file3 from the checkout, create new files
> bzr commit  file1 file2 file3 to local bzr history
> svn commit file1 file2  to remote svn repository
> 
> and optionally: svn commit file1 file2 file3 to another svn repository

yes, this should be possible. The commands would be:

$ bzr branch <svn-url>
$ edit <files>
$ bzr commit -m "foo" # commit to bzr branch
$ bzr push <svn-url> # push changes to original svn url

$ bzr svn-push <other-repo-url> # Push changes to other svn repository.
# This location can't exist yet when you push to it for the first time.

Cheers,

Jelmer



More information about the bazaar mailing list