On 05.06.2020 14:22, Roelof Berg wrote: > Update: Topic solved. > > I will create a script named SubWCRev.sh with a content like: > > #!/bin/bash > echo -n "{\"" > echo -n `svn info | grep -e "^URL: " | sed 's/URL: //g'` > echo -n "\",\"" > echo -n `svn info | grep -e "^Revision: " | sed 's/Revision: //g'` > echo "\",\"\"}"
Depending on your version of the client, 'svn info' might accept a --show-item option that will make parsing its output quite a bit easier: the first instance becomes svn info --show-item=url and the second instance svn info --show-item=revision and you no longer need 'grep' or 'sed'. See: 'svn help info'. -- Brane > Thanks for your support, I don’t need access to svnwcrev anymore. > >> Am 05.06.2020 um 13:51 schrieb Roelof Berg <rb...@berg-solutions.de >> <mailto:rb...@berg-solutions.de>>: >> >> Update: I figured out, I need only an app that generates something >> like this line: >> >> {"http://svnsrv/svn/entangled_amplifier/Src/spatial_folder","2",""}, >> > […] >>> >>>> On Thu, Jun 4, 2020 at 10:05 AM Roelof Berg >>>> <rb...@berg-solutions.de <mailto:rb...@berg-solutions.de>> wrote: >>>>> ++++++++++++++++++++++++++++++++++++++ >>>>> + Does someone have a copy left of svnwcrev ? + >>>>> ++++++++++++++++++++++++++++++++++++++ >>>>> >>>>> […] >