Right. I would think you just need to get a valid string for one of the
specified formats. Notice in the commands that you have to surround the
date with double-quotes if you use a format that has spaces in it. Plus,
you always need the curly braces { }.
Mark
Jennifer Bevan <jen@alouysius.net> wrote on 01/11/2005 03:52:51 PM:
> Right...that's what I looked at when comparing what svnClientAdapter
> sent to the log command with what should have been acceptable.
> Once I found a format that SVNRevision.getRevision() would parse,
> it sent out the log command mentioned in the previous email, which
> caused the error. I don't know why Date.toString() creates an
unparseable
> string without an explicitly-specified format string, but it does, and
that
> is what SVNRevision.toString() is using.
>
> So...it sounds like I don't need to get a timezone specified into
> svnClientAdapter
> because svn will also assume local time, and actually convert...so
therefore
> the only problem is the toString() issue?
>
> -Jennifer Bevan
>
>
> Mark Phippard wrote:
>
> >So it sounds like you are trying to use dates for revisions in svn
> >commands? This doc portion seems to show the acceptable formats:
> >
> >http://svnbook.red-bean.com/en/1.1/ch03s03.html#svn-ch-3-sect-3.3
> >
> >If you use a format that does not specify a timezone, then it assumes
you
> >have entered the time based on the local timezone and does the convert
to
> >GMT for you.
> >
> >Mark
_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Wed Jan 12 07:50:34 2005