[ketchup] Patch for 'ketchup -l'

From: Michael Opdenacker
Date: Tue Jan 17 2006 - 04:03:55 EST


For people managing kernel sources with the excellent 'ketchup' tool (http://www.selenic.com/ketchup/wiki/index.cgi/FrontPage)

Patch for ketchup 0.9.6
=======================

From Michael Opdenacker <michael@xxxxxxxxxxxxxxxxxx>

Issue
-----

ketchup -l
2.4 (signed)
old stable kernel series
2.4-pre (signed)
old stable kernel series prereleases
2.6 (signed)
current stable kernel series
2.6-bk (signed)
old stable kernel series snapshots
Traceback (most recent call last):
File "/data/soft/src/ketchup", line 686, in ?
lprint(tree, ["(unsigned)","(signed)"][version_info[tree][3]])
TypeError: list indices must be integers

Explanation
-----------

For tree '2.6-ck', version_info[tree][3]=='.sig'
instead of '0' or '1'.

The below code only supported the '0' and '1' cases:

lprint(tree, ["(unsigned)","(signed)"][version_info[tree][3]])

Fix
---

http://free-electrons.com/pub/patches/ketchup/20060112a/ketchup-l-fix.patch

--
Michael Opdenacker, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/