errors in push new

Thomas De Schampheleire patrickdepinguin at gmail.com
Sat Sep 22 18:46:55 UTC 2018


El sáb., 22 sept. 2018 a las 15:53, Paul Borel
(<paul.borel at gmail.com>) escribió:
>
> Okay but I update khallithea but have :
>
> FAR-Paul:pop-server far-paul$ git push -u origin master
> Counting objects: 16, done.
> Delta compression using up to 8 threads.
> Compressing objects: 100% (16/16), done.
> Writing objects: 100% (16/16), 1.21 KiB | 1.21 MiB/s, done.
> Total 16 (delta 13), reused 0 (delta 0)
> remote: Traceback (most recent call last):
> remote:   File "hooks/pre-receive", line 30, in <module>
> remote:     main()
> remote:   File "hooks/pre-receive", line 26, in main
> remote:     sys.exit(_handler(repo_path, git_stdin_lines, os.environ))
> remote: TypeError: handle_git_pre_receive() takes exactly 2 arguments (3 given)
> To https://git.printaplus.fr/LA_POSTE/POP/pop-server
>  ! [remote rejected] master -> master (pre-receive hook declined)
>
> when update project ....
>
> and now project it not pull....

There has been an update to the git hooks in one of the latest revisions.
We should check/update the documentation to specify following procedure:
1. go to Admin > Settings > Remap and rescan
2. check the box 'Install git hooks' and click 'Rescan repositories'
3. the new version of the git hooks will be installed. After this your
problem will be gone.

Thanks for reporting!
Thomas


More information about the kallithea-general mailing list