Skip to content

Commit

Permalink
Allow a 'P' suffix from svnmerge, too
Browse files Browse the repository at this point in the history
Fixes #2089.
  • Loading branch information
djmitche committed Sep 1, 2011
1 parent 3d12f87 commit 5fa6847
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion master/buildbot/steps/source/svn.py
Expand Up @@ -256,7 +256,7 @@ def parseGotRevision(self, _):
d = self.runCommand(cmd)
def _setrev(res):
output = self.getLog('stdio').readlines()[-1].strip()
revision = output.rstrip('MS')
revision = output.rstrip('MSP')
revision = revision.split(':')[-1]
try:
int(revision)
Expand Down
2 changes: 1 addition & 1 deletion slave/buildslave/commands/svn.py
Expand Up @@ -195,7 +195,7 @@ def parseGotRevision(self):
def _parse(res):
r_raw = c.stdout.strip()
# Extract revision from the version "number" string
r = r_raw.rstrip('MS')
r = r_raw.rstrip('MSP')
r = r.split(':')[-1]
got_version = None
try:
Expand Down

0 comments on commit 5fa6847

Please sign in to comment.