Changeset 26 in tailor for vcpx/svn.py


Ignore:
Timestamp:
06/22/04 15:56:34 (9 years ago)
Author:
lele@…
Hash name:
20040622135634-97f81-954c6562d26feaab38b59b3eb0be64dfcd939066
Message:

Make _applyChangeset return a list of conflicts, not a dictionary

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/svn.py

    r23 r26  
    194194        svnup = SvnUpdate(working_dir=root) 
    195195        out = svnup(output=True, entry='.', revision=changeset.revision)        
    196         result = {} 
     196        result = [] 
    197197        for line in out: 
    198198            if len(line)>2 and line[0] == 'C' and line[1] == ' ': 
    199                 try: result[line[0]].append(line[2:-1]) 
    200                 except KeyError: result[line[0]] = [line[2:-1]] 
     199                result.append(line[2:-1]) 
    201200             
    202201        return result 
Note: See TracChangeset for help on using the changeset viewer.