You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by et gmail <er...@gmail.com> on 2008/09/29 05:18:16 UTC

Committing changes giving credit to alternate user

I'm currently using the C API to interface with SVN. The program I'm
creating needs to checkin changes made in a third party system. The tool
will take content out of the third party system and commit it to the SVN
repository.

 

The third party system has user as does the SVN repository.  The program
will have one SVN user authentication information stored. 

 

Is there a way for my program to authenticate with one user, but then commit
changes as if it where another. Essentially a switch user operation.

 

Thanks ahead of time.

 

Twiggy


RE: Committing changes giving credit to alternate user

Posted by Paul Charlton <te...@byiq.com>.
Eric, you will want to read up on setting "revision properties" such as
"svn:author", "svn:date", "svn:log" ... as well as the hook script for
"pre-rev-propchange".  Let me know if you need more.

 

best regards,

Paul

 

From: et gmail [mailto:eric.twilegar@gmail.com] 
Sent: Sunday, September 28, 2008 10:18 PM
To: dev@subversion.tigris.org
Subject: Committing changes giving credit to alternate user

 

I'm currently using the C API to interface with SVN. The program I'm
creating needs to checkin changes made in a third party system. The tool
will take content out of the third party system and commit it to the SVN
repository.

 

The third party system has user as does the SVN repository.  The program
will have one SVN user authentication information stored. 

 

Is there a way for my program to authenticate with one user, but then commit
changes as if it where another. Essentially a switch user operation.

 

Thanks ahead of time.

 

Twiggy