[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: customizations if svn source-code

From: Andy Levy <andy.levy_at_gmail.com>
Date: Tue, 6 Jan 2009 16:07:04 -0500

Please keep your replies on-list.

On Tue, Jan 6, 2009 at 16:03, Roberto Lima <smuxbr_at_gmail.com> wrote:
> Ok, can you tell me how do I get the stdout of svn in php with regular
> expression and return to me?

I'm not a PHP programmer.

You may not even need a full regular expression, just use a string
replace function to replace \n with <br />

> 2009/1/6 Andy Levy <andy.levy_at_gmail.com>
>>
>> On Tue, Jan 6, 2009 at 15:04, Roberto <smuxbr_at_gmail.com> wrote:
>> > Hi all,
>> > I'm creating an application where show logs the "svn checkout" and "svn
>> > update" project via web (transcript to html).
>> > In linux terminal when i download my project with "svn checkout" it
>> > shows:
>> >
>> > A cp/language/mail/index.php
>> > A cp/language/Portugues.php
>> > A cp/language/Deutsch.php
>> > A cp/language/Nederlands.php
>> > A cp/language/Italiano.php
>> > A cp/language/Espanol.php
>> > A cp/language/language.php
>> > A cp/language/Francais.php
>> > A cp/language/index.php
>> >
>> > And via Web its shows:
>> >
>> > A cp/language/mail/index.phpA cp/language/Portuguese.phpA
>> > cp/language/Deutsch.phpA cp/language/Nederlands.phpA
>> > cp/language/Italian.phpA cp/languageEspanol.phpA
>> > cp/language/language.phpA cp/language/Francais.phpA
>> > cp/language/index.php
>> >
>> >
>> > Where can I change in the source code of subversion to add the "<br />"
>> > html
>> > tag to skip lines?
>>
>> Don't change the source code of Subversion. Change whatever is
>> recording/processing the transcript to change newlines to <br />. It's
>> a pretty simple regular expression.
>
>
Received on 2009-01-06 22:08:08 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.