Versioning for binary files with timestamps

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

We need to update our customization projects. In this case, it is important that the input files (dll / exe) keep their timestamp.

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

Updated:

Here is an example of what I would like to do:

  • put "foo.dll" (modified 1/1/2009) and "bar.dll" (modified 2/2/2009) in the working directory
  • create / test setup and make one commit
  • when another developer checks the project, both the files foo.dll and bar.dll must have their original modified date (1/1/2009 and 2/2/2009).

Our current solution is to zip each dll (the modified date is stored in a zip file), but I would prefer something simpler.

+3
source share
4 answers

You can try to use your own subversion property to store the timestamp. if you change this timestamp, you have a “changed” state of the file and you can commit it. You can access the contents of properties using the command line. Also you have different times for each file.

However, you may need some additional additional scripts to set / read properties.

+1
source

Subversion use-commit-times , . svn export .

+2

git "" , , . , , ​​ , , ..

+1

, , . Nerdling, git mercurial , Subversion ( - SVN):

, , SVN, , , . SCM, git mercurial, , , SVN, , .

0

Source: https://habr.com/ru/post/1704069/


All Articles