Hi,
We are currently converting our old in-house SCM system to an SVN
repository (both client and server running v1.5.2).
After loading the revisions, I am trying to modify the svn:date property
to the original modification date. However, it seems that I am unable to
specify the timezone information in the property?
For example, I can correctly the set the svn:date property with the
following:
svn propset --revprop --revision 3 svn:date \
2004-05-06T13:14:15.000000Z svn://localhost/repository
property 'svn:date' set on repository revision 3
However, if I attempt to specify a timezone other than 'Z', I get:
svn: Wrong or unexpected property value
svn: Bogus date
I have tried the following formats (both quoted and unquoted):
2004-05-06T13:14:15.000000+10:00
2004-05-06T13:14:15.0+10:00
2004-05-06T13:14:15+10:00
2004-05-06T13:14:15.000000+1000
.... etc. but they all result in the above error(s).
I searched the archives, and found a link to the following document
(http://www.w3.org/TR/NOTE-datetime), and as far as I can tell, the
above strings should all be valid ISO8601 format.
The default svn:date property value seems to be stored as Zulu, rather
than with the current timezone.
Is there a method of specifying the timezone for the svn:date property,
or do I need to convert the times to Zulu and then set the value?
Cheers,
Daniel B.
Received on 2008-09-12 07:03:40 CEST