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


Ignore:
Timestamp:
01/06/07 03:57:17 (6 years ago)
Author:
Kevin Turner <kevin@…>
Hash name:
20070106025717-04611-40865df65974bf766b5f9b1dad8aca2e9652197b
Message:

DarcsSourceWorkingDir?._parseDarcsPull: don't include the newline as part of 'author'

also tests to check the change.darcs_hash.

File:
1 edited

Legend:

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

    r1309 r1311  
    313313                pieces = l.split('  ') 
    314314                assert len(pieces)>1, "Cannot parse %r as a patch timestamp" % l 
    315                 author = pieces.pop() 
     315                author = pieces.pop()[:-1] 
    316316                date = ' '.join(pieces) 
    317317                y,m,d,hh,mm,ss,d1,d2,d3 = strptime(date, "%a %b %d %H:%M:%S %Z %Y") 
Note: See TracChangeset for help on using the changeset viewer.