git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pascal Obry <pascal@obry.net>
To: git list <git@vger.kernel.org>
Subject: git svn and the post-receive hook
Date: Sat, 02 Aug 2008 18:05:16 +0200	[thread overview]
Message-ID: <489485BC.1020607@obry.net> (raw)


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

             reply	other threads:[~2008-08-02 16:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-02 16:05 Pascal Obry [this message]
2008-08-02 18:03 ` git svn and the post-receive hook Miklos Vajna
2008-08-02 18:22 ` Junio C Hamano
2008-08-02 18:43 ` Junio C Hamano
2008-08-02 19:20   ` Pascal Obry
2008-08-02 20:16     ` Junio C Hamano
2008-08-02 20:45       ` Miklos Vajna

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=489485BC.1020607@obry.net \
    --to=pascal@obry.net \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).