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

Changing svn:date?

From: <james-tigris_at_jrv.org>
Date: 2003-08-20 22:40:13 CEST

I'm trying to write a program to import from old PVCS files into SVN
and retain the authorship and timestamps.

I'm wondering if doing a propset of svn:date is going to really do
what I want, which is to allow me to retrieve an entire project as of
a particular date. The files are being committed one by one, revision
by revision from the original PVCS archives

The trace below shows part of the conversion cycle happening. Next is
a failed attempt to retrieve a revision by date, and lastly a log
showing that the propsets did do something.

I'd be interested in hearing if there are better strategies for
converting from an existing VCS to SVN retaining timestamps.

cmd: get -r1.2 ..\pvcs2svn\vlogs\MISC.C_V
Network PVCS(get) V2.1c for MSDOS
Copyright 1985, 1986, 1988 POLYTRON Corp. All rights reserved.
MISC.C <- ..\pvcs2svn\vlogs\MISC.C_V
rev 1.2
cmd: svn commit -F \s3eg.2 MISC.C
Sending MISC.C
Transmitting file data .
Committed revision 60.
cmd: svn propset svn:author --revprop -rHEAD JAMES MISC.C
property `svn:author' set on repository revision '60'
cmd: svn propset svn:date --revprop -rHEAD 1991-01-31T14:34:46.000000Z MISC.C
property `svn:date' set on repository revision '60'

C:\src\lib>svn up -r {2/1/1991}
svn: Filesystem has no item
svn: REPORT request failed on '/svn/!svn/vcc/default'
svn:
file not found: revision `0', path `/trunk/lib'

C:\src\lib>svn log -r60 MISC.C
------------------------------------------------------------------------
rev 60: JAMES | 1991-01-31 08:34:46 -0600 (Thu, 31 Jan 1991) | 1 line

Add code to deal properly with out-of-memory situations.
------------------------------------------------------------------------

C:\src\lib>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 20 22:44:50 2003

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

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