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

Re: date and -r {DATE}

From: <kfogel_at_collab.net>
Date: 2005-04-22 07:09:41 CEST

John Belmonte <john@neggie.net> writes:
> It's a shame that I can't use the output of GNU date for Subversion
> revisions because svn demands a colon in the time zone
> offset. Shouldn't this be fixed?
>
> $ svn diff -r {`date --iso-8601=seconds -d '2 hours ago'`}
> svn: Syntax error in revision argument '{2005-04-21T20:46:05-0400}'

That sounds reasonable to me, and (at least at first glance) I don't
see any conflicts or ambiguities with the currently-supported date
formats at:

   http://svnbook.red-bean.com/en/1.0/svn-book.html#svn-ch-3-sect-3.3

Would you mind filing an issue for this? In the issue, in addition to
describing the problem and the proposed enhancement, please link to
this mail thread.

No promises as to when it happens, of course, but patches always make
things happen faster... :-)

Best,
-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 22 07:39:49 2005

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