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

Re: GSOC remote-svn

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jul 23, 2012, 11:59 UTC
Message-ID
<20120723115902.GD14294@burratino>
In-Reply-To
<vpqr4s2nc0j.fsf@bauges.imag.fr>
Matthieu Moy wrote:
Show 10 quoted lines
> The man page for git-remote-helpers says:
>
> refspec <refspec>
>     [...] It is recommended that all importers providing the import
>     capability use this.
>
> I'm not sure I fully understand the rationale, but one difference
> between refs/<remote name>/* and refs/remotes/<remote name> is that
> refs/remotes/ is automatically updated by Git on push, while the private
> namespace isn't (it only receives updates when importing).

It's mostly to allow "git fetch" to avoid non fast-forward updates unless -f was used or the refspec starts with +.

I always liked the idea of tweaking the fast-import stream format to allow the import to happen on no branch at all since it would avoid all these questions. Maybe another day.

Thanks, Jonathan

Previous: Matthieu MoyNext: Florian Achleitner
Message 20 of 21 in “GSOC remote-svn”
  1. Florian AchleitnerJul 22, 2012
  2. Jonathan NiederJul 22, 2012
  3. Florian AchleitnerJul 23, 2012
  4. Jonathan NiederJul 23, 2012
  5. Add a svnrdump-simulator replaying a dump file for testing.Florian Achleitner, Jul 23, 2012
  6. Jonathan NiederJul 23, 2012
  7. Florian AchleitnerJul 23, 2012
  8. Florian AchleitnerJul 23, 2012
  9. Matthieu MoyJul 23, 2012
  10. Florian AchleitnerJul 23, 2012
  11. Matthieu MoyJul 23, 2012
  12. Jeff KingJul 23, 2012
  13. Junio C HamanoJul 23, 2012
  14. Add a svnrdump-simulator replaying a dump file for testing.Florian Achleitner, Jul 23, 2012
  15. Junio C HamanoJul 23, 2012
  16. Jonathan NiederJul 24, 2012
  17. Florian AchleitnerJul 25, 2012
  18. Erik Faye-LundJul 24, 2012
  19. Matthieu MoyJul 23, 2012
  20. Jonathan NiederJul 23, 2012
  21. Florian AchleitnerJul 23, 2012

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.