Thomas STEININGER wrote on Tue, Feb 22, 2011 at 07:39:49 +0100:
> do i really understand, that i have to execute this:
> propedit --editor-cmd 'sed --flags'
> on a file? on all urls that are in my svn-repository?
> or how you mean?
>
On all revisions.
What you'll want is to write a script that takes a filename in argv[1]
and converts that file (in-place) from latin1 to utf8. Then you can use
that file as --editor-cmd.
Something like
% svn propedit --revprop -r $REV --editor-cmd 'perl -pi -e "s/\\xfc/\\xc3\\xbc/g"'
might just do the trick. (untested)
> -Thomas
>
>
>
>
> Daniel Shahaf <d.s_at_daniel.shahaf.name>
> 21.02.2011 19:34
>
> An
> Stephen Connolly <stephen.alan.connolly_at_gmail.com>
> Kopie
> Thomas STEININGER <tsteininger_at_racon-linz.at>, users_at_subversion.apache.org
> Thema
> Re: problem with mutated vowel in log-message-contents
>
>
>
>
>
>
> Stephen Connolly wrote on Fri, Feb 18, 2011 at 14:01:52 +0000:
> > unix shell scripting could solved it for you
> >
> > bash
> > for rev in $(svn log ... | sed -n -e "..."); do svn ps --revprop svn:log
> > "$(svn pg svn:log -r $rev | sed -e "s/oldstring/newstring/g;")" ... ;
> done
> >
> > I leave the ...'s as an exercise to tgeur reader
>
> Simpler:
> propedit --editor-cmd 'sed --flags'
>
>
>
>
>
> Der Austausch von Nachrichten mit o.a. Absender via e-mail dient ausschließlich Informationszwecken. Rechtsgeschäftliche Erklärungen dürfen über dieses Medium nicht ausgetauscht werden.
>
> Correspondence with a.m. sender via e-mail is only for information purposes. This medium is not to be used for the exchange of legally-binding communications.
Received on 2011-02-22 07:59:05 CET