如何删除带有挂起更改列表的 perforce 客户端 [英] How to delete a perforce client with pending changelist

查看:66
本文介绍了如何删除带有挂起更改列表的 perforce 客户端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 perforce 中有一个工作区,我将一些文件标记为删除.现在我想强行删除该工作区.

但我没有管理员权限.我怎样才能做到这一点?

解决方案

运行 p4 opens 以查看所有打开的文件并运行 p4 revert 将它们还原.>

然后运行 ​​p4 changes -c your-client-name -s pending 以查看所有待定的变更列表.由于在第一步中您还原了所有打开的文件,因此这些更改列表都将为空.运行 p4 change -d change-number 删除每个空的挂起变更列表.

然后你可以运行 p4 client -d 来删除你的客户端.

I have a workspace in perforce in which I made some files mark for delete. Now I want to delete that workspace forcefully.

But I don't have admin rights. How can I achieve this?

解决方案

Run p4 opened to see all your opened files and run p4 revert to revert them.

Then run p4 changes -c your-client-name -s pending to see all your pending changelists. Since in the first step you reverted all your open files, these changelists will all be empty. Run p4 change -d change-number to delete each empty pending changelist.

Then you can run p4 client -d to delete your client.

这篇关于如何删除带有挂起更改列表的 perforce 客户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆