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

Re: cvs commit: apr/test testfileinfo.c

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-07-09 18:44:23 CEST

Ben Collins-Sussman wrote:

>Branko Čibej <brane@xbc.nu> writes:
>
>
>
>>I don't know if there's a danger, but someone (you? :-) has to think
>>about whether it's consistent. Can files in the directory have mtimes
>>newer than the directory itself?
>>
>>
>
>Nope, because of the bubble-up effect in the repository. For example,
>the last-commit-time of '/' is always equal to the date of the last
>commit.
>
Hah! But you didn't necessarily make any changes to the directory,
right? If you want to be consistent WRT directory modification times,
then the effects of the bubble-up must *not* be visible in the working
copy. Bubble-up is an implementation detail.

See? It becomes very interesting.

>>Does a propchange on a directory affect its mtime? Etc. ad nauseam.
>>
>>
>
>Hmmmm, yeah, I guess one could commit a propchange to a directory, and
>then it would have a timestamp newer than its contents. I wonder if
>that would mess up any working copies.
>
>Maybe I'll just stay away from this problem for now.
>
>
Good boy. :-)

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 9 18:47:26 2003

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

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