Forcedly update workspace in Accurev

百般思念 提交于 2019-12-05 22:53:54

According to question, I have similar issues. Usually I just use following commands:

accurev update -9
accurev pop -O -R .
accurev update

No, you will need to run a few operations. You can create a script to force update your workspace.

Basically, you will generate a list of all the modified, kept, overlap, member files, then purge those files, then update your workspace.

Check out the stat section in the CLI manual.

What You can do is delete all the local files from the file system and then do a:

accurev pop -R <path to local workspace directory>

I had similar issue; First take a back up of existing workspace, then Delete all the files in the local work-space folder. Click update button on Accurev. All files will be re-loaded on the workspace.

If you just want to undo all changes you have done in the workspace:

accurev stat -R -m -fl . | xargs -n 1 accurev purge

You can use similar command with rm / accurev pop to force refetch from backend. You can also vary the flags, -m for modified, -k for kept, -a for all.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!