zoukankan      html  css  js  c++  java
  • [Tip: perforce] Unchanged File For Submission Consideration

    When we submit code, sometimes unchanged files will be checked in occasionally. In some cases, it is a mistake while in some cases it's correct behavior!

    Mistake Check in Unchanged Files

    In most cases, we don't need to check in unchanged things. Two ways to resolve this:

    1. Always remember to "Revert Unchanged Files" before submitting using Perforce CL menu command;

    2. Change your clientspec:

    Needed Check in Of Unchanged Files

    However, there are a couple of reasons that you might wantto submit unchanged files. These reasons come up only rarely, but it’s good tothink about them:

    1. When doing a merge from another branch, and the exact same change has been done to a file on both branches, the merge will bereverted for this file. Then each time the same merge occurs, Perforce will think this file needs to be merged again. Submitting the file unchanged will let Perforce know that the file is now resolved.

    2. Changing the metadata of a file doesn’t change the file. For example, if you want tochange the file type, you will need to be able to submit unchanged files.

  • 相关阅读:
    watch 一些实际用法(vue)
    如何动态渲染多个echart图表小结(vue)
    webstorm 合并代码冲突后如何唤起代码合并弹窗方案
    jQuery Mobile
    响应式布局
    Angularjs
    项目经理PPT演讲意见
    创业者自己摸索总结的12条建议
    关于网站建设
    调研方案如何炼成?
  • 原文地址:https://www.cnblogs.com/taoxu0903/p/1690317.html
Copyright © 2011-2022 走看看