diff options
-rwxr-xr-x | rewrite-git-blob.py | 3 |
1 files changed, 2 insertions, 1 deletions
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() |