diff options
author | 2014-09-29 12:47:18 -0400 | |
---|---|---|
committer | 2014-09-29 12:47:18 -0400 | |
commit | 9eaee07131c1e63ce521ca365605991979cf5bb7 (patch) | |
tree | f15982af483feb475b190e02b7c1ab0ade397b99 | |
parent | Correct paths in source keywords. (diff) | |
download | git-conversion-tools-9eaee07131c1e63ce521ca365605991979cf5bb7.tar.gz git-conversion-tools-9eaee07131c1e63ce521ca365605991979cf5bb7.tar.bz2 git-conversion-tools-9eaee07131c1e63ce521ca365605991979cf5bb7.zip |
Fix Source fix typo, add fix for keyword.
-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() |