You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Marc Lustig <ml...@marclustig.com> on 2009/07/09 14:26:34 UTC

svnsync: Cannot accept non-LF line endings in 'svn:ignore' propert

Hi,

I am trying to replicate a 1.5.2 based repo (running on RHEL) using svnsync.

The mirror is running 1.6.1 based on Debian lenny.

I installed the pre-revprop-change hook and the init was also successfull.

Then, running the atual sync (non-interactive) results in the
following error at revision 301 (of 40xxx):

svnsync: Cannot accept non-LF line endings in 'svn:ignore' property

I walked thru google and found out that there is some trouble
(incompatibility) when using 1.x on the mirror side.
Ok, I installed 1.5.1 on the mirror.
But still I get the same error:
svnsync: Cannot accept non-LF line endings in 'svn:ignore' property

Anybody knows how to fix this?

Do I have to edit all svn:ignore properties of the original repo?
What please is the command to do that?

thanks
Marc

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2369401

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: svnsync: Cannot accept non-LF line endings in 'svn:ignore' propert

Posted by Stefan Sperling <st...@elego.de>.
On Sat, Jul 25, 2009 at 10:10:01AM -0400, Nico Kadel-Garcia wrote:
> On Thu, Jul 23, 2009 at 5:09 AM, Stefan Sperling<st...@elego.de> wrote:
> > I'm not saying that there is no problem, just pointing out that to
> > the best of our knowledge this should have been fixed with 1.6.3.
> >
> > Can you provide more information or otherwise help to diagnose the
> > problem more precisely? Such as a public test repository to sync
> > from which contains the property in question? Then others could test
> > with their 1.6.3 clients to see if they can reproduce your problem.
> >
> > Stefan
> 
> I was mistaken about the version of subversion on the particular
> server. I re-ran the process from scratch, and it does, in fact, work
> with svnsync to mirror an old repository with such EOL issues.

Thank you for confirming this, Nico.

Stefan

Re: svnsync: Cannot accept non-LF line endings in 'svn:ignore' propert

Posted by Nico Kadel-Garcia <nk...@gmail.com>.
On Thu, Jul 23, 2009 at 5:09 AM, Stefan Sperling<st...@elego.de> wrote:
> On Wed, Jul 22, 2009 at 07:55:51PM -0400, Nico Kadel-Garcia wrote:
>> On Sun, Jul 19, 2009 at 11:28 AM, Stefan Sperling<st...@elego.de> wrote:
>> > On Sun, Jul 19, 2009 at 11:21:58AM -0400, Nico Kadel-Garcia wrote:
>> >> On Thu, Jul 9, 2009 at 10:26 AM, Marc Lustig<ml...@marclustig.com> wrote:
>> >> > svnsync: Cannot accept non-LF line endings in 'svn:ignore' property
>> >>
>> >> Did you ever get past this? I just addressed it in a big repository
>> >> that I was trying to upgrade by using the latest subversion 'trunk'
>> >> code, nominally labeled 1.7.0 internally, to build a working svnsync
>> >> that addresses this issue. I'm also hoping that 1.6.4 will be released
>> >> as quickly as possible to address this.
>> >
>> > This was fixed in 1.6.3.
>> > You don't have build trunk or wait for 1.6.4 for this.
>>
>> Odd. It didn't work for me on RHEL 4 or RHEL 5, using the RPMforge
>> distribution of subversion 1.6.3 or a locally built one for RHEL 4.
>
> But it should work.
>
> And you said it worked for you using trunk, right?

I see it. That machine had it's subversion rolled back to an in-house
1.6.2-local release, to test soem features, and hadn't been re-updated
to 1.6.3 So 1.6.3 does, in fact, work.


>> > Version 1.6.3
>> > (22 Jun 2009, from /branches/1.6.x)
>> > http://svn.collab.net/repos/svn/tags/1.6.3
>> >
>> >  User-visible changes:
>> >  [...]
>> >  * make svnsync normalize svn:* props to LF line endings (issue #3404)
>> >  [...]
>> >
>> > Stefan
>>
>> It's a new feature: maybe I tripped over a bug for svn:ignore, and not
>> for simpler characteristics such as svn:log?
>
> No, it normalizes all svn:* props. All of them.
> I just checked the 1.6.3 release code again to make sure.
>
> I'm not saying that there is no problem, just pointing out that to
> the best of our knowledge this should have been fixed with 1.6.3.
>
> Can you provide more information or otherwise help to diagnose the
> problem more precisely? Such as a public test repository to sync
> from which contains the property in question? Then others could test
> with their 1.6.3 clients to see if they can reproduce your problem.
>
> Stefan

I was mistaken about the version of subversion on the particular
server. I re-ran the process from scratch, and it does, in fact, work
with svnsync to mirror an old repository with such EOL issues.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2375542

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: svnsync: Cannot accept non-LF line endings in 'svn:ignore' propert

Posted by Stefan Sperling <st...@elego.de>.
On Wed, Jul 22, 2009 at 07:55:51PM -0400, Nico Kadel-Garcia wrote:
> On Sun, Jul 19, 2009 at 11:28 AM, Stefan Sperling<st...@elego.de> wrote:
> > On Sun, Jul 19, 2009 at 11:21:58AM -0400, Nico Kadel-Garcia wrote:
> >> On Thu, Jul 9, 2009 at 10:26 AM, Marc Lustig<ml...@marclustig.com> wrote:
> >> > svnsync: Cannot accept non-LF line endings in 'svn:ignore' property
> >>
> >> Did you ever get past this? I just addressed it in a big repository
> >> that I was trying to upgrade by using the latest subversion 'trunk'
> >> code, nominally labeled 1.7.0 internally, to build a working svnsync
> >> that addresses this issue. I'm also hoping that 1.6.4 will be released
> >> as quickly as possible to address this.
> >
> > This was fixed in 1.6.3.
> > You don't have build trunk or wait for 1.6.4 for this.
> 
> Odd. It didn't work for me on RHEL 4 or RHEL 5, using the RPMforge
> distribution of subversion 1.6.3 or a locally built one for RHEL 4.

But it should work.

And you said it worked for you using trunk, right?

> > Version 1.6.3
> > (22 Jun 2009, from /branches/1.6.x)
> > http://svn.collab.net/repos/svn/tags/1.6.3
> >
> >  User-visible changes:
> >  [...]
> >  * make svnsync normalize svn:* props to LF line endings (issue #3404)
> >  [...]
> >
> > Stefan
> 
> It's a new feature: maybe I tripped over a bug for svn:ignore, and not
> for simpler characteristics such as svn:log?

No, it normalizes all svn:* props. All of them.
I just checked the 1.6.3 release code again to make sure.

I'm not saying that there is no problem, just pointing out that to
the best of our knowledge this should have been fixed with 1.6.3.

Can you provide more information or otherwise help to diagnose the
problem more precisely? Such as a public test repository to sync
from which contains the property in question? Then others could test
with their 1.6.3 clients to see if they can reproduce your problem.

Stefan


Re: svnsync: Cannot accept non-LF line endings in 'svn:ignore' propert

Posted by Nico Kadel-Garcia <nk...@gmail.com>.
On Sun, Jul 19, 2009 at 11:28 AM, Stefan Sperling<st...@elego.de> wrote:
> On Sun, Jul 19, 2009 at 11:21:58AM -0400, Nico Kadel-Garcia wrote:
>> On Thu, Jul 9, 2009 at 10:26 AM, Marc Lustig<ml...@marclustig.com> wrote:
>> > svnsync: Cannot accept non-LF line endings in 'svn:ignore' property
>>
>> Did you ever get past this? I just addressed it in a big repository
>> that I was trying to upgrade by using the latest subversion 'trunk'
>> code, nominally labeled 1.7.0 internally, to build a working svnsync
>> that addresses this issue. I'm also hoping that 1.6.4 will be released
>> as quickly as possible to address this.
>
> This was fixed in 1.6.3.
> You don't have build trunk or wait for 1.6.4 for this.

Odd. It didn't work for me on RHEL 4 or RHEL 5, using the RPMforge
distribution of subversion 1.6.3 or a locally built one for RHEL 4.

> Version 1.6.3
> (22 Jun 2009, from /branches/1.6.x)
> http://svn.collab.net/repos/svn/tags/1.6.3
>
>  User-visible changes:
>  [...]
>  * make svnsync normalize svn:* props to LF line endings (issue #3404)
>  [...]
>
> Stefan

It's a new feature: maybe I tripped over a bug for svn:ignore, and not
for simpler characteristics such as svn:log?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2374629

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: svnsync: Cannot accept non-LF line endings in 'svn:ignore' propert

Posted by Stefan Sperling <st...@elego.de>.
On Sun, Jul 19, 2009 at 11:21:58AM -0400, Nico Kadel-Garcia wrote:
> On Thu, Jul 9, 2009 at 10:26 AM, Marc Lustig<ml...@marclustig.com> wrote:
> > svnsync: Cannot accept non-LF line endings in 'svn:ignore' property
> 
> Did you ever get past this? I just addressed it in a big repository
> that I was trying to upgrade by using the latest subversion 'trunk'
> code, nominally labeled 1.7.0 internally, to build a working svnsync
> that addresses this issue. I'm also hoping that 1.6.4 will be released
> as quickly as possible to address this.

This was fixed in 1.6.3.
You don't have build trunk or wait for 1.6.4 for this.

Version 1.6.3
(22 Jun 2009, from /branches/1.6.x)
http://svn.collab.net/repos/svn/tags/1.6.3

 User-visible changes:
 [...]
  * make svnsync normalize svn:* props to LF line endings (issue #3404)
 [...]

Stefan

Re: svnsync: Cannot accept non-LF line endings in 'svn:ignore' propert

Posted by Nico Kadel-Garcia <nk...@gmail.com>.
On Thu, Jul 9, 2009 at 10:26 AM, Marc Lustig<ml...@marclustig.com> wrote:
> Hi,
>
> I am trying to replicate a 1.5.2 based repo (running on RHEL) using svnsync.
>
> The mirror is running 1.6.1 based on Debian lenny.
>
> I installed the pre-revprop-change hook and the init was also successfull.
>
> Then, running the atual sync (non-interactive) results in the
> following error at revision 301 (of 40xxx):
>
> svnsync: Cannot accept non-LF line endings in 'svn:ignore' property

Did you ever get past this? I just addressed it in a big repository
that I was trying to upgrade by using the latest subversion 'trunk'
code, nominally labeled 1.7.0 internally, to build a working svnsync
that addresses this issue. I'm also hoping that 1.6.4 will be released
as quickly as possible to address this.

> I walked thru google and found out that there is some trouble
> (incompatibility) when using 1.x on the mirror side.
> Ok, I installed 1.5.1 on the mirror.
> But still I get the same error:
> svnsync: Cannot accept non-LF line endings in 'svn:ignore' property

Yeah, it's relatively to edit the database files directly for svn:log
errors on the source repository side. But svn:ignore? That's a bit
trickier.

> Anybody knows how to fix this?
>
> Do I have to edit all svn:ignore properties of the original repo?
> What please is the command to do that?
>
> thanks
> Marc
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2369401
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2372431

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].