CVS commit by coolo: some more work on catch & continue M +9 -3 cvs2svn 1.81 --- kde-common/release/svn/cvs2svn #1.80:1.81 @@ -3677,10 +3677,10 @@ if not src_virtual: print "INTERNAL (BROKE): invalid cross-virtual _copy_path '%s' => '%s'\n" % (src_path, dest_path) - return + #return dest_cont = src_contents else: if src_virtual: print "INTERNAL (BROKE): invalid cross-virtual _copy_path '%s' => '%s'\n" % (src_path, dest_path) - return + #return dest_cont = None dest_parent_key, dest_parent_contents, dest_parent_virtual = \ @@ -4079,5 +4079,5 @@ c_rev.rbasename = c_rev.basename if c_rev.mime_type: - ri = c_rev.rbasename.rindex('.') + ri = c_rev.rbasename.rfind('.') if ri != -1: c_rev.rbasename = c_rev.rbasename[0:ri] @@ -4480,4 +4480,10 @@ self.revision = svn_commit.revnum + if self.revision % 10000 == 0: + self.dumpfile.close() + os.rename(self.dumpfile_path, self.dumpfile_path + "-%06d" % self.revision) + self.dumpfile = open(self.dumpfile_path, 'wb') + self._write_dumpfile_header(self.dumpfile) + # The start of a new commit typically looks like this: #