13 messages in com.perforce.perforce-user[p4] How to submit only chaged files ?| From | Sent On | Attachments |
|---|---|---|
| Mark Kohler | 17 Jan 2000 13:28 | |
| Dave Lewis | 17 Jan 2000 13:52 | |
| Mark Kohler | 17 Jan 2000 15:01 | |
| Chuck Karish | 17 Jan 2000 15:12 | |
| Chuck Karish | 17 Jan 2000 15:15 | |
| Fredric Fredricson | 17 Jan 2000 15:42 | |
| Dave Lewis | 17 Jan 2000 19:27 | |
| Tal Dayan | 18 Jan 2000 00:43 | |
| Michael Graff | 18 Jan 2000 14:22 | |
| Dave Lewis | 18 Jan 2000 14:25 | |
| Tal Dayan | 18 Jan 2000 15:52 | |
| Steve Cogorno | 18 Jan 2000 18:03 | |
| Scott Blachowicz | 18 Jan 2000 22:07 |
| Subject: | [p4] How to submit only chaged files ?![]() |
|---|---|
| From: | Steve Cogorno (Stev...@Eng.Sun.COM) |
| Date: | 01/18/2000 06:03:25 PM |
| List: | com.perforce.perforce-user |
Michael Graff said:
You could revert the unchanged files before the submit. In version 99.2, it's "p4 revert -a". Prior to that, it's "p4 diff -sr | p4 -x - revert".
Yes, this is what I have to do. I have aliased a command to do it, so it isn't as much of a pain.
A few months back, I asked why submit only accepted one argument. Someone from Perforce (I believe) said that it was sort of a historical hack.
The problem with the revert method (which does work) is that I need to go back and check the files out again that I didn't yet change. Sometimes I actually don't want them checked out, and the revert method is what I want to do. But most of the time, I am just "checkpointing", and going back to check everything out again is sort of a pain.
A couple of things to put on the RFE wish list:
- Allow submit of multiple files.
- Add option to exclude unchanged files from the default changelist when submitting (not really needed if the previous is added).
Thanks!
Steve Cogorno Sun Microsystems




