git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 1/2] git-svn.perl: perform deletions before anything else

From
EWEric Wong <normalperson@yhbt.net>
Date
Feb 19, 2012, 10:54 UTC
Message-ID
<20120219105442.GA11889@dcvr.yhbt.net>
In-Reply-To
<CAK8d-a+tdK=Jn6D+X=bJmKTzbESPqd8+S2nJr9_sfdb7MhLN1A@mail.gmail.com>
Steven Walter <stevenrwalter@gmail.com> wrote:
> I don't think git-svn should artificially fail in the case.  This is
> using svn 1.6.17
> What's the oldest version of svn supported by git-svn?  Perhaps if I
> retry with that version of svn, I would see a failure.  However, if
> libsvn-perl reports the failure correctly, isn't that good enough
> behavior?  No need to fail in git-svn before even trying, IMHO.

Originally (back in 2006/2007), the goal was to support SVN 1.1.x+. I'm not sure if I we ever lost support for such old versions.

I use Debian stable for testing patches, and SVN is 1.6.12 there. Otherwise, whatever people are willing to support and send patches/bugreports for is good.

> Is there a way to validate what the checksums should be, other than to
> look at it and say, "yup, the trees look okay?"
As far as I remember, that's how I originally wrote the tests.
> Assuming you agree with the above analysis, should I squash the test
> changes into my 2/2, or would you prefer a separate patch?

Your analysis seems correct. I always prefer test changes to be combined with corresponding commits to avoid breakage during bisect. Thanks!

Previous: Steven WalterNext: Steven Walter
Message 10 of 17 in “git-svn.perl: perform deletions before anything else”
  1. 1/2 git-svn.perl: perform deletions before anything elseSteven Walter, Feb 9, 2012
  2. 2/2 git-svn.perl: fix a false-positive in the "already exists" testSteven Walter, Feb 9, 2012
  3. Junio C HamanoFeb 9, 2012
  4. Steven WalterFeb 9, 2012
  5. 1/2 git-svn.perl: perform deletions before anything elseSteven Walter, Feb 9, 2012
  6. Eric WongFeb 12, 2012
  7. Steven WalterFeb 12, 2012
  8. Eric WongFeb 12, 2012
  9. Steven WalterFeb 15, 2012
  10. Eric WongFeb 19, 2012
  11. git-svn.perl: fix a false-positive in the "already exists" testSteven Walter, Feb 20, 2012
  12. Eric WongFeb 22, 2012
  13. Junio C HamanoFeb 22, 2012
  14. Steven WalterFeb 22, 2012
  15. Junio C HamanoFeb 22, 2012
  16. Steven WalterFeb 23, 2012
  17. Thomas RastFeb 9, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.