9 messages in com.perforce.perforce-userHow to avoid creating new revisions f...
FromSent OnAttachments
bask...@kodak.combaskaran23 Nov 1998 06:37 
Stoll23 Nov 1998 10:21 
Chas...@luna.com23 Nov 1998 10:54 
Scot...@seanet.com23 Nov 1998 11:20 
Greg...@platinum.com23 Nov 1998 12:27 
Ping...@mit.edu23 Nov 1998 14:01 
Mike...@apple.com23 Nov 1998 15:22 
Jeff...@paragon-software.com23 Nov 1998 15:33 
Ping...@mit.edu23 Nov 1998 16:14 
Subject:How to avoid creating new revisions for unchanged files?
From:Chas...@luna.com (Chas@luna.com)
Date:11/23/1998 10:54:02 AM
List:com.perforce.perforce-user

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