Changeset 456


Ignore:
Timestamp:
28-12-09 17:51:22 (3 years ago)
Author:
thomas
Message:
  • moap/vcs/svn.py: Switch from C to en_US.utf8 locale when spawning svn so that moap works when there are files with UTF-8 characters.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r450 r456  
     12009-12-28  Thomas Vander Stichele  <thomas at apestaart dot org> 
     2 
     3        * moap/vcs/svn.py: 
     4          Switch from C to en_US.utf8 locale when spawning svn so that 
     5          moap works when there are files with UTF-8 characters. 
     6 
    172009-09-27  Thomas Vander Stichele  <thomas at apestaart dot org> 
    28 
  • trunk/moap/vcs/svn.py

    r427 r456  
    148148        if revision1 and revision2: 
    149149            rev = '-r %s:%s' % (revision1, revision2) 
    150         cmd = "LANG=C svn diff %s %s" % (rev, path) 
     150        cmd = "LANG=en_US.utf8 svn diff %s %s" % (rev, path) 
    151151        self.debug('Running %s', cmd) 
    152152        output = commands.getoutput(cmd) 
     
    171171        ret = {} 
    172172 
    173         cmd = "LANG=C svn diff %s" % path 
     173        cmd = "LANG=en_US.utf8 svn diff %s" % path 
    174174        # we add a newline so we can match each Property changes block by 
    175175        # having it end on a newline, including the last block 
Note: See TracChangeset for help on using the changeset viewer.