Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: git-svn "Svndiff data contains invalid instruction" error since late February

  1. #1

    Default git-svn "Svndiff data contains invalid instruction" error since late February

    Since late February this year, every time I try to update my Git mirror of Mafia Subversion repository I get the following error:

    Code:
    Svndiff data contains invalid instruction: Invalid diff stream: [tgt] insn 0 starts beyond the target view position
    This happens on several different machines, and regardless of whether I update an existing git-svn repo or try to create a new one. The last commit I have been able to retrieve this way is r18472, dated 2018-02-22.

    Has anyone else here seen this error? On the one hand the presence of an author-map file in the repository suggests there are people who use Git to handle Mafia sources, on the other I have found no mention of such problems here.

  2. #2

    Default

    If there is a bug here, it's certainly with Sourceforge, so I'm moving this topic out of Bug Reports.

  3. #3
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,025

    Default

    On the one hand the presence of an author-map file in the repository suggests there are people who use Git to handle Mafia sources, on the other I have found no mention of such problems here.
    Originally Posted by Pineapple of Despair View Post
    I'm not seeing an author-map file when I browse KoLmafia on SourceForge with SVN. Is it possible that the file was generated by SourceForge in order to make the archive git compatible? I know there are people who were using git to pull KoLmafia however I am not aware of anyone who has commit access to the code base on SourceForge who is using git to commit.
    You just vehemently agreed with me
    Originally Posted by Veracity View Post
    I agree with frono.
    Originally Posted by Veracity View Post

  4. #4

    Default

    If there is a bug here, it's certainly with Sourceforge, so I'm moving this topic out of Bug Reports.
    Originally Posted by lostcalpolydude View Post
    Yes, it is almost certainly a Sourceforge issue; searching on the Internet for similar error messages suggest inconsistencies in the underlying file structure of the repository, which have to be corrected on the server side.

    I'm not seeing an author-map file when I browse KoLmafia on SourceForge with SVN.
    Originally Posted by fronobulax View Post
    It's there: util/authors.txt.

    I know there are people who were using git to pull KoLmafia however I am not aware of anyone who has commit access to the code base on SourceForge who is using git to commit.
    The way git-svn works is that in the end pushes are made over SVN anyway.

  5. #5
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,025

    Default

    It's there: util/authors.txt
    Originally Posted by Pineapple of Despair View Post
    Oh. The file has been there since r9697 (2011) and the only changes were made by shwei, a.k.a. holatuwol. I always thought it was some kind of credits, but the first commit comment says "Add authors.txt in case anyone needs author information when doing git-svn rebase". Learned something.

    That said, another comment says an author was added "to resolve git-svn fetch errors". Might be worth the effort to verify that the file is complete.
    You just vehemently agreed with me
    Originally Posted by Veracity View Post
    I agree with frono.
    Originally Posted by Veracity View Post

  6. #6
    Developer
    Join Date
    Aug 2009
    Posts
    2,751

    Default

    I've been using git-svn with Mafia for years. I don't have any issues on my end with using git svn-diff on my copy of the repository.

  7. #7
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,025

    Default

    I know there are people who were using git to pull KoLmafia however I am not aware of anyone who has commit access to the code base on SourceForge who is using git to commit.
    Originally Posted by fronobulax View Post
    Note to self: You are now aware that heeheehee does use git.
    You just vehemently agreed with me
    Originally Posted by Veracity View Post
    I agree with frono.
    Originally Posted by Veracity View Post

  8. #8
    Developer
    Join Date
    Aug 2009
    Posts
    2,751

    Default

    Admittedly I haven't committed in over a year, but I have used git-svn to commit. I believe hola does, too -- I think he's the one who cares about maintaining the authors.txt file in the first place.

  9. #9
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,025

    Default

    Admittedly I haven't committed in over a year, but I have used git-svn to commit. I believe hola does, too -- I think he's the one who cares about maintaining the authors.txt file in the first place.
    Originally Posted by heeheehee View Post
    I think it has been over a year since hola contributed. I do recall that when using git to access a svn repository became a thing, he cared about making it happen. veracity seems to be maintaining the Mac specific build code but I've lost track of her "personal" tools set.
    You just vehemently agreed with me
    Originally Posted by Veracity View Post
    I agree with frono.
    Originally Posted by Veracity View Post

  10. #10

    Default

    I've been using git-svn with Mafia for years. I don't have any issues on my end with using git svn-diff on my copy of the repository.
    Originally Posted by heeheehee View Post
    Interesting, I have tried this from both several different machines and using many, many different versions of Git... Have you perhaps got a copy of your repository available somewhere I could clone it from?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •