Deleting new files after a p4 revert

前端 未结 2 1603
自闭症患者
自闭症患者 2021-02-20 03:17

My workflow for testing my changes to our source code on a remote machine is the following:

1) On local machine: Shelve changes that I\'d like to test

2) On remo

2条回答
  •  一个人的身影
    2021-02-20 04:12

    I think what you're looking for is p4 revert -w. From the help:

    The -w flag causes files that are open for add to be deleted from the workspace when they are reverted.

    Note: I'm using the 2013.2/719516 client against a 2013.2/708877 server, in case that switch was added recently...

提交回复
热议问题