aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Freeman <rich0@gentoo.org>2014-09-29 12:47:18 -0400
committerRichard Freeman <rich0@gentoo.org>2014-09-29 12:47:18 -0400
commit9eaee07131c1e63ce521ca365605991979cf5bb7 (patch)
treef15982af483feb475b190e02b7c1ab0ade397b99 /rewrite-git-blob.py
parentCorrect paths in source keywords. (diff)
downloadgit-conversion-tools-9eaee07131c1e63ce521ca365605991979cf5bb7.tar.gz
git-conversion-tools-9eaee07131c1e63ce521ca365605991979cf5bb7.tar.bz2
git-conversion-tools-9eaee07131c1e63ce521ca365605991979cf5bb7.zip
Fix Source fix typo, add fix for keyword.
Diffstat (limited to 'rewrite-git-blob.py')
-rwxr-xr-xrewrite-git-blob.py3
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()