p4 integ //depot/main/foo.c#1 //depot/my_branch/foo.c
or
p4 edit //depot/my_branch/foo.c
p4 print -q //depot/main/foo.c#1 > foo.c
At 12:32 PM 1/13/00 , Glenn Kasten wrote:
I have this situation:
1. //depot/main/foo.c has 5 revisions
2. Create branch by integrating from //depot/main to //depot/my_branch. This
creates a file //depot/my_branch/foo.c with initial revision #1.
3. Now I want to sync //depot/my_branch/foo.c to revision #3 of
//depot/main/foo.c.
How can I do this? IMHO, that revision should exist on the codeline
"my_branch",
but I'm not sure what revision # to use.