Discussion:
svndumpfilter crash on empty revisions
Steven Barbaglia
2017-02-02 14:57:02 UTC
Permalink
I am moving an SVN repository from one third-party remote server to a local one and I would like to remove empty revisions but svndumpfilter keeps crashing. I first loaded the dump from svnradmin into a local repository and dumped it again. I also tried with a dump that just includes the first few revisions, but svndumpfilter keeps crashing. Some of the attempts include:

svndumpfilter --drop-empty-revs --renumber-revs include / < svnadmin.dump > svndumpfilter.dump
svndumpfilter include / < svnadmin.dump > svndumpfilter.dump
svndumpfilter exclude junk < svnadmin.dump > svndumpfilter.dump

I am attaching the dump with just the first few revisions and a crash log.

PS I am using the latest public svn version, 1.9.5 from CollabNet for Windows 64-bit.

-----------------------------------------------------------------
Sinara provides software development services and software products to major financial sector clients. For 25 years, we have combined strong technical skills with a pragmatic and flexible approach to deliver and support reliable IT systems for a global client base.

http://www.sinara.com
mailto:***@sinara.co.uk
+44 20 7940 7950

Disclaimer: This e-mail message (and any attachments) is confidential and may contain privileged information. It is for the intended recipient only. If you are not the intended recipient, you must not copy, distribute or use any of the information in it. If you receive this message in error please notify us as soon as possible and delete it. Copyright in this e-mail and attachments created by us belongs to Sinara Consultants Limited. Internet e-mails are not secure. Sinara does not accept responsibility for changes made to this message after it was sent. Should you communicate with anyone at Sinara by email you consent to us monitoring and reading any such correspondence.
Stefan Sperling
2017-02-03 08:52:24 UTC
Permalink
Post by Steven Barbaglia
svndumpfilter --drop-empty-revs --renumber-revs include / < svnadmin.dump > svndumpfilter.dump
svndumpfilter include / < svnadmin.dump > svndumpfilter.dump
svndumpfilter exclude junk < svnadmin.dump > svndumpfilter.dump
I am attaching the dump with just the first few revisions and a crash log.
PS I am using the latest public svn version, 1.9.5 from CollabNet for Windows 64-bit.
Thank Steven!
Providing a dump file which triggered the problem helped a lot.

I have fixed this problem in https://svn.apache.org/r1781507
I expect this bug to get patched in the next 1.9.x release.

Stefan
Steven Barbaglia
2017-02-03 09:59:29 UTC
Permalink
Thank you for the quick fix.

-----Original Message-----
From: Stefan Sperling [mailto:***@elego.de]
Sent: Friday, 3 February, 2017 08:52
To: Steven Barbaglia
Cc: ***@subversion.apache.org
Subject: Re: svndumpfilter crash on empty revisions
Post by Steven Barbaglia
svndumpfilter --drop-empty-revs --renumber-revs include / < svnadmin.dump > svndumpfilter.dump
svndumpfilter include / < svnadmin.dump > svndumpfilter.dump
svndumpfilter exclude junk < svnadmin.dump > svndumpfilter.dump
I am attaching the dump with just the first few revisions and a crash log.
PS I am using the latest public svn version, 1.9.5 from CollabNet for Windows 64-bit.
Thank Steven!
Providing a dump file which triggered the problem helped a lot.

I have fixed this problem in https://svn.apache.org/r1781507 I expect this bug to get patched in the next 1.9.x release.

Stefan
-----------------------------------------------------------------
Sinara provides software development services and software products to major financial sector clients. For 25 years, we have combined strong technical skills with a pragmatic and flexible approach to deliver and support reliable IT systems for a global client base.

http://www.sinara.com
mailto:***@sinara.co.uk
+44 20 7940 7950

Disclaimer: This e-mail message (and any attachments) is confidential and may contain privileged information. It is for the intended recipient only. If you are not the intended recipient, you must not copy, distribute or use any of the information in it. If you receive this message in error please notify us as soon as possible and delete it. Copyright in this e-mail and attachments created by us belongs to Sinara Consultants Limited. Internet e-mails are not secure. Sinara does not accept responsibility for changes made to this message after it was sent. Should you communicate with anyone at Sinara by email you consent to us monitoring and reading any such correspondence.
Daniel Shahaf
2017-02-03 15:50:36 UTC
Permalink
Post by Stefan Sperling
Thank Steven!
Providing a dump file which triggered the problem helped a lot.
I think we've had a miscommunication here. Brian Colavito reported this
problem two weeks ago and I confirmed/reproduced it then. I'm entirely
not sure why nobody fixed it until it was independently reported
a second time.
Stefan Sperling
2017-02-03 17:23:46 UTC
Permalink
Post by Daniel Shahaf
Post by Stefan Sperling
Thank Steven!
Providing a dump file which triggered the problem helped a lot.
I think we've had a miscommunication here. Brian Colavito reported this
problem two weeks ago and I confirmed/reproduced it then. I'm entirely
not sure why nobody fixed it until it was independently reported
a second time.
Ah, thanks. I missed those emails. It seems we agree on how to fix it.
No harm done :)

Loading...