Hello guys !

News :  my script should not be a post-update hook, but an update hook... 
that's why I had not the good args in entry (thanks to Ian). Now every thing 
seems to be OK with this BUG:, CCMAIL:, FEATURE:, CCBUG: script written in 
Ruby.

I would only need a last test because my sendmail doesn't work (network 
trouble ? , firewall ? , i don't know).

Thank you for advance, don't hesitate to ask me on irc what you need.
(nick morice-net)

Regards

Jean-Nicolas Artaud 

Le vendredi 04 décembre 2009 04:04:18 PM, Johannes Sixt a écrit :
> Jean-Nicolas Artaud schrieb:
> > Le jeudi 03 décembre 2009 01:02:59 PM, vous avez écrit :
> >> #!/bin/sh
> >>
> >> treat_ref()
> >> {
> >>    old...@{1}      # this assumes that reflogs are available!
> >>    new=$1
> >
> > We I test it locally, my old and new are nil, is it normal or not ?
> > I get them ARGV[1] and ARGV[2]... the refname ARGV[0] isn't nil.
> 
> I do not quite understand. Your ARGV vector should be full of refs
> ("refs/heads/something"). You do not get SHA1s.
> 
> The snippet that is quoted above is a helper function that deals with only
> one of these refs.
> 
> (BTW, we are talking about a post-update hook, right?)
> 
> Please send follow-ups to [email protected] (Cc'd).
> 
> -- Hannes
> 

Attachment: update
Description: application/ruby

_______________________________________________
Kde-scm-interest mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-scm-interest

Reply via email to