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


Ignore:
Timestamp:
05/29/08 23:41:40 (5 years ago)
Author:
lele@…
Hash name:
20080529214140-97f81-58f3e36aaaea4b51acd19dfe12c1b365c4b28fe3
Message:

Initialize the darcs_hash attribute

File:
1 edited

Legend:

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

    r1529 r1571  
    3636 
    3737        super(DarcsChangeset, self).__init__(revision, date, author, log, entries=None, **other) 
     38        self.darcs_hash = other.get('darcs_hash') 
    3839        if entries is not None: 
    3940            for e in entries: 
     
    242243                                      self.current['comment'], 
    243244                                      self.current['entries'], 
    244                                       tags=self.current.get('tags',[])) 
    245                 cset.darcs_hash = self.current['hash'] 
     245                                      tags=self.current.get('tags',[]), 
     246                                      darcs_hash=self.current['hash']) 
    246247                if self.darcsdiff: 
    247248                    cset.unidiff = self.darcsdiff.execute(TZ='UTC', 
Note: See TracChangeset for help on using the changeset viewer.