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

Re: Get Changed files of a particular revision (with folder structure)

From: Andy Levy <andy.levy_at_gmail.com>
Date: Wed, 21 Jan 2009 07:12:21 -0500

On Wed, Jan 21, 2009 at 06:22, rhitam <rhitamsanyal_at_gmail.com> wrote:
> Ok, this works , but there seems to be few issues. Here is what i
> did:
>
>
> 1. Wrote a C# code to first execute the show log of that particular
> revision.(Using the --xml option)
> 2. Write that to a text file .

Ugh. Disk I/O is slow. Why not load that XML into an XML object, and
loop through the elements instead?

> 3.Loop through all the "path" elements in it and call svn export -r
> REVNUM REPOURL LOCALPATH
>
> Now ,
>
> svn export command is being called serially . Should some respite be
> given after each call? Is there a chance of server blocking the
> request when the rate of svn export calls exceed certain limit ?

Yes, depending up on the configuration of the server. It may be set to
self-protect against DoS/flood attacks.

> Because once in a while while exporting each file , the server throws
> "remote server returned error (500)" . This issue is not always
> repeatable.

You'll have to look in the Apache logs to get more details on that error.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1040940

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-01-21 13:12:34 CET

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

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