Show More
@@ -410,7 +410,7 b' class svnsubrepo(abstractsubrepo):' | |||||
410 | raise util.Abort(_('cannot commit svn externals')) |
|
410 | raise util.Abort(_('cannot commit svn externals')) | |
411 | commitinfo = self._svncommand(['commit', '-m', text]) |
|
411 | commitinfo = self._svncommand(['commit', '-m', text]) | |
412 | self._ui.status(commitinfo) |
|
412 | self._ui.status(commitinfo) | |
413 |
newrev = re.search('Committed revision ([ |
|
413 | newrev = re.search('Committed revision ([0-9]+).', commitinfo) | |
414 | if not newrev: |
|
414 | if not newrev: | |
415 | raise util.Abort(commitinfo.splitlines()[-1]) |
|
415 | raise util.Abort(commitinfo.splitlines()[-1]) | |
416 | newrev = newrev.groups()[0] |
|
416 | newrev = newrev.groups()[0] | |
@@ -427,7 +427,7 b' class svnsubrepo(abstractsubrepo):' | |||||
427 |
|
427 | |||
428 | def get(self, state): |
|
428 | def get(self, state): | |
429 | status = self._svncommand(['checkout', state[0], '--revision', state[1]]) |
|
429 | status = self._svncommand(['checkout', state[0], '--revision', state[1]]) | |
430 |
if not re.search('Checked out revision [ |
|
430 | if not re.search('Checked out revision [0-9]+.', status): | |
431 | raise util.Abort(status.splitlines()[-1]) |
|
431 | raise util.Abort(status.splitlines()[-1]) | |
432 | self._ui.status(status) |
|
432 | self._ui.status(status) | |
433 |
|
433 |
General Comments 0
You need to be logged in to leave comments.
Login now