hgkw/keyword.py
branchsolo-extension
changeset 55 34fb92c050bc
parent 54 ac67adabce13
child 56 e8834575128b
equal deleted inserted replaced
54:ac67adabce13 55:34fb92c050bc
    50     '''Called by kwfilelog.read and pretxnkw.
    50     '''Called by kwfilelog.read and pretxnkw.
    51     Sets supported keywords as local variables and evaluates them to
    51     Sets supported keywords as local variables and evaluates them to
    52     their expansion if matchobj is equal to string representation.'''
    52     their expansion if matchobj is equal to string representation.'''
    53 
    53 
    54     RCSFile = os.path.basename(f)+',v'
    54     RCSFile = os.path.basename(f)+',v'
    55     Source = os.path.join(repo.root, f)+',v'
    55     Source = repo.wjoin(f)+',v'
    56     Date = util.datestr(date=date)
    56     Date = util.datestr(date=date)
    57     revdateauth = '%s %s %s' % (Revision,
    57     revdateauth = '%s %s %s' % (Revision,
    58             util.datestr(date=date, format=util.defaultdateformats[0]),
    58             util.datestr(date=date, format=util.defaultdateformats[0]),
    59             util.shortuser(Author))             # %Y-%m-%d %H:%M:%S
    59             util.shortuser(Author))             # %Y-%m-%d %H:%M:%S
    60     Header = '%s %s' % (Source, revdateauth)
    60     Header = '%s %s' % (Source, revdateauth)