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

Re: file date in the repository

From: Marius Gedminas <mgedmin_at_b4net.lt>
Date: 2005-01-17 23:09:54 CET

Hi,

On Mon, Jan 17, 2005 at 10:24:52PM +0100, Peter Valdemar Mørch wrote:
> MDidschuns@medistar.de wrote:
> >Can someone confirm this and/or tell me how I can get the files date in
> >to the repository?
>
> I'm not sure what you're trying to accomplish, but I believe the client
> will always modify the date of flies when checking them out to be the
> current date/time, regardless of the date it had when checked in.
>
> There have been numerous threads about this in the past. The "winning
> side"'s argument is that newly checked out files need to be timestamped
> "now" regardless of when they really were created, because otherwise
> make systems (the assumed most common usage) get confused. The "loosing
> side"'s arguments, well, who can remember them? :-D
>
> So if you are trying to get a checked out file to have the same date as
> when it got checked in, I think you may be fighting a loosing battle here...

There's also

  [miscellany]
  ### Set use-commit-times to make checkout/update/switch/revert
  ### put last-committed timestamps on every file touched.
  use-commit-times = yes

in ~/.subversion/config

And it does confuse make, as I've had the chance to discover today. ;-)

Marius Gedminas

-- 
We've found by experience that people who are careless and sloppy writers are
usually also careless and sloppy thinkers (often enough to bet on, anyway).
	-- ESR (http://www.tuxedo.org/~esr/faqs/smart-questions.html)

Received on Tue Jan 18 13:15:52 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.