[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: Greg Goodrich <ggoodrich_at_medinotes.com>
Date: 2004-05-06 20:48:09 CEST

Ben Collins-Sussman wrote:

>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.)
>
>
Interesting. I'm actually using a script called "migrate.pl" that is
for converting from vss to svn, though I've fixed a few "bugs" in it
already. It actually commits changes one rev at a time from each file
in vss to svn. I'll have to check to see if it is attempting to set
this property. Thanks much for the info!
Received on Sat May 8 00:22:57 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.