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

  • SEARCH
  • Home
  • 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 6227391
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:12:18+00:00 2026-05-24T09:12:18+00:00

We have a folder that was copied outside of perforce then checked in with

  • 0

We have a folder that was copied outside of perforce then checked in with the old folder deleted. Therefore perforce does not know what the common base is for an integration from another branch.

Is there some way to tell perforce retrospectively the relationship between the two folders?

  • 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-24T09:12:19+00:00Added an answer on May 24, 2026 at 9:12 am

    The simplest method is simply running:

    p4 integ -i <original folder>@<pre-delete revision> <dest folder>
    p4 resolve -ay
    

    The first line forces an integration between two paths that share no common ancestor. The second line resolves the merge without any actual content merging. So basically you’re drawing the integration arrow retroactively.

    The only hiccup is that you drew the merge arrow pointing to the latest revision of the copy, rather than its starting point. That might make future merges a bit more complex, but the integration engine should handle it well enough.

    Were you actually just trying to rename the folder? The p4 move command does write some metadata that lets the merge engine follow renames. There’s not much you can do in this case in addition to what I’ve already described, unless you want to recover the deleted folder, move it to yet another name, and then replay any changes you made to the copied files. Probably not worth the hassle though.

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

Sidebar

Related Questions

I have SVN bound folder that is copied from my colleague's machine. that folder
I have a folder that contains more than 200K images. Some images will follow
I have a folder that contains many different files: folder1: somthing.php somthingelse.php blah.php ect
currently i have a /en/ folder that is empty except for a .htaccess with
If I have a folder structure that looks like this: / /bin/myComponent.cfc /reports/index.cfm How
I have a folder save here: C:\MyFiles And in that folder I have a
I have a folder C:\Scripts. In that folder I have 2 sub folders, Procedures
Can anybody guide me in the right direction... I have some folder strucktures that
Suppose i have one folder and inside that another two files are there .
I have a bunch of images in a folder that are effectively just pieces

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.