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

Re: [PATCH] svnadmin load will not import dump with windows newline character in svn:mergeinfo

From: Paul Burba <ptburba_at_gmail.com>
Date: Mon, 11 May 2009 11:49:11 -0400

On Mon, May 11, 2009 at 10:51 AM, Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:
> What Ben said.
>
> Also, I think the patch here is orthogonal to issue #3404 et al, since
> John said something about a segfault.  John, could you say where the
> segfault is?  Can you reproduce it without using svnadmin (by direct API
> usage)?
>
> B. Smith-Mannschott wrote on Mon, 11 May 2009 at 07:31 +0200:
>> > On May 8, 2009 3:23 PM, "John Skopis" <jskopis_at_backstopsolutions.com> wrote:
>> >
>> > Hello,
>> >
>> > svnadmin load fails while importing a dump that contains a windows newline
>> > in svn:mergeinfo prop. I have not done extensive testing on this patch, but
>> > it should work (in that it doesn't segfault when I attempt to import a
>> > revision with \r\n in mergeinfo). Be advised I am not actually a developer.

John,

To follow-up on what Daniel asked: How exactly did svnadmin load fail?
 Did you actually get a segfault or did you get an error something
like this?

  1.6.2>svnadmin load ..\repositories\t1 < 131.dump

  <SNIP successful txn>

  ------- Committed revision 7 >>>

  <<< Started new transaction, based on original revision 8
       * editing path : A_COPY ...svnadmin: Dumpstream data appears to
be malformed

Or something else entirely?

Paul

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2192755
Received on 2009-05-11 17:49:30 CEST

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

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