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.

  • 相关阅读:
    JUnit手记
    Guava手记
    深表浅表拷贝
    异常问题仓库
    记录一次“记录超长”
    高二数学微课堂[教学视频]
    高一数学微课堂[教学视频]
    用导数研究函数的性质
    均值不等式的常见使用技巧
    一元二次方程根的分布
  • 原文地址:https://www.cnblogs.com/taoxu0903/p/1690317.html
Copyright © 2011-2022 走看看