[GRASS-dev] On `svn propset`

Markus Neteler neteler at osgeo.org
Sun Jan 13 05:53:13 PST 2019


Hi Nikos,

On Sun, Jan 13, 2019 at 1:10 PM Nikos Alexandris
<nik at nikosalexandris.net> wrote:
>
> Dears,
>
> I copied over a "new" version of a python script (local) into the
> 'grass-addons' directory (which is the SVN repository).  The `file`
> command when run on the file in question, returns:
>
> ```
> file r.estimap.recreation.py
> r.estimap.recreation.py: Python script, UTF-8 Unicode text executable, with very long lines
> ```
>
> I think I've correctly re-set the properties via
>
> ```
> svn propset svn:eol-style "native" r.estimap.recreation.py
> property 'svn:eol-style' set on 'r.estimap.recreation.py'
> ```
>
> and
>
> ```
> svn propset svn:mime-type text/x-python r.estimap.recreation.py
> property 'svn:mime-type' set on 'r.estimap.recreation.py'
> ```

Do you run that manually or use the helper script

grass-addons/tools/module_svn_propset.sh *
?

> My question is:  how do I tell the difference after having applied these
> commands?  `svn diff` or `svn status` don't show up anything?

It should!

Markus


More information about the grass-dev mailing list