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

RE: retain original date on binary files?

From: Viaggi, Christopher <CViaggi_at_us.fujitsu.com>
Date: 2006-06-14 19:37:48 CEST

Dennis,

While I'm sure there are others in the list that can be more
authoritative than I regarding this, I would suggest the following.

Capture your jar files in a different tree and use the 'externals'
property to pull them into your working project that way they don't get
updated when the client commits their changes. If you use the
'externals' property for these jar files, you'll also be able to
explicitly declare which version to pull every checkout so you'll be
assured that the proper version of the file is used. Furthermore, if
you're that keen on keeping additional information for the file you can
keep the information as properties.

I am not aware of any way to force the timestamp on the file.

//Christopher

-----Original Message-----
From: Sherman, Dennis (END-CHI) [mailto:dennis.sherman@endinfosys.com]
Sent: Wednesday, June 14, 2006 10:28 AM
To: 'users@subversion.tigris.org'
Subject: retain original date on binary files?

I'm evaluating Subversion for a new project, first time we'd be bringing
it into our shop.

What I'd like to do is put 3rd party jar files under Subversion's
control, so we can manage all of our dependencies from one place. But I
would like to retain the original datestamp on the jar file, as not all
jar files are named with an indication of their version, and the file's
date is often a good indicator of the version.

This doesn't seem to be possible -- from reading the online books and
searching the mailing list archives, it looks like when a file is
checked out from Subversion, the date it gets is the date of the last
time the file was touched in the repository. (Unless the server is
configured with
use-commit-times.)

Can anyone confirm that what I'm looking for, retaining a file's
original datestamp at the time of first commit, can't be done via simple
configuration?

And assuming that's true, is there an approach that will let this be
done using hook scripts around svn commands?

Thanks.

--
Dennis R. Sherman
Endeavor Information Systems
847-227-2976
Dennis.Sherman@endinfosys.com
http://www.endinfosys.com 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 14 19:40:30 2006

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.