4804: rbt patch doesn't work with svn 1.10 and above


What version are you running?

What steps will reproduce the problem?

  1. Install rbtools
  2. Install subversion 1.10.3 or 1.11
  3. rbt patch <review request id>

What is the expected output? What do you see instead?

rbt should patch the diff

What operating system are you using?

Ubuntu 16.04

Attach the debug out from the command.

root@c082ae5714ae:/src_code/test_2/trunk# rbt patch 41661
WARNING: Unable to parse SVN client version triple from "svn: warning: cannot set LC_CTYPE locale
svn: warning: environment variable LC_ALL is en_US.UTF-8
svn: warning: please check that your locale name is correct
1.10.3". Assuming version 0.0.0.
Patch is being applied from request 41661 with diff revision 1.
CRITICAL: Using "rbt patch" with the SVN backend requires at least svn 1.7.0

Please provide any additional information below.

#1 chipx86

svn 1.10 should be working. Looks like it's unhappy with the version it's seeing. Can you run svn --version and show me the output?

Also, run your patch command with --debug as the first argument and show me the resulting log. I need to see where it's going wrong.

  • -New