Adjust git-move-refs.py to recognize new commit messages
authormhagger <mhagger@be7e6eca-30d4-0310-a8e5-ac0d63af7087>
Tue, 2 Jun 2015 15:18:23 +0000 (2 15:18 +0000)
committermhagger <mhagger@be7e6eca-30d4-0310-a8e5-ac0d63af7087>
Tue, 2 Jun 2015 15:18:23 +0000 (2 15:18 +0000)
Since r5415 changed the default commit messages for manufactured
commits to refer to "cvs2git" rather than "cvs2svn", change
git-move-refs.py to recognize the new messages.

Patch by: John Hood <[email protected]>

git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5463 be7e6eca-30d4-0310-a8e5-ac0d63af7087

contrib/git-move-refs.py

index c19625e..7075a46 100755 (executable)
@@ -111,7 +111,7 @@ def process_refs(ref_type):
             elif objtype != "commit":
                 continue
 
-            if subject.startswith("This commit was manufactured by cvs2svn") \
+            if subject.startswith("This commit was manufactured by cvs2") \
                    or not subject:
                 # We shall try to move this ref, if possible
                 parent_list = []