Bug 66766 - Zsh completion fails on subversion 1.1.0 if LANG!=en_*
Bug#: 66766 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: usata@gentoo.org Reported By: gustaf@thorslund.org
Component: Applications
URL: 
Summary: Zsh completion fails on subversion 1.1.0 if LANG!=en_*
Keywords:  
Status Whiteboard: 
Opened: 2004-10-08 07:38 0000
Description:   Opened: 2004-10-08 07:38 0000
Since zsh uses svn help to find out available command it will fail if
the help is not in English. Since subversion 1.1.0 have help in
Swedish to it will fail if LANG=sv_SE.

Since I'm quite new to both subversion an zsh completion I have just
done some small tests. So my patch is maybe not enough.

Reproducible: Always
Steps to Reproduce:
1. export LANG=sv_SE
2. zsh
3. svn <TAB>

Actual Results:  
Completing svn command

------- Comment #1 From Gustaf Thorslund 2004-10-08 07:38:39 0000 -------
Since zsh uses svn help to find out available command it will fail if
the help is not in English. Since subversion 1.1.0 have help in
Swedish to it will fail if LANG=sv_SE.

Since I'm quite new to both subversion an zsh completion I have just
done some small tests. So my patch is maybe not enough.

Reproducible: Always
Steps to Reproduce:
1. export LANG=sv_SE
2. zsh
3. svn <TAB>

Actual Results:  
Completing svn command
är                             :move:mv:rename:ren:           flesta           
           
:add:                          :propdel:pdel:pd:              ges              
           
:blame:praise:annotate:ann:    :propedit:pedit:pe:            help             
           
:cat:                          :propget:pget:pg:             
http://subversion.tigris.org/
:checkout:co:                  :proplist:plist:pl:            inga             
           
:cleanup:                      :propset:pset:ps:              kataloger        
           
:commit:ci:                    :rekursivt:.                   ned              
           
:copy:cp:                      :resolved:                     och              
           
:delete:del:remove:rm:         :revert:                       och/eller        
           
:diff:di:                      :status:stat:st:               om               
           
:export:                       :switch:sw:                    sådana           
           
:help:\?:h:                    :update:up:                    svn              
           
:import:                       Skriv                          tar              
           
:info:                         \[options\]                    underkommandon.  
           
:katalog:rekursivt.            aktuell                        underkommandon:  
           
:list:ls:                      använder                       verktyg          
           
:log:                          anv                            versionshantering.
          
:merge:                        få                             ytterligare      
           
:mkdir:                        för                                             

Expected Results:  
Completing svn command
add       checkout  copy      export    info      merge     propdel   proplist 
revert    update  
blame     cleanup   delete    help      list      mkdir     propedit  propset  
status            
cat       commit    diff      import    log       move      propget   resolved 
switch

zsh-4.2.1
subversion-1.1.0

------- Comment #2 From Gustaf Thorslund 2004-10-08 07:42:31 0000 -------
Created an attachment (id=41365) [details]
Patch to solve the problem

------- Comment #3 From Mamoru KOMACHI (RETIRED) 2004-10-09 09:25:33 0000 -------
Thanks for the bug report. Fixed in CVS.