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

Re: New user, file timestamp question.

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2003-04-17 20:54:09 CEST

On Thu, 2003-04-17 at 00:54, Rob Kramer wrote:
> I asked this a few days ago, but didn't get an anwer yet. I think it is
> because perhaps it is a Dumb Question. :)

It's not a dumb question, but it's a problem of conflicting constraints:

  * There are reasons to want to preserve timestamps across an import
and checkout, e.g. if you're checking in generated files and you want
your build system to know that it doesn't have to regenerate those

  * On the other hand, if a checkout or update munges timestamps, you
run the risk of fooling a build system into thinking a file hasn't been
modified when it has. Consider:

  svn co project-url wc
  cd wc; make
  svn update -r oldrev file

  * And, of course, we want to keep our code simple, particularly inside
libsvn_wc where things are already a bit messy. So having a lot of
dials and knobs isn't great either.

We've talked about adding an svn:original-date property to at least
remember the imported date, but I can't remember how that conversation
turned out.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 17 21:00: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.