[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: Michael Price <michael.price_at_computer.org>
Date: 2003-06-19 18:01:58 CEST

--- Ben Collins-Sussman <sussman@collab.net> wrote:
> *** An open question to this list:
>
> What exactly does CVS do, and how does it justify the behavior?
> What do CVS users think of it?

The attached file shows what CVS currently does.

As for subversion, I can live with the current behavior or the simple
behavior but don't really like the complex behavior. The current behavior
with a switch for simple behavior would be nice.

Just my $.05 (pennies should be discontinued)

Michael

mprice@paulsboro ~/local/tmp/test> mkdir cvsroot
mprice@paulsboro ~/local/tmp/test> export CVSROOT=`pwd`/cvsroot
mprice@paulsboro ~/local/tmp/test> cvs init
mprice@paulsboro ~/local/tmp/test> mkdir cvsroot/test
mprice@paulsboro ~/local/tmp/test> cvs co test
mprice@paulsboro ~/local/tmp/test> cd test
mprice@paulsboro ~/local/tmp/test/test> echo hi > file
mprice@paulsboro ~/local/tmp/test/test> ls -l
total 2
drwxr-x--- 2 mprice mprice 512 2003-06-19 11:51 CVS
-rw-r----- 1 mprice mprice 3 2003-06-19 11:51 file
mprice@paulsboro ~/local/tmp/test/test> touch -a -t 197607041200 file
mprice@paulsboro ~/local/tmp/test/test> touch -m -t 197607041200 file
mprice@paulsboro ~/local/tmp/test/test> ls -lt file
-rw-r----- 1 mprice mprice 3 1976-07-04 12:00 file
mprice@paulsboro ~/local/tmp/test/test> ls -lu file
-rw-r----- 1 mprice mprice 3 1976-07-04 12:00 file
mprice@paulsboro ~/local/tmp/test/test> ls -lc file
-rw-r----- 1 mprice mprice 3 2003-06-19 11:51 file
mprice@paulsboro ~/local/tmp/test/test> cvs add file
cvs add: use 'cvs commit' to add this file permanently
mprice@paulsboro ~/local/tmp/test/test> cvs commit -m "testing"
RCS file: /home/mprice/local/tmp/test/cvsroot/test/file,v
done
Checking in file;
/home/mprice/local/tmp/test/cvsroot/test/file,v <-- file
initial revision: 1.1
done
mprice@paulsboro ~/local/tmp/test/test> cd ..
mprice@paulsboro ~/local/tmp/test> rm -fr test
mprice@paulsboro ~/local/tmp/test> cvs co test
U test/file
mprice@paulsboro ~/local/tmp/test> grep date cvsroot/test/file,v
date 2003.06.19.15.53.26; author mprice; state Exp;
mprice@paulsboro ~/local/tmp/test> cd test
mprice@paulsboro ~/local/tmp/test/test> ls -l file
-rw-r--r-- 1 mprice mprice 3 2003-06-19 11:53 file
mprice@paulsboro ~/local/tmp/test/test> ls -lt file
-rw-r--r-- 1 mprice mprice 3 2003-06-19 11:53 file
mprice@paulsboro ~/local/tmp/test/test> ls -lu file
-rw-r--r-- 1 mprice mprice 3 2003-06-19 11:53 file
mprice@paulsboro ~/local/tmp/test/test> ls -lc file
-rw-r--r-- 1 mprice mprice 3 2003-06-19 11:54 file

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 19 18:02:48 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.