Working with a central subversion repository
Robert Wierschke
wierob83 at googlemail.com
Wed Jun 11 04:36:33 CDT 2008
Hi,
I'm new to mercurial and also need to work on subversion managed source.
You may read the "WorkWithSubevrsion" section in the wiki, there are
multiple suggested ways (and tools) to interop with subversion.
I'm currently using the following approach that might me not the best and
requires commit access to the svn (but somehow works for me).
- Create a check out form the svn
- in the same directory init an hg repository
- the both repositories to ignore each others special files (.svn, .hg)
- clone from this repository and do your work
- push back to the hybrid repository and commit via svn
If you need to have exactly each commit (and message) you either need to do
this every hg commit or use the mercurial queues extension to give you the
change to later reproduce the commits in order to apply same separately to
the svn.
Again, I'm a newbie and just came up with this crazy work flow, so there
might be better ways.
regards
robert
2008/6/10 Paul R <paul.r.ml at gmail.com>:
> Hi list,
>
> I need to fetch from a svn repository (trunk only) to a local hg
> repos, then work with some clones, then push back to the svn
> repository, commit after commit, preserving authors and changelogs.
>
> I found in the ML archive a thread of september 2007 about that [1].
> Brag Ediger reported using hgpushsvn with good luck, although it was
> not official.
>
> hgpushsvn still isn't distributed, and I need it in production, so I'm
> wondering in what state is it considered today.
>
> Thank you
>
> [1] http://www.selenic.com/pipermail/mercurial/2007-November/015470.html
>
> --
> Paul
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20080611/fca39585/attachment.htm
More information about the Mercurial
mailing list