How can I vacuum/delete all pristine copies of a working copy from command line?
- I have multiple working copies (20+) checked out
(same case for many developers in our firm)
- some of those working copies grow large over time
- When disk space is scarce, I need to clean up every working copy by hand as described in this answer (previously checking, which working copies take up most of the disk space)
- Bonus: calculate (estimate?) disk space occupied by pristine copies and only call cleanup, if it will result in ... GBs to be freed up.
This is tedious and error-prone, so I'd like to automate these 20+ cleanups into a
vacuum_pristine_copies.XXX Script, which can be executed in the hour of deepest need.
- It is possible to call
cleanupfrom command line (see the docs here).
However, this lacks a
/vacuum-pristineoption. (We already use this TortoiseSVN-automation to do batched updates).
- We're working on Windows machines, but we're not fixed on
One possible alternative could be Python27.