Skip to content

Commit

Permalink
Item13313: A bit more documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
gac410 committed Apr 12, 2015
1 parent c438434 commit e3bd4c1
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion core/tools/change_store.pl
Expand Up @@ -325,9 +325,16 @@ sub validate_info {
# or with a history that lacks the revision specified in the
# META:FILEATTACHMENT.
#
# 4. Some topics, notably TinyMCEPlugin and JQueryPlugin, save data
# into subdirectories below the pub/Web/Topic directory. This
# data is normally invisible to Store. It cannot be copied
# by this utility.
#
# We use eachAttachment rather than META:FILEATTACHMENT because
# it iterates over all files in the pub dir in these file-based
# stores.
# stores. The 2nd option '1', causes eachAttachment to also
# return subdirectory names. They can't be read, but they will
# cause an error that is caught and reported.
#
my $att_it = $source_store->eachAttachment( $top_meta, 1 );
die $source_store unless defined $att_it;
Expand Down Expand Up @@ -437,6 +444,8 @@ sub validate_info {
}
}
catch Error::Simple with {

# Case 4: came across a subdirectory that cannot be copied.
my $e = shift;

#print STDERR $e->stringify();
Expand Down

0 comments on commit e3bd4c1

Please sign in to comment.