Author: cmpilato
Date: Thu Apr 25 12:35:25 2013
New Revision: 1475724

URL: http://svn.apache.org/r1475724
Log:
Fix filtering on non-UTF8 changelist names.  We store changelists in
UTF8 in the working copy, but were failing to convert the value of the
--changelist option to UTF8 for comparison against those stored names.

* subversion/svn/svn.c
  (main): Convert --changelist option values (changelist names) to UTF8.

Modified:
    subversion/trunk/subversion/svn/svn.c

Modified: subversion/trunk/subversion/svn/svn.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/svn.c?rev=1475724&r1=1475723&r2=1475724&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/svn.c (original)
+++ subversion/trunk/subversion/svn/svn.c Thu Apr 25 12:35:25 2013
@@ -2161,7 +2161,8 @@ sub_main(int argc, const char *argv[], a
         opt_state.remove = TRUE;
         break;
       case opt_changelist:
-        opt_state.changelist = apr_pstrdup(pool, opt_arg);
+        SVN_INT_ERR(svn_utf_cstring_to_utf8(&utf8_opt_arg, opt_arg, pool));
+        opt_state.changelist = utf8_opt_arg;
         if (opt_state.changelist[0] == '\0')
           {
             err = svn_error_create(SVN_ERR_CL_ARG_PARSING_ERROR, NULL,


Reply via email to