From 9eaee07131c1e63ce521ca365605991979cf5bb7 Mon Sep 17 00:00:00 2001 From: Richard Freeman Date: Mon, 29 Sep 2014 12:47:18 -0400 Subject: Fix Source fix typo, add fix for keyword. --- rewrite-git-blob.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rewrite-git-blob.py b/rewrite-git-blob.py index 7af3146..9693bc8 100755 --- a/rewrite-git-blob.py +++ b/rewrite-git-blob.py @@ -57,7 +57,8 @@ def process_stream(source, output_dir, output): data = source.read(size) assert len(data) == size, (line, data) data = data.replace(header, "$Header: /var/cvsroot") - data = data.replace(sourcekeyword, "%Source: /var/cvsroot") + data = data.replace(sourcekeyword, "$Source: /var/cvsroot") + data = data.replace("$Name: not supported by cvs2svn $", "$Name: $") line = 'data %i\n%s' % (len(data), data) output.write(line) line = source.readline() -- cgit v1.2.3-65-gdbad