Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
"No element named" message returned when executing the 'accurev pop' command.
PROBLEM/ABSTRACT:
After a deletion of an element from a reference tree, executing the 'accurev pop' command to recover this element fails with the following error.
# accurev pop foo.c
No element named /foo.c
SOLUTION:
When you execute the 'accurev pop' command, make sure you are sitting in the parent directory where the file resides. If you are not in the parent directory, the 'accurev pop' command will fail with the error mentioned above.
Example:
# pwd
/Reference_Trees/AC355/Patches_QA_Ref_Tree/Dir1
# rm foo.c
rm: remove write-protected regular empty file `foo.c'? y
# cd ..
# accurev pop foo.c
No element named /foo.c
# cd Dir1/
# accurev pop foo.c
Populating element /./Dir1/foo.c
For more information contact AccuRev Support