Changeset 37150


Ignore:
Timestamp:
2023-01-18T14:51:55+13:00 (9 days ago)
Author:
davidb
Message:

Rewording of warning to make what is happening clear (motivated by file-level document-version history feature)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/arcinfo.pm

    r33167 r37150  
    159159
    160160    if ((defined $filename) && &FileUtils::fileExists($filename)) {
     161       
    161162    if ($filename =~ m/\.inf$/) {
    162163        # e.g. 'archives-src.inf' (which includes complete list of file
     
    170171}
    171172
     173# Loads in reverse-lookup info:
     174#   Key   = a file in import
     175#   Value = all the the doc ids that file is used in
     176#
    172177sub load_rev_info
    173178{
     
    326331        # where the document already seems to exist
    327332        print STDERR "Warning: $OID already exists with index status $existing_status_info\n";
    328         print STDERR "         Deleting previous version\n";
     333        print STDERR "         Deleting previous version stored in archiveinfo\n";
    329334
    330335        $self->delete_info ($OID);
Note: See TracChangeset for help on using the changeset viewer.