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

git svn and the post-receive hook

From
Pascal Obry <pascal@obry.net>
Date
Aug 2, 2008, 16:05 UTC
Message-ID
<489485BC.1020607@obry.net>

At the moment it seems to me that the post-receive hook is not called when tracking a remove Subversion repository.

I think it would be nice to call the post-receive hook at the end of:
    $ git svn rebase
Why I need this?

I'd like to check for example that if a file has been added to the remote Subversion repository then it is properly added into a MANIFEST file. I'd also like to check some style rules. This would help to detect some problems when one has no way to add hooks on the Subversion repository.

I have zero experience with Perl so I do not feel like hacking this myself.
What do you think?
Is this already possible (I may have missed something)?

Thanks, Pascal.

-- 
--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
Next: Miklos Vajna
Message 1 of 7 in “git svn and the post-receive hook”
  1. Pascal ObryAug 2, 2008
  2. Miklos VajnaAug 2, 2008
  3. Junio C HamanoAug 2, 2008
  4. Junio C HamanoAug 2, 2008
  5. Pascal ObryAug 2, 2008
  6. Junio C HamanoAug 2, 2008
  7. Miklos VajnaAug 2, 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.