SVN displays obsolete files in the working directory

I play with SVN trying to better understand how this works. I added several files to my repository and checked them in 2 separate working directories. For working directory 1, I use my SQL client software (Aqua Data Studio) to modify the file and working directory. 2 I just use Windows Explorer with TortoiseSVN.

My question is: do SVNs or clients built on top of it never show when the file in your working copy is out of date? If I make changes to working directory 1 and make it, I expect working directory 2 to tell me that my working copy is outdated in the repository. Is it ever? Is there a way to find out which files in my working directories are out of date or do I just need to be careful to always update before making changes to the file?

+5
source share
3 answers

Try svn status --show-updates

[EDIT] At first I didn’t notice that you are using Windows, but this command should work for others running OSX or Linux

+7
source

TortoiseSVN " ", " ".

+4

No. In your local working folder, you will not see if the repository contains a newer version.

SVN will check before making changes whether the server version is newer. It is recommended to regularly update and fix.

As you are on Windows, you can try CommitMonitor , a tool written by the author of TortoiseSVN, which notifies you of committing to SVN repositories.

+1
source

All Articles