From: Brendan Cully Subject: Re: [Xen-devel] Xen 3.1.1 -- initial patchqueue Date: Mon, 10 Sep 2007 08:00:41 -0700 Message-ID: <20070910150041.GA29714@xanadu.kublai.com> References: <46E53D15.20906@virtualiron.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <46E53D15.20906@virtualiron.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-ppc-devel-bounces@lists.xensource.com Errors-To: xen-ppc-devel-bounces@lists.xensource.com To: Ben Guthro Cc: xen-ppc-devel , Keir Fraser , xen-devel , xen-ia64-devel List-Id: xen-devel@lists.xenproject.org On Monday, 10 September 2007 at 08:48, Ben Guthro wrote: > > Keir Fraser wrote: >> We're using mercurial patchqueues. Mercurial version 0.9.1. I've >> just cloned and applied the patch queue from scratch with no >> problems. >> =20 > Perhaps it is a regression in the behavior of hg? I am using 0.9.3, and= =20 > cannot get the patch queue to apply: ... > [bguthro@bguthro xen-3.1.1.hg]$ hg qpush -a ... > applying 15078-6145e5508d6b > abort: decoding near 'Ingard Mev=EF=BF=BDg bytes in position 186-188: invalid data! > transaction abort! > rollback completed Looks like the patch header is latin-1 (or thereabouts) and your LANG is utf-8. "LANG=3Dlatin-1 hg qpush" is likely to fix it, and "HGENCODINGMODE=3Dreplace hg push -a" will silently replace any undecodable characters with ?. Since this only applies to the patch header it's probably fine for your purposes.