Bug 359998 - can't push more than one branch
Summary: can't push more than one branch
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-02 14:19 UTC by Jonathan Riddell
Modified: 2016-08-26 13:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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