Bug 359998

Summary: can't push more than one branch
Product: [KDE Neon] neon Reporter: Jonathan Riddell <jr>
Component: generalAssignee: Neon Mailing List <neon>
Status: RESOLVED FIXED    
Severity: normal CC: sitter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jonathan Riddell 2016-03-02 14:19:50 UTC
$ git push origin Neon/unstable Neon/stable
    Counting objects: 3, done.
    Delta compression using up to 8 threads.
    Compressing objects: 100% (2/2), done.
    Writing objects: 100% (3/3), 345 bytes | 0 bytes/s, done.
    Total 3 (delta 1), reused 0 (delta 0)
    remote: Neon pre-receive
    remote: Traceback (most recent call last):
    remote:   File "hooks/pre-receive", line 14, in <module>
    remote:     (old, new, remote_ref) = sys.stdin.read().split()
    remote: ValueError: too many values to unpack
    To gitolite3@packaging.neon.kde.org.uk:plasma/kde-cli-tools
     ! [remote rejected] Neon/stable -> Neon/stable (pre-receive hook declined)
     ! [remote rejected] Neon/unstable -> Neon/unstable (pre-receive hook declined)
    error: failed to push some refs to 'gitolite3@packaging.neon.kde.org.uk:plasma/kde-cli-tools'


<sitter> Riddell: apparently your hook has trouble accepting more than one branch in the same push

Reproducible: Always
Comment 1 Harald Sitter 2016-08-26 13:07:14 UTC
fixed by Ben's improvments to the git tech