> -----Original Message-----
> From: John Peacock [mailto:john.peacock_at_havurah-software.org]
> Sent: Friday, 12 September 2008 9:23 PM
> To: Daniel Becroft
> Cc: users_at_subversion.tigris.org
> Subject: Re: Setting Timezone information in svn:date property
>
> Daniel Becroft wrote:
> > 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?
>
> All dates in Subversion are rendered as UTC (formerly GMT or
> Zulu) for universal consistency. The client will convert
> local time to UTC when committing (or when using a date
> option to -r), but the propset special magic for svn:date
> does not do the conversion, only validates that the time
> string is a valid result (i.e.
> must already be UTC).
>
> So, you will need to convert the original commit times to
> "Zulu" before setting them. Please also read the red box at
> the end of this section of the book:
Ah, okay, thanks. I will do that.
> http://svnbook.red-bean.com/nightly/en/svn.tour.revs.specifier
s.html#svn.tour.revs.dates
>
> If your original SCM did not preserve strict date order for
> each subsequent commit (CVS could do this under certain
> circumstances), you might have to reorder the commits
> (tricky) or simply synthesize a date that preserves the
> order. This isn't absolutely /required/, but is a good idea
> if you ever use -r with a date range.
Yeah, we will be applying the commits with some of them out of date
order, but these will be on separate version branches. We don't have an
immediate need for using the -r option for the log messages, and this is
purely for historical purposes anyway.
Thanks again.
Daniel B.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-15 00:44:58 CEST