Re: Re: Antwort: Re: problem with mutated vowel in log-message-contents

2011-02-22 Thread Daniel Shahaf
Tony Sweeney wrote on Tue, Feb 22, 2011 at 11:52:09 -: > Which is why you should probably use iconv(1) or any of the APIs listed here: > > http://www.unicodetools.com/ > +1 to iconv. In reality, the editor-cmd.sh script will check whether the log message (which, again, will be argv[1]) is i

RE: Re: Antwort: Re: problem with mutated vowel in log-message-contents

2011-02-22 Thread Tony Sweeney
> -Original Message- > From: Daniel Shahaf [mailto:d...@daniel.shahaf.name] > Sent: 22 February 2011 09:34 > To: Johan Corveleyn > Cc: Thomas STEININGER; Stephen Connolly; users@subversion.apache.org > Subject: Re: Re: Antwort: Re: problem with mutated vowel in >

Re: Re: Antwort: Re: problem with mutated vowel in log-message-contents

2011-02-22 Thread Daniel Shahaf
Daniel Shahaf wrote on Tue, Feb 22, 2011 at 11:26:25 +0200: > Johan Corveleyn wrote on Tue, Feb 22, 2011 at 09:43:25 +0100: > > So, all that being said, what Daniel means is that you could apply > > something like: > > > > svn propedit --revprop -r $REV --editor-cmd 'perl -pi -e > > "s/\\xfc/\

Re: Re: Antwort: Re: problem with mutated vowel in log-message-contents

2011-02-22 Thread Daniel Shahaf
Johan Corveleyn wrote on Tue, Feb 22, 2011 at 09:43:25 +0100: > So, all that being said, what Daniel means is that you could apply > something like: > > svn propedit --revprop -r $REV --editor-cmd 'perl -pi -e > "s/\\xfc/\\xc3\\xbc/g"' > > to all revisions (REV) that need to be corrected (eit

Re: Re: Antwort: Re: problem with mutated vowel in log-message-contents

2011-02-22 Thread Johan Corveleyn
[ Please do not top-post on this list, i.e. put your reply inline or below the thing you're replying to. Also, if possible, use plain-text email. More below ... ] On Tue, Feb 22, 2011 at 8:27 AM, Thomas STEININGER wrote: > Daniel Shahaf > > Thomas STEININGER wrote on Tue, Feb 22, 2011 at 07:39:4

Re: Antwort: Re: Antwort: Re: problem with mutated vowel in log-message-contents

2011-02-22 Thread Ryan Schmidt
On Feb 22, 2011, at 01:27, Thomas STEININGER wrote: > Ok - you mean that i start a script that iterates over all files and within > over all revisions of the repository > and execute on it your command. No, just iterate over all revisions. As you've said before and again below, you're not goi

Antwort: Re: Antwort: Re: problem with mutated vowel in log-message-contents

2011-02-21 Thread Thomas STEININGER
n-comments. How can i get this done? Or does i have misunderstood your trick? -Thomas Daniel Shahaf 22.02.2011 07:58 An Thomas STEININGER Kopie Stephen Connolly , users@subversion.apache.org Thema Re: Antwort: Re: problem with mutated vowel in log-message-contents Thomas STEININGE

Re: Antwort: Re: problem with mutated vowel in log-message-contents

2011-02-21 Thread Daniel Shahaf
trick. (untested) > -Thomas > > > > > Daniel Shahaf > 21.02.2011 19:34 > > An > Stephen Connolly > Kopie > Thomas STEININGER , users@subversion.apache.org > Thema > Re: problem with mutated vowel in log-message-contents > > > > > &

Antwort: Re: problem with mutated vowel in log-message-contents

2011-02-21 Thread Thomas STEININGER
g Thema Re: problem with mutated vowel in log-message-contents Stephen Connolly wrote on Fri, Feb 18, 2011 at 14:01:52 +: > unix shell scripting could solved it for you > > bash > for rev in $(svn log ... | sed -n -e "..."); do svn ps --revprop svn:log > "$(svn

Re: problem with mutated vowel in log-message-contents

2011-02-21 Thread Daniel Shahaf
Stephen Connolly wrote on Fri, Feb 18, 2011 at 14:01:52 +: > 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 a

Re: problem with mutated vowel in log-message-contents

2011-02-21 Thread Daniel Shahaf
I think what you really want is to replace a latin1 ü by a UTF-8 ü (byte sequence C3 BC). Thomas STEININGER wrote on Fri, Feb 18, 2011 at 13:53:43 +0100: > i need a tip to solve my problem with log-messages in our > subversion-repository. (see the mail-conversation with the tortoisesvn > team

Re: problem with mutated vowel in log-message-contents

2011-02-20 Thread Stephen Connolly
bash will handle the multiline in my case (try and see) but your example will handle if log contains " - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 21 Feb 2011 07:18, "Lo

Re: problem with mutated vowel in log-message-contents

2011-02-20 Thread Lorenz
Stephen Connolly wrote: >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 svn:log may be multi-line ... ... but > svn pg svn:log --revprop -r

Re: problem with mutated vowel in log-message-contents

2011-02-18 Thread Thorsten Schöning
Guten Tag Thomas STEININGER, am Freitag, 18. Februar 2011 um 13:53 schrieben Sie: > i need a tip to solve my problem with log-messages in our > subversion-repository. (see the mail-conversation with the tortoisesvn > team below). > there are message that contain mutated vowel and i need to find a

Re: problem with mutated vowel in log-message-contents

2011-02-18 Thread Stephen Connolly
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 - Stephen --- Sent from my Android phone, so ran

problem with mutated vowel in log-message-contents

2011-02-18 Thread Thomas STEININGER
i need a tip to solve my problem with log-messages in our subversion-repository. (see the mail-conversation with the tortoisesvn team below). there are message that contain mutated vowel and i need to find all them and correct them. f.e. i want to replace 'übergabe' by 'uebergabe' or if this is