Skywolf
Skywolf

Reputation: 703

List unchanged files in default changelist with P4 command line

Is there a way to list all unchanged files from default pending changelist with P4 command line tool? For some reason I would like to detect such files and make further changes. Thanks a lot.

Best Regards

Upvotes: 1

Views: 1526

Answers (1)

devnull
devnull

Reputation: 123648

Use p4 revert.

Saying

p4 revert -a

would revert all unchanged files.

You don't want to revert but want to list the unchanged files, so supply the -n option. Saying:

p4 revert -a -n

would list the unchanged files without performing any action.

Upvotes: 5

Related Questions