##// END OF EJS Templates
git-version: strip the info returned from subcall to remove newline character.
marcink -
r103:230198b7 default
parent child Browse files
Show More
@@ -524,7 +524,7 b' class GitRemote(object):'
524 prefix = 'git version'
524 prefix = 'git version'
525 if stdout.startswith(prefix):
525 if stdout.startswith(prefix):
526 stdout = stdout[len(prefix):]
526 stdout = stdout[len(prefix):]
527 return stdout
527 return stdout.strip()
528
528
529 @reraise_safe_exceptions
529 @reraise_safe_exceptions
530 def run_git_command(self, wire, cmd, **opts):
530 def run_git_command(self, wire, cmd, **opts):
General Comments 0
You need to be logged in to leave comments. Login now