Prevent TortoiseSVN from marking files in the .svn directory as read-only

I am using TortoiseSVN for Windows. Once committed, TortoiseSVN places some of the internal files in the .svn subdirectory as read-only. How can I prevent this? This prevents the synchronization of Windows Live Mesh.

+4
source share
2 answers

All files in the .svn directories are processed by the Subversion library, which means all svn clients (and not just TSVN), where they are located as text. Even the .svn folder itself is marked as readonly and hidden. There is a reason why these files are marked as readonly, and you should not deal with this. SVN relies on this.

Update: The fact that you are actually trying to synchronize a working copy implies that you are using version control completely wrong. It is called a working copy, because you must have a copy of it at every station with which you work. And you need to use a separate working copy. Do not sync the same working copy.

+1
source

So, the previous version of Windows Sync ... you see that the problem is here. Choose a different sync technology.

The .svn directories do not belong to your players, think of them as Windows files that are read-only and protected.

You have several options:

  • Do not sync your WC. Perform an individual scan on each computer.
  • synchronize WCs and perform an update after each synchronization to update .svn files.
  • manually copy the WC from one computer to another - this works fine in Explorer, for example.
  • delete the destination directory before synchronization.
  • Stop using crappy sync tools and get the best. Google says there are too many of them, but there are a couple of comparisons available on the Internet .
-1
source

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


All Articles