[GRASS-dev] SVN hint: less disk consumption after "svn cleanup"
Markus Neteler
neteler at osgeo.org
Tue Mar 5 04:11:38 PST 2019
Hi devs,
esp. for those who are contributing to GRASS GIS for while and have
.svn/ directory/-ies in their local source code copy, here a hint to
save (notably) disk space:
running "svn cleanup" shrinks the respective svn control files.
Here a one-liner, to be run in the parent directory of where your
(GRASS GIS) svn based source code is:
# loop over all directories which contain a ./svn/ directory:
for i in $(ls */.svn/wc.db | cut -d'/' -f1) ; do (cd $i ; svn cleanup) ; done
In my case, with 15 different GRASS source code directories (different
version, dev and relbranches), it saved me 11 GB (!). Neat :-)
cheers,
Markus
More information about the grass-dev
mailing list