equal
deleted
inserted
replaced
1278 m = re.search(br'^(\d+)\.(\d+)', output) |
1278 m = re.search(br'^(\d+)\.(\d+)', output) |
1279 if not m: |
1279 if not m: |
1280 raise error.Abort(_('cannot retrieve svn tool version')) |
1280 raise error.Abort(_('cannot retrieve svn tool version')) |
1281 return (int(m.group(1)), int(m.group(2))) |
1281 return (int(m.group(1)), int(m.group(2))) |
1282 |
1282 |
|
1283 def _svnmissing(self): |
|
1284 return not self.wvfs.exists('.svn') |
|
1285 |
1283 def _wcrevs(self): |
1286 def _wcrevs(self): |
1284 # Get the working directory revision as well as the last |
1287 # Get the working directory revision as well as the last |
1285 # commit revision so we can compare the subrepo state with |
1288 # commit revision so we can compare the subrepo state with |
1286 # both. We used to store the working directory one. |
1289 # both. We used to store the working directory one. |
1287 output, err = self._svncommand(['info', '--xml']) |
1290 output, err = self._svncommand(['info', '--xml']) |