How to import directory structure into SVN, keeping file and folder modification dates the same?

I have a large source tree (> 2 GB, WINCE build tree) with which I would like to start management using Subversion. Until now, version control was done by saving multiple copies of the tree and using Beyond Compare to find the differences.

The last big stumbling block that I see in using Subversion is that it changes the timestamp of the file as commit time. This makes the Beyond Compare comparison much more time consuming because you have to do a binary comparison to find the changes.

I looked at the meta-data versioning branch of a subversion tree branch, but I would rather not try to combine this code from 2006 into the current svn source.

Thank,

Dave

+3
source share
4 answers

There is an svn config option that controls how timestamps are stored in the repository:

use-commit-times

Usually your working copy files have timestamps that reflect the last time they were affected by any process, be it your own editor or some svn subcommands. This is usually convenient for people developing software, since assembly systems often arise, look at timestamps as a way of deciding which files should be recompiled.

, , , , . svn "-" timestamps " , . , svn checkout, svn update, svn switch svn , .

.

BTW, Beyond Compare rock! , svn diff, TortoiseMerge BC2. BC2 .

+2

Subversion , .

tortoiseSVN, Diff.

0

: , ( ). ( ) . Linux Subversion 1.4.6.

, , .

, .

Also: why do you want to use "Beyond Compare" for diff. You will no longer need to store different directories to reflect different versions. And subversion has its own distinctive feature for preparing differences for revision combinations.

0
source

Should the value "use-commit-times" be set to yes for each client configuration file m / c OR is it possible to centralize it in the Subversion installation directory?

0
source

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


All Articles