Showing posts with label Perforce. Show all posts
Showing posts with label Perforce. Show all posts

Wednesday, May 7, 2008

Perforce HOW -- remove a changelist

Here is the command for removing the changelist if you don't have the P4 window client

p4 [-c clientName] change -d changelist_number

Read more!

Perforce HOW -- revert a file to old revision

In order to do this, you need to install P4 command line tool so that you have 'p4' command available in the command window.

p4 sync file_name#old_revision_number  -- sync file to its old revision
p4 edit file_name
p4 sync file_name
p4 resolve -ay -- auto resolve the file and accept yours
p4 submit file_name --submit the file with its old revision


I haven't figure out how to do it in Perforce window client. Please drop me a comment if you happen to know how to do this.

Read more!