Changeset 1260 in tailor for vcpx/repository/darcs/source.py


Ignore:
Timestamp:
08/20/06 03:50:28 (7 years ago)
Author:
lele@…
Hash name:
20060820015028-97f81-06433d81390c4cd02ac7fefc3ecd464b283799df
Message:

M-x whitespace-cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/repository/darcs/source.py

    r1259 r1260  
    4343        """ 
    4444        Fixup darcs idiosyncrasies: 
    45          
     45 
    4646        - collapse "add A; rename A B" into "add B" 
    4747        - annihilate "add A; remove A" 
     
    5757        # known: if this is an add, and there's a rename (such as "add 
    5858        # A; rename A B; ") then... 
    59          
     59 
    6060        if entry.action_kind == entry.ADDED: 
    6161            # ... we have to check existings, because of a bug in 
     
    7070 
    7171            dirname = entry.name+'/' # darcs hopefully use forward slashes also under win 
    72              
     72 
    7373            for i,e in enumerate(self.entries): 
    7474                if e.action_kind == e.RENAMED and e.old_name == entry.name: 
     
    123123        return entry 
    124124 
    125          
     125 
    126126def changesets_from_darcschanges(changes, unidiff=False, repodir=None, 
    127127                                 chunksize=2**15): 
Note: See TracChangeset for help on using the changeset viewer.