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

RE: timestamp preservation design (issue 1256)

From: Jack Repenning <jrepenning_at_collab.net>
Date: 2003-06-19 21:01:29 CEST

At 10:47 AM -0600 6/19/03, Jeff Cave wrote:
>I don't know for sure (I don't even know where to find this out),
>but what time zone does the FS keep the timestamp in?

Which FS?

All Unix, Macintosh, and Win NTFS use UTF. Win FAT uses local (and
therefore dies in this discussion as you imply).

>Instead of storing the timestamp, why not store an offset: The
>youngest file in the WC gets an offset of 0. Each file then gets a
>time offset that represents the time difference between the youngest
>file. This offset is what then gets stored.

Because the eventual checkout will often include bits from several
check ins. How do we correlate their offsets?

>Since I don't know much about timestamps, I did a quick google
>search. This is a link to a little utility that addresses the
>problem (with a brief description of the problem):
>
>http://www.codeproject.com/file/TimeStamp.asp
>
>This is a windows utility. Don't know anything about other FS's.

As that page points out, this is merely a big slobbery Windows GUI
built around simple functionality that's been in Unix command line
for 30 years or so. (Well, OK, he didn't use the word "slobbery" ;-)

-- 
-==-
Jack Repenning
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94015
o: 650.228.2562
c: 408.835-8090
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 19 21:02:34 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.