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

dates, checksums, and so

From: solo turn <soloturn99_at_yahoo.com>
Date: 2003-05-03 18:50:22 CEST

> From: Mark Watts [mailto:mwatts3@stny.rr.com]
> Sent: Friday, May 02, 2003 4:45 PM
> * As a user I find it very annoying that a check out (svn co) into
a new
> working directory leaves all files with the current date time
stamp. As a

this is a clear subversion bug. svn does not conform to conventions
of treating time:
mtime tells when contents was modified last. this can NOT be the time
when the file is checked out, cause "svn co" does NOT modify the
contents. its nothing but a copy.

there is work-arounds with touching files, but this is neither
user-friendly nor correct from the mtime point of view.

because time always has been a problem in subversion, i recently
suggested the user should be able to decide what to use for deciding
"file has changed":
- datetime
- checksum (correct most of the time)
- file contents (for the paranoid)
- combination (if it makes any sense?)

a file is determined by its contents, and not by its timestamps.
"touch"ing a file does not make it new! so in 99.9% of the use cases,
i want to compare the files contents.

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 3 18:51:11 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.