How to work with external sources
Erik Bågfors
zindar at gmail.com
Mon Dec 12 13:55:37 GMT 2005
2005/12/12, Noam Raphael <noamraph at gmail.com>:
> Hello,
>
> I now downloaded bazaar-ng. I want to use it to track changes I make
> to an external project, which is not using bazaar-ng (it uses svn).
>
> I haven't found instructions in the wiki on how to do this. It seems
> to me that it should include some sort of equivalent to svn_load_dirs.
> Can you give me a hint on this?
>
Depends on how you want to do it. This is how I normally do it.
svn co url path
cd path
bzr init
bzr add
bzr ci -m 'initial import'
<hack hack hack hack>
<commit>
<hack hack hack hack>
<commit>
svn update (this will merge everything, you might get conflicts and
stuff, solve them)
(if you see any file renames, do them with bzr mv)
bzr add (just incase any news files exists)
bzr ci -m 'updated from upstream svn revision XXXX'
<hack hack hack hack>
<commit>
<hack hack hack hack>
<commit>
That works well for me to keep track of things.
In a perfect world you would be able to checkout from svn and get all
history and everything. But this works in a none perfect world.
Regards,
Erik
More information about the bazaar
mailing list