Perl source safe get by label failureby mgibian (Acolyte)
|on Aug 22, 2003 at 23:40 UTC||Need Help??|
mgibian has asked for the wisdom of the Perl Monks concerning the following question:
I have a Perl script that I have been using to perform builds. This script uses the source safe command line to fetch files into the workspace before doing any building. It does very rigorous error checking to be sure no problems go unnoticed during the build process. The fetch portion of this script has worked well for a number of months.
Yesterday I implemented a new feature. The original script fetched the latest version of all files, performed the build, and then at the very end attached a build label to the latest version of all files (hoping there had been no divergence between the fetch and the label steps). My change is to very early in the build label the latest version of the files, and then fetch the labeled version of all files. This is failing, reporting an error 25600, "No such file or directory".
I tested one last variation... I took the current script and removed the label argument from the get command and this is now failing with the same 25600 error.
The command line(s) I am using are:
Immediately prior to the get I do a ss Workfold to set the working folder to the desired target location, and that is succeeding with no problem. I have tried running the command line by hand in a shell window and THAT works without error.
1 - Why is source safe reporting a non-zero error code? What error is it reporting?
2 - Is my script just being overly sensitive to warnings and such, or is there something here I can fix so that the "get" begins returning zero (again)?
Thanks very much for your help, Marc