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.

  • 相关阅读:
    Oracle数据库
    Python-aiohttp百万并发
    Sentry的安装搭建与使用
    traceroute命令初探
    Python中断言与异常的区别
    二十三种设计模式及其python实现
    Celery
    SQLAlchemy
    python里使用reduce()函数
    python实现栈
  • 原文地址:https://www.cnblogs.com/taoxu0903/p/1690317.html
Copyright © 2011-2022 走看看