equal
deleted
inserted
replaced
672 self._ui.warn(stderr + '\n') |
672 self._ui.warn(stderr + '\n') |
673 return stdout, stderr |
673 return stdout, stderr |
674 |
674 |
675 @propertycache |
675 @propertycache |
676 def _svnversion(self): |
676 def _svnversion(self): |
677 output, err = self._svncommand(['--version'], filename=None) |
677 output, err = self._svncommand(['--version', '--quiet'], filename=None) |
678 m = re.search(r'^svn,\s+version\s+(\d+)\.(\d+)', output) |
678 m = re.search(r'^(\d+)\.(\d+)', output) |
679 if not m: |
679 if not m: |
680 raise util.Abort(_('cannot retrieve svn tool version')) |
680 raise util.Abort(_('cannot retrieve svn tool version')) |
681 return (int(m.group(1)), int(m.group(2))) |
681 return (int(m.group(1)), int(m.group(2))) |
682 |
682 |
683 def _wcrevs(self): |
683 def _wcrevs(self): |