git-svn and SVK mirror between two repositories
- From
- Vinubalaji Gopal <vinubalaji@gmail.com>
- Date
- May 24, 2007, 17:04 UTC
- Message-ID
- <7d8fb81e0705241004u1c52fa7aub42d3793d4bfeaa7@mail.gmail.com>
Hi all,
I have been trying hard to find if it is possible to mirror (or
clone in git-svn terms) two svn repositories and update changes from
one to other or do even more complex operations with these two
repositories. I did check the git-svn man page, but was lost without a
proper example. Can someone please provide me with an example of using
two svn repositories in git-svn and doing merge operations, etc .I have used SVK for a long time and it was very much possible to use two svn repositories using the SVK FAQ entry as shown below:
Repository ONE in Paris, repository TWO in London and be able to create 2 mirrors then smerge both, doing it on a node in Berlin and using the mirror function? Sure. Simply do this:
svk mirror svn://svn.paris.fr/ //paris svk mirror svn://svn.london.uk/ //london
# pick a sensible base, or use --baseless svk smerge --base=1234 //paris //london
# ... and smerge between them normally ... svk smerge -I //london //paris svk smerge -I //paris //london
-- Vinu In a world without fences who needs Gates?