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

Re: [RFH/PATCH] git-svn: adjust info to svn 1.7 and 1.8

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Mar 26, 2015, 16:02 UTC
Message-ID
<55142D9E.2010408@drmicha.warpmail.net>
In-Reply-To
<2036c42d7eae00d9cce33fc5fafc729f16a0b451.1427209737.git.git@drmicha.warpmail.net>
Michael J Gruber venit, vidit, dixit 24.03.2015 16:10:
Show 33 quoted lines
> t9119 refuses to run with svn versions greater than 1.6 since "git svn
> info" does not even try to match the output of "svn info" for later
> versions.
> 
> Adjust "git svn info" to match these versions and make t9119 run with
> them. This requires the following changes:
> 
> * compute checksums with SHA1 instead of MD5 with svn >= 1.7.0
> * omit the line "Revision: 0" for added content with svn >= 1.8.0 (TBC)
> * print the "Repository UUID" line even for added content with svn >=
>   1.8.0 (TBC)
> * add a "Relative URL" line for svn >= 1.8.0
> * add a "Working Copy Root Path" line for svn >= 1.8.0 (TBC, RFH)
> 
> Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
> ---
> 
> Notes:
>     While trying to increase my test run coverage I noticed that most of us won't
>     run t9119 at all. Bad bad.
>     
>     My svn is 1.8.11 (r1643975) on Fedora 21.
>     
>     I would appreciate help with the following items:
>     
>     TBC = to be confirmed: confirm the svn version where this change kicked it,
>     or run this patch and t9119 with an svn version other than mine. Please
>     run with "-v" to make sure only the RFH item fails, see below.
>     
>     RFH = request for help: I couldn't figure out how to get the working
>     copy root path in cmd_info.
>     
>     18 subtests will fail because of the RFH item.

I've figured out the exact revisions meanwhile - there's a git repo for svn :)

I would appreciate help with the RFH item, though: How to teach "git svn info" to output the "Working Copy Root Path"?

Michael
Previous: Michael J Gruber
Message 2 of 2 in “git-svn: adjust info to svn 1.7 and 1.8”
  1. git-svn: adjust info to svn 1.7 and 1.8Michael J Gruber, Mar 24, 2015
  2. Michael J GruberMar 26, 2015

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.