Solved

Creating Branch In Perforce

Posted on 2010-11-10
6
838 Views
Last Modified: 2012-06-27
I am attempting to create a branch in Perforce that was previously deleted. The intended target was integrated with an older version of code. So the new branch that was never used was deleted. Now it's saying that the branch has already been integrated. Is there a way to override so that the new branch can be created even though it exists in the deleted history. Please bare with me, I'm new to Perforce. Thanks
0
Comment
Question by:Robert Pollick
  • 2
6 Comments
 
LVL 5

Expert Comment

by:daveTechSearch
ID: 34157975
Just had some time to kill, don't use Perforce myself:

This is in reference to 'files'.  Not sure if it also pertains to 'branches'
http://www.perforce.com/perforce/doc.current/manuals/p4web/help/integrate.html

Force re-integration if previously integrated  
Normally Perforce doesn't open a target file for integrate if all of the source file revisions under consideration have already been integrated to it. Checking the "force re-integration" option makes the integrate command open the target file for integrate regardless of previous integration history. When you submit the file, integration history between the two files will be effectively rewritten to reflect the most recent of the duplicate integrations.
 
0
 
LVL 5

Expert Comment

by:daveTechSearch
ID: 35110165
Not needed?  NO follow up by the author was even done after some (valid) assistance was offered.
0
 
LVL 51

Accepted Solution

by:
Ted Bouskill earned 500 total points
ID: 35175970
The correct answer is a powerful command that is dangerous if used incorrectly: obliterate
http://www.perforce.com/perforce/doc.current/manuals/cmdref/obliterate.html

The reason you cannot create the new branch is delete doesn't permanently remove the files from the database.  That way you can recover if you realize the delete was unjustified.  The only way to permanently remove files is using that command.  Use it with caution.
0
 

Expert Comment

by:Modalot
ID: 35275372
I am starting the Auto-Close procedure on behalf of the question asker, as a (new) expert comment resolves the issue.


Modalot
Community Support Moderator
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
Read about how to choose the best possible content marketing agency to suit your needs. Content marketing has become an integral part of running a successful tech business, so it is wise to be informed.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now