Skip to content

Conversation

jebingeosil
Copy link

Few svn repositories have branch_name set to nil, this causes problem in the following line

SvnAdapter.uri_encode(File.join(self.root, self.branch_name))

The proposed solution is to convert them to string using to_s so that nil will be transformed to ""/empty string, hence preventing File.join from throwing error due to nil value.

@sig-krasnick
Copy link

LGTM

@jebingeosil jebingeosil merged commit a445e35 into master Aug 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants