Page 1 of 1

Set specific user and date for svn migration tool

Posted: Wed Apr 18, 2012 8:22 am
by smoelands
Hello,

We are currently working on a tool for migrating our subversion repository to vault.
This migration tool is build using the available client-API. Most of the required functionality is there we are missing some important parts though.

First of all we do not seem to be able to set the user for which we are performing a commit dynamically. This mapping is available in the vss2vault migration tool so we expected that this would also be available in the client-api.

Secondly we really want to use the original svn date for the checkin and not the server-date as is currently the default. Using the modification-date as suggested in some of the posts on this forum is not an options as this does not show up when looking at the history of a file.

Could you please help us with the above problems?

Thanks, kind regards, Sander Moelands

Re: Set specific user and date for svn migration tool

Posted: Wed Apr 18, 2012 1:46 pm
by lbauer
Which api call are you using to commit the data.

Re: Set specific user and date for svn migration tool

Posted: Thu Apr 19, 2012 6:16 am
by smoelands
We are currently using the methods that are available in the ServerOperations class as found in the VaultClientIntegrationLib.

E.g. ProcessCommandAndCommit, ProcessCommandMove, ProcessCommandDelete, etc.

Re: Set specific user and date for svn migration tool

Posted: Thu Apr 19, 2012 10:30 am
by lbauer
I have some code that might be helpful.

Email support at sourcegear.com, Attn: Linda. Please include a link to this forum post.