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

Re: Import and Commit and file modification times

From: Ph. Marek <philipp.marek_at_bmlv.gv.at>
Date: 2005-08-16 07:47:40 CEST

On Friday 12 August 2005 19:41, Svante Seleborg wrote:
> 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.
You didn't search the mailing list. :-)

You need the meta-data patches/branch for that.

See http://svn.collab.net/viewcvs/svn/branches/meta-data-versioning/ for
the branch; see
http://marc.theaimsgroup.com/?l=subversion-dev&m=111459962412224&w=2 for
patches against 1.2.0rc2 (which apply with a small fuzz also against the
released version).

The readme is a bit out-of-date; see
http://svn.haxx.se/users/archive-2005-08/0444.shtml for details, until I get
to do that (it'll be some time).



To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 16 07:49:20 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.