[p4] p4 reconcile -w -f and -//workspace/excludes/...

callmewilko perforce-user-forum at forums.perforce.com
Fri Jul 6 03:30:01 PDT 2018


Posted on behalf of forum user 'callmewilko'.

I'm trying to use "p4 reconcile -w -f" to clean a workspace in
between builds, and it's leaving behind some files that are not in the repo.

Assume a workspace like this, which excludes 'tests' directories to save
time and space:

//top/... //workspace/top/...
-//top/.../tests/... //workspace/top/.../tests/...

A build step causes the local creation of the following (note the
"/tests/" in the 2nd path):

//top/module1/code/3rdpartything/thing.c
//top/module1/code/3rdpartything/stuff/tests/testthing.c

Running "p4 reconcile -w -f" correctly removes

//top/module1/code/3rdpartything/thing.c

but leaves behind

//top/module1/code/3rdpartything/stuff/tests/testthing.c

Can anyone come up with a way to rewrite the
-//workspace/.../exclude/... or alter the clearup command such that
"p4 reconcile" actually deletes these temporary, uncontrolled
artefacts?



--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/5773-p4-reconcile-w-f-and-workspaceexcludes


More information about the perforce-user mailing list