[issue497] hgk does not work with some repo

Steve Borho steve at borho.org
Fri Feb 2 14:54:32 UTC 2007


On Friday 02 February 2007 07:57:22 am Vincent Danjean wrote:
> New submission from Vincent Danjean <vdanjean.ml at free.fr>:
>
> Try to do:
> hg clone http://hg.borho.org/qct/
> cd qct
> hg view # need the hgk extension
> It fails
>
> In fact, when running:
> hg debug-rev-list --header --topo-order --parents  | less
> I see, near changeset 388, a very strange encoding for the log message.
> Is this bug due to log messages not yet forced to utf-8 (old mercurial) or
> is this another bug ?

I reported this about a week ago, and Matt checked in a workaround for it 
within a few minutes.

http://www.selenic.com/mercurial/bts/issue487

The badness was all on Qct's side, it was outputting unicode in a place where 
it should have been decoded into the local encoding.  This last round of the 
problem was caused by the new sign-off message.  Appending a QString to an 
ascii string converted the whole message to unicode.   It took me a few days 
to catch this.

-- 
Steve Borho (steve at borho.org)
http://www.borho.org/~steve/steve.asc
Key fingerprint = 2D08 E7CF B624 624C DE1F  E2E4 B0C2 5292 F2C6 2C8C



More information about the Mercurial-devel mailing list