Anand
Anand

Reputation: 1122

perforce: list history of a file in main depot

I want to find out the history of a file in main depot. In clearcase I can do with the following command

% ct lshist -r -branch main -since "01-Jan-2014" hello.cpp

What is the equivalent command in p4? I tried p4 filelog but wasn't able to come up with the right args.

Upvotes: 1

Views: 140

Answers (1)

gareth_bowles
gareth_bowles

Reputation: 21130

p4 changes -l //depot/path/to/file

will display all changes to the file with the full description for each.

Upvotes: 2

Related Questions