Ok, so I've got the latest git version installed. The EPG/channels are fine in the webUI. Problem is, it looks like this inside XBMC:
http://i.imgur.com/k2u8I.png
The channel icons represent the real order of the channels, and if you select any of the entries then that is the channel you get. The channel names/events are completely mixed up, e.g. with BBC 2 you can actually see it's all 100% correct, icon/channel/event. Then you have #8, which has the right icon, the right channel name and the wrong entry.
The timeline view is even more messed up. Random order of channels that has nothing to do with the set order you can see in the above view, so can't really tell what anything actually is.
Any ideas?
Edit: I know in that screenshot 2 channels are set to #4, I've changed it since and wiped the XBMC EPG database, no change at all.
Edit2: It's importing names channels that aren't even mapped/enabled, really not sure what's going on
Edit3: Reenabled all of the disabled channels, which I'd done to make mapping quicker. Channel/Event/Icon order has returned to normal for everything, guess there's a bug with disabling channels eh.
Edit3: fml I just wasted a lot of time. I didn't delete TV20.db, just Epg. Deleting that was the fix, not anything else. Ignore all of this.