[BUG][PATCH] fileid_involved fails to unescape xml characters
Martin Pool
mbp at sourcefrog.net
Fri Jan 20 00:34:41 GMT 2006
On 19 Jan 2006, John Arbash Meinel <john at arbash-meinel.com> wrote:
> I tracked down the problem to the fileid function.
> Basically, it is parsing the xml directly, and forgetting that some
> characters (like <>) get escaped.
>
> So I'm using xml.sax.saxutils.unescape to get them back into normal strings.
> Unfortunately, this also means I had to move xml.py out of the way,
> since it conflicts with the python system package 'xml'. (fortunately,
> only xml4.py and xml5.py actually referenced the xml.py, so it was a
> very localized move).
> Long term, they all should probably be called something different.
>
> The branch is available at:
> http://bzr.arbash-meinel.com/branches/bzr/0.7-bugfix/
>
> I also fixed the stub_server issue with paramiko > 1.5.2 (it now always
> has attribute st_mode, just set to 0).
Thanks, merged into http://bazaar-ng.org/bzr/bzr-0.7-fixes/
--
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060120/93f16b51/attachment.pgp
More information about the bazaar
mailing list