Can you “ignore” a file in Perforce?

后端 未结 10 532
被撕碎了的回忆
被撕碎了的回忆 2020-11-29 19:35

I sometimes use the feature \'Reconcile Offline Work...\' found in Perforce\'s P4V IDE to sync up any files that I have been working on while disconnected from the P4 depot.

10条回答
  •  误落风尘
    2020-11-29 19:54

    I'm looking for a .p4ignore like solution as well (and not one tied to a particular IDE). Thus far, the closest thing I've found is p4delta. It sounds like it will do exactly what the original poster was asking, albeit through another layer of indirection.

    http://p4delta.sourceforge.net

    Unfortunately, while this does seem to produce the proper list of files, I can't get "p4delta --execute" to work ("Can't modify a frozen string") and the project has not been updated in year. Perhaps others will have better luck.

提交回复
热议问题