Changeset 1235 in tailor


Ignore:
Timestamp:
08/09/06 12:43:52 (7 years ago)
Author:
lele@…
Hash name:
20060809104352-97f81-9e4df5dc06cff816544444fd7a4030a93e8cf689
Message:

Fix the lookup of actual on-disk version at CVS bootstrap time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/repository/cvsps.py

    r1228 r1235  
    463463 
    464464        found = False 
    465         csets = self.state_file.reversed() 
    466465 
    467466        def already_applied(cs, entries=entries): 
     
    490489            return applied 
    491490 
    492         for cset in csets: 
    493             found = already_applied(cset) 
    494             if found: 
     491        for cset in self.state_file: 
     492            applied = already_applied(cset) 
     493            found = found or applied 
     494            if applied: 
    495495                last = cset 
     496            else: 
    496497                break 
    497498 
Note: See TracChangeset for help on using the changeset viewer.