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

Re: Subversion Problem - How to save file modify time?

From: Mark Reibert <svn_at_reibert.com>
Date: Thu, 17 Jul 2008 01:06:05 -0700

On Thu, 2008-07-17 at 08:38 +0200, Oliver Betz wrote:
> John Aldridge wrote:
>
> >Ben Collins-Sussman wrote:
> >I'm actually slightly surprised that the people using subversion for
> >storing photographs aren't more interested in the creation date than the
> >last modified data, for example.
>
> mtime is the default used by nearly everything, e.g. ls, the Windows
> explorer, file managers, picture viewers etc.

Moreover, there is no such thing as creation time (at least in Linux - I
don't know about Windows).

bash$ touch foo ; stat foo ; sleep 10 ; chmod 444 foo ; stat foo
  File: `foo'
  Size: 0 Blocks: 8 IO Block: 4096 regular
empty file
Device: fd00h/64768d Inode: 692575 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 5000/ mark) Gid: ( 100/ users)
Access: 2008-07-17 00:53:59.000000000 -0700
Modify: 2008-07-17 00:53:59.000000000 -0700
Change: 2008-07-17 00:53:59.000000000 -0700
  File: `foo'
  Size: 0 Blocks: 8 IO Block: 4096 regular
empty file
Device: fd00h/64768d Inode: 692575 Links: 1
Access: (0444/-r--r--r--) Uid: ( 5000/ mark) Gid: ( 100/ users)
Access: 2008-07-17 00:53:59.000000000 -0700
Modify: 2008-07-17 00:53:59.000000000 -0700
Change: 2008-07-17 00:54:09.000000000 -0700

-- 
----------------------
Mark S. Reibert, Ph.D.
svn_at_reibert.com
----------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-17 10:06:31 CEST

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.