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

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 :slight_smile:

cheers,
Markus

On Tue, Mar 5, 2019 at 1:11 PM Markus Neteler <neteler@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 :slight_smile:

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@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev