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

Setting author at commit time?

From: Bob Proulx <bob_at_proulx.com>
Date: 2006-12-04 02:18:24 CET

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

Any hints on how to fake the committer at commit time?


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Dec 4 02:17:52 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.