# HG changeset patch # User Martin Geisler # Date 1287651277 -7200 # Node ID 8f71e5074e3cc7dee523b8a3c66592cc281fa60a # Parent 3d6ba8c2b1b857f77a8f265b71fa2db35c9fba67 subrepo: svnsubrepo._wcrev should return str after 3d6ba8c2b1b8 diff -r 3d6ba8c2b1b8 -r 8f71e5074e3c mercurial/subrepo.py --- a/mercurial/subrepo.py Thu Oct 21 03:28:51 2010 -0500 +++ b/mercurial/subrepo.py Thu Oct 21 10:54:37 2010 +0200 @@ -490,7 +490,7 @@ doc = xml.dom.minidom.parseString(output) entries = doc.getElementsByTagName('entry') if not entries: - return 0 + return '0' return str(entries[0].getAttribute('revision')) or '0' def _wcchanged(self):