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

Re: svn list -v date formats are different in 1.4.5 V/s 1.5.4

From: Andy Levy <andy.levy_at_gmail.com>
Date: Wed, 6 May 2009 08:22:03 -0400

On Wed, May 6, 2009 at 07:58, Sachidanand Shukla <shukla.68_at_gmail.com> wrote:
> The issue is that we have a UNIX script that uses svn list to find the diff
> between two tags (directory level diff)and diff between revisions between
> two files, to reflect changes against which comment and by whom were done in
> tag2 in comparison to tag 1,

You shouldn't be committing to tags in the first place, if you follow
convention.

Look at svn diff --summarize to find out what changed between 2
revisions. I don't see what you're gaining by parsing svn ls output
vs. svn diff --summarize and/or svn log output.

> needed for some SOX & audit related needs. the
> script finds diff of files and diff in revisions on each file with
> date/time, author, comment and file name in csv format.
> This report contains date in two different formats. i tried to modify older
> date to date format  in with MS Excel options but without success.
> I need some clue on this to have similar format.
> Thnx.
> 2009/5/6 Andy Levy <andy.levy_at_gmail.com>
>>
>> On Wed, May 6, 2009 at 01:34, Sachidanand Shukla <shukla.68_at_gmail.com>
>> wrote:
>> > Thanks Andy, Got your point...
>> > Is there any way to make format same for all dates irrespective of age
>> > of
>> > commits. in UNIX the "ls" command does have a switch "-e" for the same
>> > purpose, do we have something like that in SVN?
>>
>> Why do you think you need it? If you're dealing with history that old,
>> wouldn't the log be better?
>>
>> > 2009/5/5 Andy Levy <andy.levy_at_gmail.com>
>> >>
>> >> On Tue, May 5, 2009 at 05:05, Sachidanand Shukla <shukla.68_at_gmail.com>
>> >> wrote:
>> >> > Hi
>> >> > We installed svn 1.4.5 as first SVN version on our servers and then
>> >> > it
>> >> > got
>> >> > upgraded to 1.5.4. I upgraded repositories as well.
>> >> > Now i encounter a problem of change in date format between the
>> >> > commits
>> >> > during these different versions:
>> >> > svn list -v -R file:///u000/subversion/repos/GSDB/build/gsdb_43_cit
>> >> > |grep
>> >> > Oct
>> >> >     100 sa185057        11320 Oct 23  2008 web/jsp/sprod/xyz.jsp
>> >> > svn list -v -R file:///u000/subversion/repos/GSDB/build/gsdb_43_cit
>> >> > |grep
>> >> > Nov
>> >> >     104 sa185057         6611 Nov 04 08:17
>> >> > web/java/com/ncr/gsdb/report/abc.java
>> >> >
>> >> > I upgraded the SVN on October 28 2008 (between Oct 23 and Nov 04).
>> >> > Is there any way to make the formats similar?
>> >>
>> >> The date format didn't change. What you're seeing is the *NIX
>> >> convention for displaying older dates in directory listings; for dates
>> >> more than I think 6 months in the past, it just shows the month, day
>> >> and year. For more recent dates, it shows the month, day & time.
>> >>
>> >> Run a regular "ls -l" on a directory on your system and you'll see the
>> >> same behaviour.
>> >
>> >
>> >
>> > --
>> > Regards,
>> >
>> > Sachidanand Shukla
>> >
>
>
>
> --
> Regards,
>
> Sachidanand Shukla
>

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-06 14:23:04 CEST

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.