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

Re: git-svn strangeness with tags and Squirrelmail repo

From
PBPeter Baumann <waste.manager@gmx.de>
Date
Jun 20, 2007, 10:33 UTC
Message-ID
<20070620103317.GF12089@xp.machine.xx>
In-Reply-To
<46a038f90706200213p2d1e3ba3nf58107584afe4901@mail.gmail.com>

On Wed, Jun 20, 2007 at 09:13:18PM +1200, Martin Langhoff wrote: [...]

Show 27 quoted lines
> > >   [svn-remote "svn"]
> > >        url = http://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail
> > >        fetch = trunk/squirrelmail:refs/heads/svn/trunk
> > >        branches = branches/*/squirrelmail:refs/heads/svn/*
> > >        tags = tags/*/squirrelmail:refs/tags/svn/*
> >
> > git-svn expects 'refs/remotes/' in the local ref name.  Otherwise,
> > the left-hand side is correct.
> 
>  Good to know!
> 
> > > and when I do that -- trunk and branches do what I want, but tags
> > > aren't imported anymore. :-/
> >
> > Now its odd to me that trunks and branches even works with those ref
> > names.
> 
>  I'm lucky then ;-)
> 
>  My reason for the "alternative" locations is to match a bit better the
>  v1.5.0 behaviour re branches, tags and remotes, and to run the import
>  directly into a bare repo on git.catalyst.net.nz
> 
>  - Tags, by virtue of landing under refs/remotes are being treated as
>  heads rather than tags. That's why I want to have them in
>  refs/tags/<bla>/*
> 

But Tags are just heads in SVN. There are many repos where a tag changes in time and so tags are often used as they were branches where you develop on.

Show 6 quoted lines
>  - If branches + trunk end up in refs/remotes then my bare repo /
>  gateway doesn't work well - -refs/remotes aren't cloned or fetched
> 
>  - gitweb refuses to show those heads/tags (maybe it's because it's an
>  old version?)
> 
[ Not sure about this, but could it be that gitweb never shows branches
  under refs/remotes ? ]
-Peter
Previous: Martin Langhoff
Message 4 of 4 in “git-svn strangeness with tags and Squirrelmail repo”
  1. Martin LanghoffJun 20, 2007
  2. Eric WongJun 20, 2007
  3. Martin LanghoffJun 20, 2007
  4. Peter BaumannJun 20, 2007

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.