获取当前工作空间目录的更改列表编号 [英] Get the changelist number of current workspace directory

查看:46
本文介绍了获取当前工作空间目录的更改列表编号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次进行构建时,我们都必须记录源文件的更改列表数量以进行跟踪.我们有不同的项目(在不同的目录下),它们在不同的变更列表编号上同步.请告诉我如何获取特定目录的更改列表编号?

Each time we do a build, we have to record the changelist number of source files for tracking. We have different projects (under different directories) and they are synced at different changelist number. May you please show me how can we get the changelist number of a specific directory?

任何建议表示赞赏.感谢和最好的问候

Any suggestions are appreciated. Thanks and Best Regards

推荐答案

此外,还有 p4 更改 -m1//path/to/your/project/...#have 如果运行在同步文件以进行构建的客户端工作区中,将为您提供工作区中文件的最高更改列表编号.

Also, there's p4 changes -m1 //path/to/your/project/...#have which, if run in the client workspace that synced the files for building, will give you the highest changelist number of the files in the workspace.

这篇关于获取当前工作空间目录的更改列表编号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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