develooper Front page | perl.perl5.build | Postings from November 2003

Re: New situation ....

Thread Previous | Thread Next
From:
PPrymmer
Date:
November 12, 2003 08:41
Subject:
Re: New situation ....
Message ID:
OF19139A15.C3CD3825-ON85256DDC.005A748A-85256DDC.005BA7A7@factset.com




After two people have p4 edit'ed the same revision of a file
there are at least two possible usage scenarios:

0). One of you issues 'p4 revert perl/Configure' and waits for the other to
submit
their change.  After that the other person can issue 'p4 sync
perl/Configure' and
sync out the submitted change and can then continue (i.e. issue p4 edit and
p4 submit).
This method serializes the changes made to the file.

1). Neither of you reverts the file and one submits.  When the second
person goes
to submit their changelist it will be marked as 'pending' rather than
submitted and
won't go into the depot until after a p4 resolve is done to merge and/or
edit the changes.
This method allows for merging concurrent changes (note that the merge
utility embeded
within the p4 resolve command is not unlike RCS merge and can leave lines
with
'>>>' and '<<<' merge conflict markers within a source files if you are not
careful with the
'am' command (e.g. you and Jarkko both changed the very same line in the
file)).

I hope that helps.

Peter Prymmer

"H.Merijn Brand" <h.m.brand@hccnet.nl> wrote on 11/12/2003 10:59:34 AM:

> l1:/pro/3gl/CPAN 193 > p4 sedit perl/Configure
> //depot/perl/Configure#550 - updating /pro/3gl/CPAN/perl/Configure
> //depot/perl/Configure#550 - opened for edit
> ... //depot/perl/Configure - also opened by jhi@kosh
>
>
> Uhhh, and next?
>
> --
> H.Merijn Brand        Amsterdam Perl Mongers (http://amsterdam.pm.org/)
> using perl-5.6.1, 5.8.0, & 5.9.x, and 806 on  HP-UX 10.20 & 11.00, 11i,
>    AIX 4.3, SuSE 8.2, and Win2k.           http://www.cmve.net/~merijn/
> http://archives.develooper.com/daily-build@perl.org/   perl-qa@perl.org
> send smoke reports to: smokers-reports@perl.org, QA: http://qa.perl.org


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About