changeset 12799:8f71e5074e3c stable

subrepo: svnsubrepo._wcrev should return str after 3d6ba8c2b1b8
author Martin Geisler <mg@lazybytes.net>
date Thu, 21 Oct 2010 10:54:37 +0200
parents 3d6ba8c2b1b8
children 598bf07fc896
files mercurial/subrepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):