contrib/pg_resetxlog is checked in. It's not really complete for the
interesting cases (ie, recovery from damaged files) but it does handle
the simple case of upgrading from 7.1beta5 to current sources.
To use: see contrib/pg_resetxlog/README.pg_resetxlog.
regards, tom lane