Don't decode unicode strings.
This does not work with python2.3 and is probably not useful anyway with 2.4.
#!/bin/shhg initecho a > ahg ci -Am thg mv a bhg ci -Am t1hg debugrename bhg mv b ahg ci -Am t2hg debugrename aecho % test with --revhg debugrename --rev 1 b