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

Re: [PATCH] git-svn: correctly access repos when only given partial read permissions

From
EWEric Wong <normalperson@yhbt.net>
Date
Dec 2, 2006, 22:24 UTC
Message-ID
<20061202222433.GA21171@localdomain>
In-Reply-To
<4571F6E7.4050809@vilain.net>
Sam Vilain <sam@vilain.net> wrote:
Show 24 quoted lines
> Eric Wong wrote:
> > Sometimes users are given only read access to a subtree inside a
> > repository, and git-svn could not read log information (and thus
> > fetch commits) when connecting a session to the root of the
> > repository.  We now start an SVN::Ra session with the full URL
> > of what we're tracking, and not the repository root as before.
> > 
> > This change was made much easier with a cleanup of
> > repo_path_split() usage as well as improving the accounting of
> > authentication batons.
> 
> This broke mirroring file:/// URIs;
> 
> eg, if I have ~/.svk/local as a SVN repository, which has a complete
> mirror of a URL under mirror/fai, and I want to copy the revisions into
> git using git-svn, I use:
> 
> perl ~/src/git/git-svn multi-init -t tags -T trunk \
>      file:///home/samv/.svk/local/mirror/fai
> 
> I now get this error:
> 
> Filesystem has no item: File not found: revision 8514, path
> '/mirror/fai/tags/mirror/fai/tags' at /home/samv/src/git/git-svn line 3236

This should be fixed in 1ca7558dd838e82f6f6b8611b981654fa4ecde2b in Junio's master: "git-svn: fix multi-init".

> (next, I'll make git-svn correctly look at the svm:* revprops to get the
> upstream repo URL and revision number for the commit message)

Cool. While you're at it, would you mind looking into supporting some of the merge revprops that I've heard about, too? Thanks.

Previous: Sam VilainNext: Sam Vilain
Message 4 of 5 in “git-svn: correctly access repos when only given partial read permissions”
  1. git-svn: correctly access repos when only given partial read permissionsEric Wong, Nov 25, 2006
  2. git-svn: exit with status 1 for test failuresEric Wong, Nov 25, 2006
  3. Sam VilainDec 2, 2006
  4. Eric WongDec 2, 2006
  5. Sam VilainDec 2, 2006

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.