Set specific user and date for svn migration tool

Post your questions regarding using the Vault and Fortress API in your programs.

Moderator: SourceGear

Post Reply
smoelands
Posts: 5
Joined: Fri Jan 06, 2012 5:44 am

Set specific user and date for svn migration tool

Post by smoelands » Wed Apr 18, 2012 8:22 am

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
Last edited by smoelands on Thu Apr 19, 2012 6:13 am, edited 1 time in total.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Set specific user and date for svn migration tool

Post by lbauer » Wed Apr 18, 2012 1:46 pm

Which api call are you using to commit the data.
Linda Bauer
SourceGear
Technical Support Manager

smoelands
Posts: 5
Joined: Fri Jan 06, 2012 5:44 am

Re: Set specific user and date for svn migration tool

Post by smoelands » Thu Apr 19, 2012 6:16 am

We are currently using the methods that are available in the ServerOperations class as found in the VaultClientIntegrationLib.

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

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Set specific user and date for svn migration tool

Post by lbauer » Thu Apr 19, 2012 10:30 am

I have some code that might be helpful.

Email support at sourcegear.com, Attn: Linda. Please include a link to this forum post.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply