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

Re: Any way to specify Date/Time on commits?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-05-06 19:39:01 CEST

On Thu, 2004-05-06 at 12:33, Greg Goodrich wrote:
> I'm trying to convert from MS Visual SourceSafe to Subversion. One of
> the problems I'm noticing is that once I get all the historical revs
> from VSS to Subversion, they all (of course) have the date/time that I
> committed them into Subversion. I'd really like to preserve that
> information and was wondering if there is a way to get these dates/times
> altered (maybe a hidden switch to svn commit?). I can redo the
> migration, as I've got to anyhow, but I just would like a way to do this
> if it exists.

Certainly. Every revision has a set of unversioned properties attached
to it. Here's an example:

$ svn proplist -v --revprop -rHEAD http://svn.collab.net/repos/svn

Unversioned properties on revision 9636:
  svn:log : * COMMITTERS: Convert to UTF-8 [...]
  svn:author : kfogel
  svn:date : 2004-05-06T17:05:54.159637Z

You want to manually 'propedit' the svn:date property on each revision.

But you don't say *how* you're converting from VSS to Subversion. If
you're using some tool to do this, it should automatically be doing this
for you. (e.g. if it's creating the commits in the form of an svn
dumpfile, like cvs2svn.py does, then the dumpfile would automatically
contain the correct svn:date properties.)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 6 19:43:11 2004

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.