Re: [eigen] git

[ Thread Index | Date Index | More Archives ]

On Sat, May 2, 2009 at 4:32 PM, Thomas Capricelli <orzel@xxxxxxxxxxxxxxx> wrote:
> Svn uses .svn and mercurial .hg. So you can have a directory that is both a
> svn and a hg repository. So you can just 'hg pull -u' to update from hg, and
> then use 'svn st' to check what is added/removed.

this the solution I had in mind because I've already practiced it, but
it is very painful and error prone (because of the file you have to
move, remove and add....)

I guess it would be better to export a set of changesets and import it
in svn, but then we have to track the changeset ids manually :(

> hg has a useful command 'addremove' that add everything that is present but
> unknown to the dvcs, and remove all known to dvcs but which are not present
> anymore. Unfortunately, i dont see any svn command to do that.
> Though using svn st / add /rm would not be too difficult. If so, we can try to
> write a script.
> Thomas
> On Saturday 02 May 2009 16:23:09 Gael Guennebaud wrote:
>> well that depends what you mean by "manual", if it is only one or two
>> commands to run whenever we want to sync it's ok, but if you have to
>> do the svn add manually, or so then that's another story.  So, yes,
>> basically I still don't see how to do it easily....
> --
> Thomas Capricelli <orzel@xxxxxxxxxxxxxxx>

Mail converted by MHonArc 2.6.19+