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

Import and Commit and file modification times

From: Svante Seleborg <svante_at_axantum.com>
Date: 2005-08-12 19:41:51 CEST

Hello,
 
I'm in the process of incorporating a significant set of code to a
Subversion repository, after becoming too frustrated with CVS.
 
But... When importing and committing, it appears that Subversion will use
the time of the import and the time of the commit as the "last-commit" time
in the repository.
 
This seems to be at major odds with importing an existing structure - which
will thus loose all it's embedded "history" as far as the file modification
times are concerned.
 
When the existing structure is then check out, we can use the
use-commit-times = yes option in the config file to get the file stamped
with the time that's in the repository - but then it's already the "wrong"
time.
 
Using the time of the import and the time of the commit is not at all what
I'd expect - and apart from the loss of meta information, it breaks my build
tools which actually depend on those file modification times. This occurs
both during an initial import (I guess I could survive that), but also when
comitting, as the internal order of modification of the comitted files are
not retained in the repository.
 
I must be missing something! Please let me know the obvious solution. I have
read the FAQ, spent an hour searching the SVN book, but all to no avail.
 
Best regards,
 
Svante
 
Received on Sat Aug 13 00:08:17 2005

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.