Skip to content

Commit

Permalink
Item11355: handle empty CheckinsOnBranches
Browse files Browse the repository at this point in the history
Remove an empty CheckinsOnBranches META so that it can be recreated.

git-svn-id: http://svn.foswiki.org/branches/Release01x01@14231 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
GeorgeClark authored and GeorgeClark committed Mar 7, 2012
1 parent e4be0d0 commit df7e302
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/tools/develop/post-commit.pl
Expand Up @@ -180,6 +180,9 @@ sub _readBr {
$changed = 1;
}

# Delete an empty CheckinsOnBranches
$text =~ s/^%META:FIELD.*name="CheckinsOnBranches".*value="".*%$//gm;

my %brCommits;
print STDERR "Updating CheckinsOnBranches for $branch\n" if $verbose;
unless ( $text =~
Expand Down

0 comments on commit df7e302

Please sign in to comment.