[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Setting author at commit time?

From: Matt Sickler <crazyfordynamite_at_gmail.com>
Date: 2006-12-04 04:11:18 CET

--username ?

On 12/3/06, Bob Proulx <bob@proulx.com> wrote:
>
> I am wanting to do some automated sync'ing of files between subversion
> and another system. How can I set the author for subversion?
>
> co -p -kk /path/to/rcs/somefile1,v > somefile1
> co -p -kk /path/to/rcs/somefile2,v > somefile2
> svn commit -F log-message.txt
>
> And of course I can fudge the timestamps using libfaketime or
> datefudge or other ways. I can set the timestamp fine. I also know
> the author name for the commit. But what I don't know is how to pass
> the author name on through to subversion so that it commits using
> the original author and not the current process owner.
>
> Of course I can dump the database (its private at that point), process
> it, and load it again into a pristine area now with the right
> committer. But that is really, really heavy when I only need to set
> the latest commit, it would be n^2 for the number of revisions in that
> case.
>
> Any hints on how to fake the committer at commit time?
>
> Bob
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
Received on Mon Dec 4 04:11:57 2006

This is an archived mail posted to the Subversion Users mailing list.