Package: stgit
Version: 0.15-1.1
Severity: important
In stgit, a CommitData::parse() assertion fails when parsing a mergetag
commit:
Error: Unhandled exception:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/stgit/main.py", line 152, in _main
ret = command.func(parser, options, args)
File "/usr/lib/pymodules/python2.7/stgit/commands/new.py", line 68, in
func
tree = stack.head.data.tree, parents = [stack.head], message = '',
File "/usr/lib/pymodules/python2.7/stgit/lib/git.py", line 434, in data
self.__repository.cat_object(self.sha1))
File "/usr/lib/pymodules/python2.7/stgit/lib/git.py", line 416, in parse
assert False
AssertionError
This breaks at least 'stg new' and 'stg import'; probably other stg
commands also.
Steps to reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git
cd linux-omap
stg init
stg branch -c foo
stg rebase 9c3a3009f1c66f4a758b1e5d31b6977185d70a56
stg new crashme
(crashes)
This bug is fixed in the upstream stgit repo by:
commit 0d85bab3926f6c852d9caca0dfc8ca71d237df71
Author: Junio C Hamano <[email protected]>
Date: Wed Feb 15 12:24:56 2012 +0000
Parse commit object header correctly
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages stgit depends on:
ii git [git-core] 1:1.7.10-1
ii git-core 1:1.7.10-1
ii python 2.7.2-10
ii python-support 1.0.14
stgit recommends no packages.
stgit suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]