On Fri, Jan 8, 2010 at 7:05 AM, Pettersson, Martin
<[email protected]> wrote:
> I cannot pull merge requests from my server:
>
>
> $ git pull   git://git.myserver.com/testmp/testmp.git   refs/merge-requests/1
> fatal: Couldn't find remote ref refs/merge-requests/1
>
> If I try to update the merge request I get this:
> pette...@etath-wwn097 ~/Desktop/martins-test (master)
> $ git push   [email protected]:testmp/testmp.git   
> master:refs/merge-requests/1
> original_command: "git-receive-pack 'testmp/testmp.git'"
> user: "martin"
> git-shell -c "git-receive-pack 
> '/home/git/repositories/c8b/542/4f962a1a21f42a181b217b66a8086d94a9.git'"
> Counting objects: 5, done.
> Delta compression using up to 2 threads.
> Compressing objects: 100% (2/2), done.
> Writing objects: 100% (3/3), 273 bytes, done.
> Total 3 (delta 1), reused 0 (delta 0)
> *** Update hook: unknown type of update to ref refs/merge-requests/1 of type 
> commit
> error: hooks/update exited with error code 1

This is coming from data/hooks/update which is the hooks that are
symlinked into $repo_dir/hooks. The update hook is the standard update
hook from the git distro, however you shouldn't make it executable
unless you really want to run it, the only hooks required for
gitorious to work are post-receive, post-update (if you need http
cloning) & pre-receive.



> error: hook declined to update refs/merge-requests/1
> To [email protected]:testmp/testmp.git
>  ! [remote rejected] master -> refs/merge-requests/1 (hook declined)
> error: failed to push some refs to '[email protected]:testmp/testmp.git'
>
> The list of "Commits that would be merged:" is also empty...
>
> All help appreciated.
> Thanks for a great piece of software!
>
> Best regards
>
> Martin Pettersson
>
> ETA (Thailand) Co., Ltd.
> Assembly Division
> Technical Expert 1
>
> 439 Bangplee Industrial Estate II
> Mu 17 Bangsaothong
> Amphoe Bangsaothong
> Samutprakan 10540
> THAILAND
>
> Phone: 2-315-3161 [Ext.: 2267]
> Fax: 2-315-3160
>
> mailto: [email protected]
> www.eta.ch
>
> "Freedom is the issue, the whole issue, and the only issue."
>
> RMS
>
>
> ************************************************************************************
> This e-mail message is intended only for the addressee(s) and contains
> information which may be confidential. If you are not the intended
> recipient please do not read, save, forward, disclose or copy the contents
> of this e-mail. If this e-mail has been sent to you in error, please delete 
> this
> e-mail and any copies or links to this e-mail completely and immediately
> from your system. We also like to inform you that communication via e-mail
> over the Internet is insecure because third parties may have the possibility
> to access and manipulate e-mails.
>
> Any views expressed in this message are those of the individual sender,
> except where the sender specifically states them to be the views of
> The Swatch Group Ltd.
> ************************************************************************************
>
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
>
-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to