Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6776253
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:00:21+00:00 2026-05-26T16:00:21+00:00

I got a small question with a big background. Let me ask a short

  • 0

I got a small question with a big background. Let me ask a short version and then expand it a little bit.

Short version of my question is as follows.

Imagine a situation – you have branch A with changelists 1000 to 1004. Then you make branch B from changelist 1004 and add a couple of more revisions (1005, 1006). After that you need to remove delta introduced by changelist 1002 from branch B. How can I do it? If I needed that on branch A – no problem, just Rollback to 1001 and re-integrate 1003-1004. But I need to remove a delta that was introduced by a changelist on a branch that does not have this changelist in its history. So how can I do this “selective delete”?

The lyric background of my question is as follows.
Back in the old days when I was a ClearCase engineer, I sometimes used a feature called ‘subtractive merge’. I called “merge” command, pointed 2 versions to identify a delta and a flag that said something like “remove” (this was a few years ago, I forgot the exact flag). What it did is that it removed the pointed delta regardless of when that delta was actually introduced – 1 commit away or a year ago. So it’s a subtractive merge that might be used as a rollback without deleting any versions, kinda “cut away” some delta.

Now I use Perforce and I can see “Rollback” command that allows make a changelist that removes a delta from “now” back to a changelist that I specify. And that’s how Perforce knowledge base advises to do when you need to remove some delta. And if you need to remove a range of changelists, you need to rollback that whole changelists’ stack from “now” back to the predecessor changelist and then integrate back everything except for the changelist you wanted to throw away. So – remove N changelists, and then integrate back N-1 changelist. I don’t know… That is looks like an overhead for me.

So I ask experiences Perforce users, do you know how to do “subtractive integrate” in Perforce?

Thank you in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T16:00:22+00:00Added an answer on May 26, 2026 at 4:00 pm

    Seems like I missed the key Perforce feature which was right in front of my eyes… “Back Out Submitted Changelist #####” does the right thing. See What is the difference between "Rollback…" and "Back Out Submitted Changelist #####" in Perforce P4V

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got this small question - given a bitmask of weekdays (e.g., Sunday =
Silverlight newbie question: I've got a small Silverlight application with the following XAML snippet:
I've got a small little page that is going to be viewed from a
I've got a small problem I'm struggling to solve. Let's say I've got an
I've got a small bit of DRY going on in code I and others
Got a (hopefully small) question regarding SVN and checking out repos. Basically I see
Im running into a small (newbie) problem. I've got 2 models: question & reviews.
Got a small question that ruins my day. I've got the Grails application that
I've got a very silly question to ask. I'm using NetBeans to built a
I've got a small question about Creating Aro-s in Cakephp http://book.cakephp.org/#!/view/1547/Acts-As-a-Requester I'm using code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.