Mercurial > kallithea
comparison CONTRIBUTORS @ 8463:a9bcdc438d69 stable
git: fix pull request deletion - don't crash on deleting refs to PR heads
The refs name was passed as unicode string, and that would cause failure like:
File ".../site-packages/dulwich/repo.py", line 720, in __delitem__
if name.startswith(b"refs/") or name == b"HEAD":
TypeError: startswith first arg must be str or a tuple of str, not bytes
Fixed by correctly passing the ref name as bytes, as we do when creating the PR
refs.
Tests added by Mads Kiilerich.
author | Anton Schur <tonich.sh@gmail.com> |
---|---|
date | Sat, 26 Sep 2020 15:39:33 +0200 |
parents | 143f3e9d7599 |
children | 99ecb5c636fe |
comparison
equal
deleted
inserted
replaced
8462:b27584990c2c | 8463:a9bcdc438d69 |
---|---|
1 List of contributors to Kallithea project: | 1 List of contributors to Kallithea project: |
2 | 2 |
3 Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> 2014-2020 | 3 Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> 2014-2020 |
4 Mads Kiilerich <mads@kiilerich.com> 2016-2020 | 4 Mads Kiilerich <mads@kiilerich.com> 2016-2020 |
5 Asterios Dimitriou <steve@pci.gr> 2016-2017 2020 | 5 Asterios Dimitriou <steve@pci.gr> 2016-2017 2020 |
6 Anton Schur <tonich.sh@gmail.com> 2017 2020 | |
6 Private <adamantine.sword@gmail.com> 2019-2020 | 7 Private <adamantine.sword@gmail.com> 2019-2020 |
7 David Ignjić <ignjic@gmail.com> 2020 | 8 David Ignjić <ignjic@gmail.com> 2020 |
8 Dennis Fink <dennis.fink@c3l.lu> 2020 | 9 Dennis Fink <dennis.fink@c3l.lu> 2020 |
9 Étienne Gilli <etienne@gilli.io> 2020 | 10 Étienne Gilli <etienne@gilli.io> 2020 |
10 J. Lavoie <j.lavoie@net-c.ca> 2020 | 11 J. Lavoie <j.lavoie@net-c.ca> 2020 |
39 Mads Kiilerich <madski@unity3d.com> 2012-2017 | 40 Mads Kiilerich <madski@unity3d.com> 2012-2017 |
40 Unity Technologies 2012-2017 | 41 Unity Technologies 2012-2017 |
41 Søren Løvborg <sorenl@unity3d.com> 2015-2017 | 42 Søren Løvborg <sorenl@unity3d.com> 2015-2017 |
42 Sam Jaques <sam.jaques@me.com> 2015 2017 | 43 Sam Jaques <sam.jaques@me.com> 2015 2017 |
43 Alessandro Molina <alessandro.molina@axant.it> 2017 | 44 Alessandro Molina <alessandro.molina@axant.it> 2017 |
44 Anton Schur <tonich.sh@gmail.com> 2017 | |
45 Ching-Chen Mao <mao@lins.fju.edu.tw> 2017 | 45 Ching-Chen Mao <mao@lins.fju.edu.tw> 2017 |
46 Eivind Tagseth <eivindt@gmail.com> 2017 | 46 Eivind Tagseth <eivindt@gmail.com> 2017 |
47 FUJIWARA Katsunori <foozy@lares.dti.ne.jp> 2017 | 47 FUJIWARA Katsunori <foozy@lares.dti.ne.jp> 2017 |
48 Holger Schramm <info@schramm.by> 2017 | 48 Holger Schramm <info@schramm.by> 2017 |
49 Karl Goetz <karl@kgoetz.id.au> 2017 | 49 Karl Goetz <karl@kgoetz.id.au> 2017 |