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

Re: [PATCH] git-svn: do a partial rebuild if rev_map is out-of-date

From
EWEric Wong <normalperson@yhbt.net>
Date
Sep 18, 2008, 06:38 UTC
Message-ID
<20080918063754.GA13328@untitled>
In-Reply-To
<20080917031304.GA2505@riemann.deskinm.fdns.net>
Deskin Miller <deskinm@umich.edu> wrote:
Show 9 quoted lines
> This commit will have git-svn do a partial rebuild of the rev_map to
> match the true state of the branch, if it ever is used to fetch again.
> 
> This will only work for projects not using either noMetadata or
> useSvmProps configuration options; if you are using these options,
> git-svn will fall back to the previous behaviour.
> 
> Signed-off-by: Deskin Miller <deskinm@umich.edu>
> ---
Hi Deskin,
This seems to break the following test case for me:
*** t9107-git-svn-migrate.sh ***
*   ok 1: setup old-looking metadata
*   ok 2: git-svn-HEAD is a real HEAD
*   ok 3: initialize old-style (v0) git svn layout
*   ok 4: initialize a multi-repository repo
*   ok 5: multi-fetch works on partial urls + paths
*   ok 6: migrate --minimize on old inited layout
* FAIL 7: .rev_db auto-converted to .rev_map.UUID

I haven't had time to diagnose it. Also, can you add a test that demonstrates this functionality (and ensures things keeps working when future work is done on git-svn?)

Thanks.
-- 
Eric Wong
Previous: Deskin MillerNext: Deskin Miller
Message 2 of 5 in “git-svn: do a partial rebuild if rev_map is out-of-date”
  1. git-svn: do a partial rebuild if rev_map is out-of-dateDeskin Miller, Sep 17, 2008
  2. Eric WongSep 18, 2008
  3. 0/1 git-svn: testcase for partial rebuildDeskin Miller, Sep 21, 2008
  4. Eric WongSep 22, 2008
  5. 1/1 git-svn: do a partial rebuild if rev_map is out-of-dateDeskin Miller, Sep 21, 2008

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.