Discussion:
[p4] How to do a dummy merge without actual content
Sven Erik Knop
2017-04-12 09:27:11 UTC
Permalink
Hi Tanvir,

I think you missed the second step.

Merge the files from one stream to the next as you've done.
The next step is to resolve the files but ignore any changes (choose target files, "accept yours"). Easiest done from the command line with

p4 resolve -ay

This will ignore file changes and any added files.

With this step you have established a base, which will now be used for future integrations.

You will have to be careful with renamed files that differ in name between mainline and release.

Cheers,

Sven Erik

--

Sven Erik Knop | Principal Solutions Engineer
Perforce Software<http://www.perforce.com>
T: +44 1189 771020<tel:+441189771020> | M: +44 7974 351514<tel:+447974351514>
Visit us on: Twitter<https://twitter.com/perforce> | LinkedIn<https://www.linkedin.com/company/perforce-software> | Facebook<https://www.facebook.com/Perforce>



On 12 Apr 2017, at 08:10, tanvirkazmi <perforce-user-***@forums.perforce.com<mailto:perforce-user-***@forums.perforce.com>> wrote:

Posted on behalf of forum user 'tanvirkazmi'.

We maintain two different streams, say mainline and a release stream. Currently,
we are setting both up for the first time (via imports from ClearCase), and they
have a lot of content showing as pending integration (via p4 interchanges).

Since these are new streams, we know that there is no need for any integration
between the two and Perforce should just ignore any pending integrations as of
date (via any command which does a dummy merge sort of which marks everything on
the destination stream as already integrated from source stream, but without any
actual merge content).

Once we have marked the two streams as being "in-sync", without any
further pending integrations, any new submits on either should be candidates for
any future merge or p4 interchanges command.

Is there something in p4 merge or similar which I can use to dummy mark the two
streams in sync without any pending integrations as of date? I looked around and
checked the syntax but nothing stood out.

Thanks,
Tanvir



--
Please click here to see the post in its original format:
http://forums.perforce.com/index.php?/topic/5281-how-to-do-a-dummy-merge-without-actual-content
_______________________________________________
perforce-user mailing list - perforce-***@perforce.com<mailto:perforce-***@perforce.com>
http://maillist.perforce.com/mailman/listinfo/perforce-user

_______________________________________________
perforce-user mailing list - perforce-***@perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce

Continue reading on narkive:
Loading...