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

Re: directory Last Changed Date

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: 2006-08-15 19:21:15 CEST

On 8/15/06, Ryan Graham <rgraham@mediosystems.com> wrote:
>
> I'm looking for some clarification on what a directory's "Last Changed
> Date" actually represents.
>
>
>
> If I type svn info within a directory I get something like the following:
>
>
>
> Last Changed Date: 2006-02-09 16:24:19 -0800 (Thu, 09 Feb 2006)
>
> Text Last Updated: 2006-08-10 15:20:56 -0700 (Thu, 10 Aug 2006)
>
> Properties Last Updated: 2006-08-10 15:20:54 -0700 (Thu, 10 Aug 2006)
>
> Checksum: c187f046f77c408973578f16022014f5
>
>
>
> Does the Last Changed Date mean the last time a file within that directory
> was changed was on Thu, 09 Feb 2006?
>
>

Firstly, I thought the "Text Last Updated" thing was only for files and not
for directories. I don't see it on any of my directories.

And to your question, the Last Changed does represent the last time anything
in that directory was changed. But not quite that simple :( . Its sort of
like "Last Changed and Last Updated". Example:

Say you have:

dir1/
   -- file1
   -- file2

Say the Last Changed on dir1 is Feb 09 2006. And you change file2 today and
check it in. The Last Changed on file2 becomes Aug 15, 2006. But the Last
Changed on dir1 remains Feb 09, 2006. But if you do an "svn up" in dir1, and
then do an svn info, you will now see that the "Last Changed" for dir1
reflects your check-in for file2.
So basically it is reporting the last changed time based on the revision
that the directory is currently at.

I don't know whether I am being clear. But hope it helps.

rgds

-- 
-Hari Kodungallur
SpikeSource Inc.
http://developer.spikesource.com
Received on Tue Aug 15 19:23:01 2006

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.