Skip to content

Commit

Permalink
Merge branch 'svn_checkout_fix' of git://github.com/riannucci/buildbot
Browse files Browse the repository at this point in the history
* 'svn_checkout_fix' of git://github.com/riannucci/buildbot:
  Make svn checkout op work on recreated branches.
  • Loading branch information
djmitche committed Dec 8, 2010
2 parents 04b4e3d + bc38643 commit 3b0ccf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion slave/buildslave/commands/svn.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def doVCUpdate(self):

def doVCFull(self):
revision = self.args['revision'] or 'HEAD'
args = ['--revision', str(revision), self.svnurl, self.srcdir]
args = ['--revision', str(revision), "%s@%s" % (self.svnurl, str(revision)), self.srcdir]

if self.mode == 'export':
if revision == 'HEAD': return self.doSVNExport()
Expand Down
2 changes: 1 addition & 1 deletion slave/buildslave/test/unit/test_commands_svn.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def test_simple(self):
self.basedir)
+ 0,
Expect([ 'path/to/svn', 'checkout', '--non-interactive', '--no-auth-cache',
'--revision', 'HEAD', 'http://svn.local/app/trunk', 'source' ],
'--revision', 'HEAD', 'http://svn.local/app/trunk@HEAD', 'source' ],
self.basedir,
sendRC=False, timeout=120, usePTY=False, environ=exp_environ)
+ 0,
Expand Down

0 comments on commit 3b0ccf7

Please sign in to comment.