From: baskaran at kodak.com:
I open 10 files for edit to fix a bug or add a new feature to my
application. In the course of doing it I end up modifying only 8
of those 10 files. Now all the opened files are in my default
changelist. When I submit that changelist, how do I make
sure that it does not create new revisions for the 2 files that
did not change?
In the GUI, right-clicking on a changelist gives you an option to revert
unchanged files.
# From the command-line, use "p4 diff -sr" to detect unchanged files, then
pass the results to "p4 revert". Alternatively, use "p4 diff -sa" to detect
opened AND changed files, and pass the results to "p4 submit". The latter
method will cause unchanged file niot to show up in the changelist
submission, so you unchanged files will be left opened for edit.
Peace,
_chas_
#############################################
Chas Schley
Luna Information Systems
1111 Broadway, suite 1450
Oakland, CA 94607
voice: (510) 444-LUNA (444-5862) x307
fax: (510) 452-LUNA
email: chas.schley at luna.com