[p4] Question about branching.

Jeff A. Bowles jab at pobox.com
Sat Oct 20 03:01:11 PDT 2007


One additional comment: the situation is very close to a common
situation that a Java developer might encounter....

    "I have x.java that defines class 'x' and want to copy it to
y.java to create a class 'y'.  My Perforce-folks encourage me to use
an 'integrate/submit' so that it is clear that I made a copy of x.java
to start from, but I need to change the class or package statement
before I submit it, so that revision #1 of the new file is immediately
usable."

Steve's response remains perfect for that situation also: integ / edit / submit.

    -Jeff

On 10/19/07, Stephen Vance <steve at vance.com> wrote:
> You just need to do a 'p4 edit' on it.
>
> Steve
>
> Steven W. Orr wrote:
> > I made a mistake when I went to rename a file. What I did was to
> >
> > p4 integrate oldname newname
> > p4 delete oldname
> >
> > Then I modified newname, not realizing that newname was not opened for
> > editing. The expected result was that the submit didn't contain any of my
> > changes.
> >
> > Is there a way to modify a file after an integrate before a submit?
> >
> > TIA
> >
> >
>
> --
> Stephen Vance
> www.vance.com
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>


-- 
---
Jeff Bowles - jeff.a.bowles at gmail.com


More information about the perforce-user mailing list