HRefresh error No matching file/directory
search cancel

HRefresh error No matching file/directory

book

Article ID: 75060

calendar_today

Updated On:

Products

CA Harvest Software Change Manager - OpenMake Meister CA Harvest Software Change Manager

Issue/Introduction

My HRefresh UDP is having trouble checking out a file in the DEV state for a new project I’ve created.  The error I encountered is:
Summary of delete processing results follows.
Total items/paths processed: 1
Failures: 0
No matching file/directory: 1
Deleted files: 0
Deleted directories: 0
Non-empty directories: 0

What should I do to resolve this issue.

Environment

CA Harvest SCM 12.6
Linux Operating System

Resolution

HRefresh will execute an HSync command which has 2 steps. First it tries to delete any files that no longer belong in your target folder, then it checks out any files that need to be checked out.

During the “delete” phase, Harvest came back with this report:

No need to delete: /path/filename

Then, during the checkout phase it did not find any files that needed to be checked out.

You can read more about how Harvest handles the “delete” phase of hsync here: hsync Directory Synchronization - File Deletion

Hsync deletes files in the reference directory that meet the following conditions:
• The check-out version list does not have the version with the same name and relative path as the file.
• The file is read-only.
When the report came back that /path/filename did not need to be deleted, it means that neither of those conditions was found to be true about this file. (either the list of files to check out did include this file, and/or the file is not read-only)

Then, in the checkout phase of Hsync it compares the versions of the files on its list with the corresponding versions found in the target folder. In this case the versions were the same so no need to check anything out.