List:Internals« Previous MessageNext Message »
From:paul Date:March 14 2005 4:49pm
Subject:bk commit - mysqldoc tree (paul:1.2723)
View as plain text  
Below is the list of changes that have just been committed into a local
mysqldoc repository of paul. When paul does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://www.mysql.com/doc/I/n/Installing_source_tree.html

ChangeSet
  1.2723 05/03/14 09:49:04 paul@stripped +1 -0
  manual-splitandfix.pl:
    Don't delete blank lines in <programlisting>.

  tools/manual-splitandfix.pl
    1.25 05/03/14 09:48:48 paul@stripped +1 -1
    Don't delete blank lines in <programlisting>.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	paul
# Host:	frost.snake.net
# Root:	/Volumes/frost2/MySQL/bk/mysqldoc

--- 1.24/tools/manual-splitandfix.pl	2005-01-19 20:13:32 -06:00
+++ 1.25/tools/manual-splitandfix.pl	2005-03-14 09:48:48 -06:00
@@ -132,13 +132,13 @@
   $$manual_content = '';
   for my $line (@manual_content)
   {
-    next if $line eq "";
     if ($line =~ /\<programlisting/i)
     {
       $indent_save = $indents;
       $program_listing_flag = 1;
       $indents = 0;
     }
+    next if $line eq "" and !$program_listing_flag;
     $line =~ s/^[\s\t]+// if !$program_listing_flag;
     $indents-- if ($line =~
/\<\/(book.*|abstract|article|appendix|chapter|preface|section|para)/) && !
$program_listing_flag;
     $$manual_content .= '  ' x $indents if $indents;
Thread
bk commit - mysqldoc tree (paul:1.2723)paul14 Mar