mercurial/subrepo.py
branchstable
changeset 12798 3d6ba8c2b1b8
parent 12770 614f0d8724ab
child 12799 8f71e5074e3c
--- a/mercurial/subrepo.py	Thu Oct 21 03:18:52 2010 +0200
+++ b/mercurial/subrepo.py	Thu Oct 21 03:28:51 2010 -0500
@@ -491,7 +491,7 @@
         entries = doc.getElementsByTagName('entry')
         if not entries:
             return 0
-        return int(entries[0].getAttribute('revision') or 0)
+        return str(entries[0].getAttribute('revision')) or '0'
 
     def _wcchanged(self):
         """Return (changes, extchanges) where changes is True