Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Version control for binaries with timestamps

I need a version control system that works like Subversion but is able to keep the 'modified' timestamp (date) of each file.

We need to version our setup projects. In this case it is imporatant that the input files (dll/exe's) keep their timestamp.

What is the best tool to do this? (OS: Windows)

Updated:

Here's an example of what I would like it to do:

  • put "foo.dll" (modified 1/1/2009) and "bar.dll" (modified 2/2/2009) into the working directory
  • create/test the setup and do a single commit
  • when another developer checks out the project both foo.dll and bar.dll should have their orginal modified date (1/1/2009 and 2/2/2009)

Our current workaround is to zip each dll (the modified date is kept in the zip) but I would prefer something easier.

like image 203
laktak Avatar asked Feb 02 '26 00:02

laktak


1 Answers

Subversion has use-commit-times option which makes local copy use timestamps of last commit time of every file. Also svn export always sets last commit time.

like image 161
Tometzky Avatar answered Feb 03 '26 15:02

Tometzky



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!