Permalink
Browse files

Item13890: bulk_copy --latest compares Web.Topic

Comparison shoudl be testing the web.topic, not just the topic name.
  • Loading branch information...
1 parent f94c234 commit df2ae3811d1766659fbbc85e7910372099324000 @gac410 gac410 committed Dec 8, 2015
Showing with 2 additions and 1 deletion.
  1. +2 −1 core/tools/bulk_copy.pl
@@ -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

0 comments on commit df2ae38

Please sign in to comment.