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

From: Eric Wong <[email-masked]>
Date: Wed, 17 Sep 2008 23:38:04 -0700

Deskin Miller <[email-masked]> wrote:
> 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 <[email-masked]>
> ---

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