Neha
Neha

Reputation: 221

How to update workspace with a defunct element in stream in Accurev

I am facing a problem while updating my workspace. One user has defuncted a file and promoted that. Now when I am trying to update my workspace, error occured, it says: "Element would be stranded .----------\abc.txt Some elements would be stranded as a result of an update. You will need to resolve this prior to trying update again. Display the File Browser Incoming Changes mode to see what might be causing elements to become stranded. Update failed."

How to resolve it.

Upvotes: 0

Views: 4210

Answers (2)

David Howland
David Howland

Reputation: 422

A file or directory becomes (stranded) when the parent directory has been defuncted. So in your case you're working on the file abc.txt and someone else has defuncted the directory, or parent directory where this file resides.

To resolve this you will either have to accurev mv abc.txt ../someplace/where/the/directory/exists or undefunct the directory where abc.txt resides.

Upvotes: 1

jstanley
jstanley

Reputation: 2097

Select the file abc.txt -> right click -> Revert To Basis version.
Once you have purged this file, you can update your workspace.

Upvotes: 2

Related Questions