initial clone fails with 'Path ... is bad'

Issue #441 resolved
_wiz_
created an issue

The initial clone of an svn repository (in dumb mode, server is 1.4) fails after more than 3000 revisions with:

...
[r3472] $committername: add binaries
[r3473] $committername: add binaries
[r3474] $committername: add binaries
[r3475] $committername: add binaries
[r3476] $committername: add binaries
abort: Path grasp-atp-rel-2.1.1.tgz is bad

The commit looks fine to me:

# svn di -r3475:r3476
Index: branches/rel-2.1.1/grasp-bin-rel-2.1.1.tar.gz
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/rel-2.1.1/grasp-bin-rel-2.1.1.tar.gz
===================================================================
--- branches/rel-2.1.1/grasp-bin-rel-2.1.1.tar.gz       (revision 0)
+++ branches/rel-2.1.1/grasp-bin-rel-2.1.1.tar.gz       (revision 3476)

Property changes on: branches/rel-2.1.1/grasp-bin-rel-2.1.1.tar.gz
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/rel-2.1.1/grasp-cockpit-rel-2.1.1.tgz
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/rel-2.1.1/grasp-cockpit-rel-2.1.1.tgz
===================================================================
--- branches/rel-2.1.1/grasp-cockpit-rel-2.1.1.tgz      (revision 0)
+++ branches/rel-2.1.1/grasp-cockpit-rel-2.1.1.tgz      (revision 3476)

Property changes on: branches/rel-2.1.1/grasp-cockpit-rel-2.1.1.tgz
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/rel-2.1.1/grasp-atp-rel-2.1.1.tgz
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/rel-2.1.1/grasp-atp-rel-2.1.1.tgz
===================================================================
--- branches/rel-2.1.1/grasp-atp-rel-2.1.1.tgz  (revision 0)
+++ branches/rel-2.1.1/grasp-atp-rel-2.1.1.tgz  (revision 3476)

Property changes on: branches/rel-2.1.1/grasp-atp-rel-2.1.1.tgz
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property

and git svn did not complain about it.

mercurial-3.4.1, hgsubversion-1.8.1, subvertpy-0.9.2

Comments (4)

  1. _wiz_ reporter

    I understand what you're saying. However, this is a work repository that I can't share, and I'm not sure what makes it special.

    Is there some debugging output I can enable and provide to you to help track this down?

  2. Augie Fackler repo owner

    I was afraid of that. Unfortunately, I can't guess what debugging output would be likely to be useful.

    Does it still happen if you upgrade the server to something that's not ancient history? 1.4.x was last updated in 2007, which actually predates the existence of hgsubversion. I'd honestly start by moving to a version of Subversion that's less than 8 years old.

  3. Log in to comment