20 messages in com.perforce.perforce-user[p4] Preserving checkin comments from...
FromSent OnAttachments
Novikoff, Eric05 Aug 2002 11:37 
Novikoff, Eric05 Aug 2002 11:50 
Stephen Vance06 Aug 2002 04:42 
Patrick Bennett06 Aug 2002 07:01 
Chuck Karish06 Aug 2002 09:02 
Patrick Bennett06 Aug 2002 09:09 
Robert Prentice06 Aug 2002 10:13 
Patrick Bennett06 Aug 2002 10:42 
Dave Lewis06 Aug 2002 11:10 
Patrick Bennett06 Aug 2002 11:29 
ste...@vance.com06 Aug 2002 12:04 
Jeffrey Jensen06 Aug 2002 12:32 
Dave Foglesong06 Aug 2002 12:42 
Dave Foglesong06 Aug 2002 12:52 
Patrick Bennett06 Aug 2002 14:30 
ste...@vance.com06 Aug 2002 14:50 
Chuck Karish06 Aug 2002 20:41 
Patrick Bennett06 Aug 2002 20:43 
Chuck Karish06 Aug 2002 21:12 
Chuck Karish06 Aug 2002 21:15 
Subject:[p4] Preserving checkin comments from feature branches.
From:Chuck Karish (kar@well.com)
Date:08/06/2002 08:41:36 PM
List:com.perforce.perforce-user

At 11:09 AM 8/6/2002 -0500, Patrick Bennett wrote:

You're mistaken.... edit a file in branch a. submit the change with the comment 'added some test text' now, integ branch a to branch b and do a filelog -i on the file in branch b. Give the new changelist you submit (for the integration) the description 'test
integration' You will see that 'added some test text' is nowhere to be seen in the filelog -i

OK, I added a file (change 40), integrated it to another file (change 41) and ran 'p4 -i' on the new file. Both changes show up in the output. Without '-i' only the integration shows up.

Please show me where I'm mistaken.

Script started on Tue Aug 6 19:26:12 2002 bash-2.04$ touch foo bash-2.04$ p4 add foo //pluto/dogbert/tmp/foo#1 - opened for add /tmp/foo - empty, assuming text. bash-2.04$ p4 submit Submitting change 40. [ editing session elided ] Locking 1 files ... add //pluto/dogbert/tmp/foo#1 Change 40 submitted. bash-2.04$ p4 integ foo bar //pluto/dogbert/tmp/bar#1 - branch/sync from //pluto/dogbert/tmp/foo#1 bash-2.04$ p4 submit [ editing session elided ] Submitting change 41. Locking 1 files ... branch //pluto/dogbert/tmp/bar#1 Change 41 submitted. bash-2.04$ p4 filelog -i bar //pluto/dogbert/tmp/bar ... #1 change 41 branch on 2002/08/06 by Chuck_Karish at karish.dogbert (text)
'Branched from foo. ' ... ... branch from //pluto/dogbert/tmp/foo#1 //pluto/dogbert/tmp/foo ... #1 change 40 add on 2002/08/06 by Chuck_Karish at karish.dogbert (text)
'Test file. ' ... ... branch into //pluto/dogbert/tmp/bar#1 bash-2.04$ p4 filelog bar //pluto/dogbert/tmp/bar ... #1 change 41 branch on 2002/08/06 by Chuck_Karish at karish.dogbert (text)
'Bra nched from foo. ' ... ... branch from //pluto/dogbert/tmp/foo#1 bash-2.04$

Chuck Karish wrote:

In my experience filelog -i shows comments for all changelists back to file
creation, crossing to other branches at integration changelists.

At 09:01 AM 8/6/2002 -0500, Patrick Bennett wrote:

Nope - doesn't do it. All that will do is show the comments for the
>integration< changelists.. He's wanting to see the comments for the changelists of the edits from those
other branches.

Stephen Vance wrote:

The comments are still in Perforce. You just need to add the -i flag to the
filelog command to see them. That will cause the command to follow integration
links, as well.

At 11:50 AM 8/5/2002 -0700, Novikoff, Eric wrote:

We have begun using feature branches to help decouple multiple slightly-related feature development efforts. When the feature is merged back to mainline periodically, we do the merge as a single changelist, which loses all the individual checkin comments made by developers working in the branch. Is there another way to do this that preserves the comments in mainline? Is it easy? -eric