Changeset 96 in tailor


Ignore:
Timestamp:
07/16/04 18:24:19 (9 years ago)
Author:
lele@…
Hash name:
20040716162419-97f81-571a12bda5c10be1028e9b1f0370f8d1b094b921
Message:

Minimize the chance of patch name collision adding the author

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/cvs.py

    r95 r96  
    133133        # NB: the _getUpstreamChangesets() below depends on this format 
    134134 
    135         return str(timestamp) 
     135        return "%s by %s" % (timestamp, author) 
    136136 
    137137    def __collect(self, timestamp, author, changelog, entry, revision): 
     
    280280        else: 
    281281            # Assume this is from __getGlobalRevision() 
    282             since = sincerev 
    283             y,m,d,hh,mm,ss,d1,d2,d3 = strptime(sincerev, "%Y-%m-%d %H:%M:%S") 
     282            since,author = sincerev.split(' by ') 
     283            y,m,d,hh,mm,ss,d1,d2,d3 = strptime(since, "%Y-%m-%d %H:%M:%S") 
    284284            sincedate = datetime(y,m,d,hh,mm,ss) 
    285285             
Note: See TracChangeset for help on using the changeset viewer.