How to get list of unbuilt files on svn

Currently, we are editing the code under svn directly in the shared folder (our test server). Since we can push files directly from the test into prod, it’s quite easy to β€œforget” to commit files under SVN ...

In order to avoid unpleasant surprises and not completely synchronize with svn, I would like to create a report on broken files (with the name of the person who last changed it), so I can send a weekly reminder of the changes.

I found several tools, such as statsvn, for reporting, but it only contains very technical details (number of rows added ...).

Has anyone here ever done this? How do you approach him?

Thanks in advance

+3
source share
3 answers

I'm not sure I understand what you want to do, but 'svn status' gives you a list of modified files. (see http://svnbook.red-bean.com/en/1.0/re26.html ). It is very difficult to give you the opportunity to list the last person who changed the files without additional information about your setup (file system, os, etc.).

However, I doubt that the workflow you are using is really safe. Why don't all developers have their own SVN repository check? It seems to me that using a shared folder is really a bad idea and can lead to a lot of problems.

+2
source

, ( , ) , ,

0

Just enter grep the result of svn stat, for example:

$ svn stat|grep "^\?"
?       doc
?       gcc/firmware.bin
?       gcc/mc.bin
?       gcc/mc.elf
?       gcc/platform.c
0
source

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


All Articles