equal
deleted
inserted
replaced
489 output = self._svncommand(['info', '--xml']) |
489 output = self._svncommand(['info', '--xml']) |
490 doc = xml.dom.minidom.parseString(output) |
490 doc = xml.dom.minidom.parseString(output) |
491 entries = doc.getElementsByTagName('entry') |
491 entries = doc.getElementsByTagName('entry') |
492 if not entries: |
492 if not entries: |
493 return 0 |
493 return 0 |
494 return int(entries[0].getAttribute('revision') or 0) |
494 return str(entries[0].getAttribute('revision')) or '0' |
495 |
495 |
496 def _wcchanged(self): |
496 def _wcchanged(self): |
497 """Return (changes, extchanges) where changes is True |
497 """Return (changes, extchanges) where changes is True |
498 if the working directory was changed, and extchanges is |
498 if the working directory was changed, and extchanges is |
499 True if any of these changes concern an external entry. |
499 True if any of these changes concern an external entry. |