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

Re: git-svn: regression with funny chars in svn repo url

From
EWEric Wong <normalperson@yhbt.net>
Date
May 11, 2008, 00:10 UTC
Message-ID
<20080511000953.GA3128@yp-box.dyndns.org>
In-Reply-To
<d06901f0804081454r76a373e6h745f99a9dcbd6bc5@mail.gmail.com>
Hi again, sorry I've forgotten about this issue for a while :x
Panagiotis Vossos <pavossos@gmail.com> wrote:
Show 88 quoted lines
> On Mon, Apr 7, 2008 at 11:11 AM, Eric Wong <normalperson@yhbt.net> wrote:
> 
> > Panagiotis Vossos <pavossos@gmail.com> wrote:
> >  > I keep a copy of the gtk+ svn repository on my machine and I have
> >  > noticed the following bug with git-svn:
> >  >
> >  > ~/gitproj/gtk+$ git-svn --version
> >  > git-svn version 1.5.4.5 (svn 1.4.6)
> >  >
> >  > ~/gitproj/gtk+$ git-svn rebase
> >  > Apache got a malformed URI: REPORT request failed on
> >  > '/svn/gtk+/!svn/vcc/default': Unusable URI: it does not refer to this
> >  > repository at /usr/local/bin/git-svn line 3821
> >
> >  I've known of this bug for a while but didn't track it down until
> >  now.  Please let me know if this fixes things for you and if
> >  there are any regressions; thanks.
> >
> >  From a9ebe54adf7ae2620fba1f638dee9566f8ccca82 Mon Sep 17 00:00:00 2001
> >  From: Eric Wong <normalperson@yhbt.net>
> >  Date: Mon, 7 Apr 2008 00:41:44 -0700
> >  Subject: [PATCH] git-svn: fix cloning of HTTP URLs with '+' in their path
> >
> >  With this, git svn clone -s http://svn.gnome.org/svn/gtk+
> >  is successful.
> 
> First of all, thanks for your reply.
> 
> I applied the patch, but now 'git-svn rebase' gives me
> a different error.
> 
> first, some context (I am on a branch based on remote trunk):
> 
> ~/gitproj/gtk+$ git log | head
> commit e350328dee85f872db7689bf4ec7b577419333ee
> Author: tvb <tvb@7eb1c76a-c725-0410-a3b5-a37faf6256f8>
> Date:   Sun Apr 6 03:10:23 2008 +0000
> 
>         * gtk/gtkwidget.c: Clarified a g_warning message regarding
>         parsing accelerators from builder files.
> 
>     git-svn-id: http://svn.gnome.org/svn/gtk+/trunk@19978
> 7eb1c76a-c725-0410-a3b5-a37faf6256f8
> 
> 
> Trying with the latest git from the maint branch, with your patch applied:
> 
> ~/gitproj/gtk+$ git-svn --version
> git-svn version 1.5.4.5.dirty (svn 1.4.6)
> 
> ~/gitproj/gtk+$ git-svn rebase
> Index mismatch: d486332848849ca1e0555d4608df396946e20ad0 !=
> ee3933caad632a093c1f7d98b813298ee806f333
> rereading e350328dee85f872db7689bf4ec7b577419333ee
>         M       Makefile.decl
>         D       gtk/compose-parse.py
>         D       gtk/gtkimcontextsimpleseqs.h
>         D       gtk/gtkmountoperation.c
>         D       gtk/gtkmountoperation.h
>         M       gtk/gtkprogressbar.c
>         M       gtk/gtkfilechooserentry.h
>         M       gtk/gtktreeitem.c
>         M       gtk/gtkfilechooserdialog.c
>         M       gtk/gtkwidget.c
>         M       gtk/gtktreemodelfilter.c
>         M       gtk/gtkwidget.h
>         M       gtk/gtkfixed.c
>         M       gtk/gtkexpander.c
> [lots and lots of lines snipped]
>         M       gdk/gdkgc.h
>         M       gdk/gdkcairo.h
>         M       gdk/Makefile.am
>         M       gdk/x11/gdkdisplay-x11.c
>         M       gdk/x11/gdkkeys-x11.c
>         M       gdk/x11/gdkscreen-x11.c
>         M       gdk/x11/gdkprivate-x11.h
>         M       gdk/x11/gdkgeometry-x11.c
>         M       gdk/x11/gdkinput-x11.c
>         M       gdk/x11/gdktestutils-x11.c
>         M       gdk/x11/gdkwindow-x11.c
>         M       gdk/x11/gdkcolor-x11.c
>         M       gdk/x11/gdkmain-x11.c
>         M       gdk/x11/gdkgc-x11.c
>         M       Makefile.am
>         M       examples/scribble-xinput/scribble-xinput.c
> W: -empty_dir: trunk/modules/other/gail/tests
> Last fetched revision of refs/remotes/trunk was r19978, but we are
> about to fetch: r19234!

Really weird. This could be a rev_db => rev_map migration issues, but I haven't been able to reproduce any of it. However, for most users (those not using noMetadata or useSvmProps options, just blowing away rev_db is safe).

-- 
Eric Wong
Previous: Panagiotis VossosNext: Eric Wong
Message 4 of 5 in “git-svn: regression with funny chars in svn repo url”
  1. Panagiotis VossosApr 1, 2008
  2. Eric WongApr 7, 2008
  3. Panagiotis VossosApr 8, 2008
  4. Eric WongMay 11, 2008
  5. git-svn: fix cloning of HTTP URLs with '+' in their pathEric Wong, May 11, 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.