5 Dec 2010 10:29
Re: Any technical reason why hgsubversion can't act as a svn bridge?
Piet, On Thu, 2010-12-02 at 23:04 -0800, Piet Skiet wrote: [ . . . ] > > > I'd like to follow this workflow at work:http://community.thoughtworks.com/posts/6e49c1e7b8 [ . . . ] > You're right, it is confusing, but then again I'm new to DVCS. Is the > approach you described above used by git-svn as well? I guess what I'd > like to know is if git-svn model is more suitable for svn bridging. > > In the long run I'd like to convert the natives to a native Mercurial > setup, mainly because of the ease of distributed cross-platform use. This issue has been addressed by Bazaar (bzr-svn) as well as Git (git-svn) and Mercurial. Bazaar has two modes of working one similar to the Git one where each repository that dcommits to the Subversion repository (and hence rebases) can only be used as a standalone Subversion client. This works fine for centralized/star workflow -- basically Bazaar/Git are used as Subversion clients. Bazaar also has a mode of working where all the Bazaar metadata is stored in the Subversion repository. This makes the Subversion repository a peer in a Bazaar branch network. You have to be careful never to use dcommit or rebase but that is easy. As far as I know, you have to use two Git repositories to do bridging with svn-git, one is the un-rebased repository that people use as the proxy for the Subversion repository, and the other is the tool for interfacing the proxy to the Subversion repository, it suffers all the rebasing but this is hidden from the rest of the DVCS network. With Bazaar you can do the same or by banning dcommit and having lots of extra metadata in the Subversion repository, it can be used directly in a Bazaar branch network. Personally I have not tried Mercurial+hgsubversion to write back to a Subversion repository (I don't have write permission for the Subversion repositories I use Mercurial+hgsubversion to track) so don't have equivalent anecdotal feedback for hgsubversion -- I have to admit I am trying to avoid it by getting people to switch from Subversion to MercurialI hope this helps. -- -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder <at> ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@... London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
I hope this helps.
RSS Feed