如何通过命令行取消更改列表?

发布于 2024-11-16 03:21:55 字数 55 浏览 4 评论 0原文

实际上,如何通过命令行取消特定的更改列表?通过 GUI 很容易做到这一点,但我找不到命令行命令。

In perforce, how do you back out a specific change list through the command line? This is easy through the GUI, but I can't find a command line command.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

奢欲 2024-11-23 03:21:55

GUI 正在执行一系列命令。根据您想要回滚的程度以及更改是否包括添加/删除/编辑或仅编辑,命令的顺序略有不同。

您可以参阅有关 Perforce 知识库的文章了解具体详细信息。他们将其分为三个不同的区域:

The GUI is performing a series of commands. Depending on how far you want to rollback and whether or not the change includes adds/deletes/edits or just edits, the sequence of commands slightly differ.

You can refer to the article on Perforce's KB for exact details. They break it up into three different areas:

阳光下慵懒的猫 2024-11-23 03:21:55

从 2016.2 版本开始,您可以执行以下操作:

p4 undo @CHANGE,CHANGE

撤消更改列表。

https://www.perforce.com/perforce/doc.current/用户/relnotes.txt

Major new functionality in 2016.2

    #1414787 (Bug #1649) **
        A 'p4 undo' command has been added to simplify the process of
        backing out submitted changes.  See 'p4 help undo'.

As of the 2016.2 release you can do:

p4 undo @CHANGE,CHANGE

to undo a changelist.

https://www.perforce.com/perforce/doc.current/user/relnotes.txt

Major new functionality in 2016.2

    #1414787 (Bug #1649) **
        A 'p4 undo' command has been added to simplify the process of
        backing out submitted changes.  See 'p4 help undo'.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文