简体   繁体   中英

How many up to date copies of the SVN repo are there?

I have a SVN repository, that I access from about 7 machines. I would like to determine if one of these machines has not had and svn update or svn commit in a long time (> 2 weeks). Is this something I can determine at server side, by means of a script?

I am trying to avoid the scenario whereby one machine is constantly committing & updating, leaving the others hopelessly out of date. Thanks.

There is no tool which is doing this.. basically SVN does no bookkeeping on checked out working copies. As you can move and copy workingcopies freely without checking them out at the server I doubt a working solution is possible.

Also SVN has no mechanics for identifying different workingcopies except by username.

So the only thing you can do is scanning apache logfiles and filter by ip addresses.

I agree with @Oli Charlesworth that this situation smells funny, but you can run svn status -u on each machine's working copy to see if it has any files that will be changed by an update. See the svnbook for more information.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM