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


Ignore:
Timestamp:
05/29/08 23:51:35 (5 years ago)
Author:
lele@…
Hash name:
20080529215135-97f81-4940d2e955fe9afb33b07de4d655f98145891bec
Message:

Use addEntry() so the order will be fixed

File:
1 edited

Legend:

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

    r1575 r1576  
    512512            line = output.readline() 
    513513 
     514        # Complete the changeset with its entries 
     515 
    514516        cmd = self.repository.command("changes", selector, revtag, 
    515517                                      "--xml-output", "--summ") 
     
    518520                                            replace_badchars=self.repository.replace_badchars) 
    519521        try: 
    520             changeset.entries.extend(last.next().entries) 
     522            entries = last.next().entries 
    521523        except StopIteration: 
    522             pass 
     524            entries = None 
     525 
     526        if entries: 
     527            for e in entries: 
     528                changeset.addEntry(e, changeset.revision) 
    523529 
    524530        return conflicts 
Note: See TracChangeset for help on using the changeset viewer.