How to remove files from changelist in perforce without losing modifications

p4vperforce

I accidentally created a new changelist with files from WORKSPACE not from DEPOT and now under the changelist 4500 modified files are displayed (all dlls pdbs etc. alongside with the files i actually edited)

I'm using the p4v GUI. Is there anyway to undo this, without having to backup all the files then revert them using perforce, put them back and create a new changelist using DEPOT.

Thanks a lot, i hope there's a workaround :).

Best Answer

Not sure if this is what you're looking for, but to remove checked out files from your changelist without removing the edits:

p4 revert -k -c changelist# //...
Related Topic