Recent

Author Topic: [SOLVED] svn checkout of main branch core dumps  (Read 5302 times)

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
[SOLVED] svn checkout of main branch core dumps
« on: August 08, 2021, 02:43:23 pm »
Code: Text  [Select][+][-]
  1. trev@shadow [/home/trev] $ svn checkout https://github.com/fpc/Lazarus.git/branches/main main
  2. svn: E235000: In file 'subversion/libsvn_wc/wc_db.c' line 1648: assertion failed (SVN_IS_VALID_REVNUM(changed_rev))
  3. Abort (core dumped)

On the other hand, using the same approach for fixes_2_0 and fixes_2_2 works.

Any ideas? It doesn't complain that there's no main branch, so it seems valid, but I'm the first to admit "I know nothing!" when it comes to this.

I also tried changing to the new repo directory and doing svn update which core dumps with the same message.
« Last Edit: August 09, 2021, 12:42:20 pm by trev »

ccrause

  • Hero Member
  • *****
  • Posts: 845
Re: svn checkout of main branch core dumps
« Reply #1 on: August 08, 2021, 10:40:33 pm »
Code: Text  [Select][+][-]
  1. trev@shadow [/home/trev] $ svn checkout https://github.com/fpc/Lazarus.git/branches/main main
  2. svn: E235000: In file 'subversion/libsvn_wc/wc_db.c' line 1648: assertion failed (SVN_IS_VALID_REVNUM(changed_rev))
  3. Abort (core dumped)
Same problem on Linux Mint 20.2 and svn 1.13.0

rsz

  • New Member
  • *
  • Posts: 45
Re: svn checkout of main branch core dumps
« Reply #2 on: August 09, 2021, 12:36:11 am »
Any ideas? It doesn't complain that there's no main branch, so it seems valid, but I'm the first to admit "I know nothing!" when it comes to this.

I know nothing of this either but I did a bit of searching and some users mentioned that they reverted to an older version in the past from 1.8 to 1.7 and that solved the issue. I was curious so I installed an old ubuntu chroot (precise pangolin) and subversion 1.6.17 inside it and the same command succeeds. Looks like it's a regression that was introduced and never fixed. It does not work with 1.14.1 either.

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: svn checkout of main branch core dumps
« Reply #3 on: August 09, 2021, 01:21:16 am »
* Fails with FreeBSD subversion 1.14.1
* Fails with macOS 10.14 subversion 1.10.4

The curious thing is that it only fails for Lazarus main. Other Lazarus branches are OK. It also succeeds with FPC main.

dbannon

  • Hero Member
  • *****
  • Posts: 2786
    • tomboy-ng, a rewrite of the classic Tomboy
Re: svn checkout of main branch core dumps
« Reply #4 on: August 09, 2021, 09:50:17 am »
Might be worthwhile trying without the ".git" at the end of the URL.  It looks to me that the SVN URL is

Code: [Select]
https://github.com/fpc/Lazarus
See -

Code: [Select]
curl -i -u $GH_USER https://api.github.com/repos/fpc/Lazarus
......
  "clone_url": "https://github.com/fpc/Lazarus.git",
  "svn_url": "https://github.com/fpc/Lazarus",
.....

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: svn checkout of main branch core dumps
« Reply #5 on: August 09, 2021, 10:01:15 am »
Code: Text  [Select][+][-]
  1. trev@macmini8 [/Users/trev] $ svn checkout https://github.com/fpc/Lazarus/branches/main main
  2. svn: E235000: In file '/BuildRoot/Library/Caches/com.apple.xbs/Sources/subversion/subversion-83/subversion/subversion/libsvn_wc/wc_db.c' line 1648: assertion failed (SVN_IS_VALID_REVNUM(changed_rev))
  3. Abort

Same issue Davo.

dbannon

  • Hero Member
  • *****
  • Posts: 2786
    • tomboy-ng, a rewrite of the classic Tomboy
Re: svn checkout of main branch core dumps
« Reply #6 on: August 09, 2021, 10:17:14 am »
Oh, well, thats all I can offer.

I'm guessing it checks out with git OK so maybe its time ....

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: svn checkout of main branch core dumps
« Reply #7 on: August 09, 2021, 10:53:28 am »
As a workaround, you might do this:
Code: Pascal  [Select][+][-]
  1. svn co --depth files https://github.com/fpc/Lazarus/branches all
  2. cd all
  3. svn up --set-depth infinity main

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: svn checkout of main branch core dumps
« Reply #8 on: August 09, 2021, 12:25:01 pm »
Bonza Alfred! Used in the Wiki with attribution.

 

TinyPortal © 2005-2018