[p4] Demerging in Perforce in General

Weintraub, David david.weintraub at bofasecurities.com
Thu Jul 27 05:03:35 PDT 2006

Actually, this brings up an interesting question...

How do you "unmerge" code from a file? In most version control systems,
you can specify a merge in reverse to say "remove any changes that this
particular version of the file had made". It can be important to undo
something that shouldn't have been included in the version in the first

It looks like you can sort of do this via the "p4 integrate" command,
but only by creating a new branch in the first place. However, I'm
looking for a two things:

* Demerging without branching. Sort of controversial, but other version
control systems do allow it.
* A way of demerging an entire branch that was previously merged into
another branch.

Is this possible in Perforce?

-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Aklujkar,
Sent: Thursday, July 27, 2006 5:13 AM
To: perforce-user at perforce.com
Subject: [p4] unsync the change list from the latest..??

Hi All,

How do we unsync or ignore a particular change list from the latest
submitted code...??


Thank You.


~ Abhi


perforce-user mailing list  -  perforce-user at perforce.com

More information about the perforce-user mailing list