Bug 166094 - Completion for subversion doesn't work properly for non-english locales
Summary: Completion for subversion doesn't work properly for non-english locales
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: zsh
Version: 4
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Colin Walters
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-08-16 20:50 UTC by Thomas Moschny
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-16 22:13:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Proposed patch: Always call svn/svnadmin with LC_MESSAGES=C. (2.97 KB, patch)
2005-08-16 20:59 UTC, Thomas Moschny
no flags Details | Diff

Description Thomas Moschny 2005-08-16 20:50:16 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.4; Linux) KHTML/3.4.2 (like Gecko)

Description of problem:
The completion script /usr/share/zsh/4.2.1/functions/_subversion parses the  
output of 'svn help' and 'svnadmin help'. In an environment with  
LC_MESSAGES != C or en_US or similar, parsing will fail.  

Version-Release number of selected component (if applicable):
zsh-4.2.1-2

How reproducible:
Always

Steps to Reproduce:
1. Set LC_MESSAGES e.g. to de_DE.  
2. Start a new zsh, verify the value of LC_MESSAGES with the 'locale' cmd.  
3. At the prompt, enter svn <SPACE> and press <TAB>.  
  

Actual Results:  Strange completion suggestions are displayed. 

Additional info:

Comment 1 Thomas Moschny 2005-08-16 20:59:46 UTC
Created attachment 117803 [details]
Proposed patch: Always call svn/svnadmin with LC_MESSAGES=C.

Comment 2 Christopher Aillon 2006-09-16 22:13:51 UTC
This seems to be fixed in the current version in rawhide.  The code sets
LC_ALL=C before calling any svn commands.


Note You need to log in before you can comment on or make changes to this bug.