使用 p4 提交时 -j(选择作业)选项在哪里?

发布于 2024-08-30 00:08:40 字数 165 浏览 2 评论 0原文

在 Perforce 中提交变更列表时,我需要分配一个作业。当我调用“p4 提交”时,我应该与更改列表关联的作业没有分配给我,并且不会显示在可用作业列表中。我知道我要使用的职位编号,但找不到指定它的方法。基本上,我想做类似的事情:

p4 Submit -j

但没有 -j 选项...

When submitting changelists in Perforce I need to allocate a job. The jobs which I am supposed to associate with my changelist are not allocated to me and does not show up in the list of available jobs when I invoke "p4 submit". I know the job number which I am going to use, but can't find a way to specify it. Basically, I want to do something like:

p4 submit -j

But there is no -j option...

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

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

发布评论

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

评论(2

寒尘 2024-09-06 00:08:40

您可以创建一个编号的待定更改列表,并将作业(p4 修复)附加到该列表。

我认为没有一种一次性方法可以通过任意作业提交默认更改列表。

You can create a numbered pending changelist, and attach jobs (p4 fix) to that.

I don't think there's a one shot way of submitting the default changelist with an arbitrary job.

°如果伤别离去 2024-09-06 00:08:40

在您的更改规范中(当您执行 p4 提交或 p4 更改时),只需添加一个 Jobs: 部分,其中包含您希望修复的换行符分隔的作业列表。

如果您编辑用户(p4 用户)并添加 jobview: 部分,则 jobs 部分将自动出现。

请参阅http://kb.perforce.com/?article=052

In your change spec (when you do p4 submit or p4 change) simply add a Jobs: section with a newline separated list of jobs you wish to fix.

If you edit your user (p4 user) and add a jobview: section, the jobs section will appear automatically.

See http://kb.perforce.com/?article=052

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文