Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Item13890: bulk_copy --latest compares Web.Topic
Comparison shoudl be testing the web.topic, not just the topic name.
  • Loading branch information
gac410 committed Dec 8, 2015
1 parent 2aab99b commit 22951fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/tools/bulk_copy.pl
Expand Up @@ -277,7 +277,8 @@ sub copy_topic {

# The revision list is sorted starting with the most recent revision
my @rev_list = $topicMO->getRevisionHistory()->all();
if ( grep { $topic =~ /^$_$/ } @{ $control{latest} } ) {

if ( grep { "$web.$topic" =~ /^$_$/ } @{ $control{latest} } ) {
announce "\t-only latest";

# Only do latest rev
Expand Down

0 comments on commit 22951fe

Please sign in to comment.