]> git.donarmstrong.com Git - lilypond.git/commitdiff
run cvs up before patching.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 7 Nov 2006 01:54:48 +0000 (02:54 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 7 Nov 2006 01:54:48 +0000 (02:54 +0100)
buildscripts/git-update-changelog.py

index 54ab112d0bcaf43fe4a24ec9090ec45b39ba884e..d67453ac0352b138822d53bd3bfe30010ba189b4 100644 (file)
@@ -225,13 +225,13 @@ Run this file from the CVS directory, with commits from the repository in --git-
 
     try:
         previously_done = dict((c, 1) for c in open ('.git-commits-done').read ().split ('\n'))
-    except OSError:
+    except IOError:
         previously_done = {}
 
-    commits = [c for c in commits if not previously_done.has_key (c.committish)]
     commits = [c for c in commits if not previously_done.has_key (c.committish)]
     commits = sorted (commits, cmp=Commit.compare)
 
+    system ('cvs up')
     
     file_adddel = []
     collated_log = ''