##// END OF EJS Templates
subrepo: use [0-9] instead of [\d] in svn subrepo regex...
Martin Geisler -
r12060:63eab3b7 default
parent child Browse files
Show More
@@ -410,7 +410,7 b' class svnsubrepo(abstractsubrepo):'
410 410 raise util.Abort(_('cannot commit svn externals'))
411 411 commitinfo = self._svncommand(['commit', '-m', text])
412 412 self._ui.status(commitinfo)
413 newrev = re.search('Committed revision ([\d]+).', commitinfo)
413 newrev = re.search('Committed revision ([0-9]+).', commitinfo)
414 414 if not newrev:
415 415 raise util.Abort(commitinfo.splitlines()[-1])
416 416 newrev = newrev.groups()[0]
@@ -427,7 +427,7 b' class svnsubrepo(abstractsubrepo):'
427 427
428 428 def get(self, state):
429 429 status = self._svncommand(['checkout', state[0], '--revision', state[1]])
430 if not re.search('Checked out revision [\d]+.', status):
430 if not re.search('Checked out revision [0-9]+.', status):
431 431 raise util.Abort(status.splitlines()[-1])
432 432 self._ui.status(status)
433 433
General Comments 0
You need to be logged in to leave comments. Login now