[GRASS-dev] SVN hint: less disk consumption after "svn cleanup"

Markus Metz markus.metz.giswork at gmail.com
Tue Mar 5 12:26:47 PST 2019


On Tue, Mar 5, 2019 at 1:11 PM Markus Neteler <neteler at osgeo.org> wrote:
>
> 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

nice!
>
> In my case, with 15 different GRASS source code directories (different
> version, dev and relbranches), it saved me 11 GB (!). Neat :-)

you will need that disk space when GRASS moves to git which needs more disk
space than svn

Markus M
>
> cheers,
> Markus
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20190305/908dcb3b/attachment.html>


More information about the grass-dev mailing list