equal
deleted
inserted
replaced
41 user, date = repo.changelog.read(repo.changelog.tip())[1:3] |
41 user, date = repo.changelog.read(repo.changelog.tip())[1:3] |
42 user = util.shortuser(user) |
42 user = util.shortuser(user) |
43 date = util.datestr(date=date, format=util.defaultdateformats[0]) |
43 date = util.datestr(date=date, format=util.defaultdateformats[0]) |
44 # %Y-%m-%d %H:%M:%S |
44 # %Y-%m-%d %H:%M:%S |
45 |
45 |
46 re_kw = re.compile(r'\$Hg[^$]*?\$') |
46 re_kw = re.compile(r'\$Hg(: [^$]+?,v [a-z0-9]{12} [^$]+? )?\$') |
47 |
47 |
48 for f in files: |
48 for f in files: |
49 data = repo.wfile(f).read() |
49 data = repo.wfile(f).read() |
50 if not util.binary(data): |
50 if not util.binary(data): |
51 kw = '$Hg: %s,v %s %s %s $' % ( |
51 kw = '$Hg: %s,v %s %s %s $' % ( |