Re: git svn and the post-receive hook

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <pascal@...>
Cc: git list <git@...>
Date: Saturday, August 2, 2008 - 2:43 pm

Pascal Obry <pascal@obry.net> writes:


Are you saying that there may be breakages that is made at the Subversion
side, and you would want to catch it?

What would you do _after_ finding out that somebody screwed up and you
have a borked history on the Subversion side already?

I do not think this belongs to "git svn rebase" (let alone "git rebase",
no way --- you won't rewrite nor reject the upstream even if you find
problems with it).

I understand that you would at least want to notice the damange to the
history that happened at the remote end, and I agree it would make sense
to do something like:

	$ git command-that-updates-the-remote-tracking-branch git-svn
        $ check-history git-svn@{1}..git-svn

The "command-that-updates" could be "svn fetch" or just a simple "fetch".

But the "check-history" script will be very specific to your project, and
I do not think it makes sense to make it a hook to the "command-that-updates".
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git svn and the post-receive hook, Pascal Obry, (Sat Aug 2, 12:05 pm)
Re: git svn and the post-receive hook, Junio C Hamano, (Sat Aug 2, 2:43 pm)
Re: git svn and the post-receive hook, Pascal Obry, (Sat Aug 2, 3:20 pm)
Re: git svn and the post-receive hook, Junio C Hamano, (Sat Aug 2, 4:16 pm)
Re: git svn and the post-receive hook, Miklos Vajna, (Sat Aug 2, 4:45 pm)
Re: git svn and the post-receive hook, Miklos Vajna, (Sat Aug 2, 2:03 pm)