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

Re: inconsistent date format being returned by svn list -v command

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 26 Jan 2009 16:05:38 -0500

On Mon, Jan 26, 2009 at 14:59, Reagan Penner
<reagan_penner_at_pmc-sierra.com> wrote:
> I am wondering why I am seeing two different types of date formats being
> returned form svn list -v command?
>
> Below is an svn list -v example:
>
> pennerre_at_malmo.pmc-sierra.bc.ca% svn list -v
> http://server:port/svn/Project/tags
> 39588 userX Jan 19 14:57 ./
> 5881 userZ Oct 02 2007 2cpu_oct2/
> 5935 userX Oct 03 2007 3cpu_oct3/
> 11340 userY Mar 12 2008 B021_trunk_tag_from_tag_test/
> 11402 userA Mar 12 2008
> B021_workspace_tag_from_tag_mod_test/
> 3037 userC Jul 13 2007 iop_only_13july2007/
> 38111 userY Dec 19 13:55 project_10_149b02/
> 37404 userZ Dec 11 17:23 project_10_pre_release_B002/
> 5624 userY Sep 24 2007 project_B012_eulation_EndToEndTraf
>
> Note the two different date formats. One format is "Month Day Year" and
> the other format is "Month Day time".
>
> Is this a client side issue or is there something I can do on the server
> side to force a standard date format?

I think it's consistent with *NIX conventions. Do an ls -l on a
directory containing files of various ages on your system (I'm on a
Windows machine right now so I can't test myself). Recent files (where
"recent" is an mtime of either this calendar year, or within a
particular number of months) show the time, and older files show the
year.

Looking at the svn ls -v output of one of my tag URLs, it looks like
anything older than 6 months gets the year treatment, anything 6
months or newer shows month, day & time.

   2854 anthill Jul 22 2008 97/
   2867 anthill Jul 29 14:51 98/
   2905 anthill Aug 26 13:53 99/

I'm assuming that in 3 days, that Jul 29 14:51 will kick over to Jul 29 2008.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1056014

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-26 22:06:29 CET

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

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