Questions tagged [perforce-branch-spec]

A mapping between two sets of files for use with p4 integrate

p4 branch enables you to construct a mapping between two sets of files for use with p4 integrate.

A branch view defines the relationship between the files you're integrating from (the fromFiles) and the files you're integrating to (the toFiles). Both sides of the view are specified in depot syntax.

37 questions
11
votes
2 answers

Perforce: Branch from a specific changelist perforce

How do you branch from a specific changelist in perforce? That is, if main is my main codeline, and I want to create a branch b off of main from a changelist n, what is the syntax to do this? I've tried: //depot/main/...@n //users/me/sandbox/... in…
DSaracino
  • 241
  • 2
  • 6
7
votes
4 answers

How do I rename a branch specification in perforce?

I would like to know how to rename a branch specification (aka, a "branch mapping") in perforce. The P4V client does not allow you to edit the branch spec name. Is it safe to just add another branch specification, copy the settings and remove the…
sorin
  • 161,544
  • 178
  • 535
  • 806
6
votes
3 answers

How to delete Stream Depot in perforce

I use P4Admin to create Stream Depot (named streamDepot) in perforce, then I create a Stream(main) by client, I populated it with client workspace and with a project. But when I try to obliterate the files and delete that streamDepot depot with…
Mustafa Ekici
  • 7,263
  • 9
  • 55
  • 75
5
votes
0 answers

Associate specific paths in Atlassian Fisheye with Perforce branch mappings

Say I have branches //depot/app/main and //depot/app/dev. "Dev" was created with a Perforce branch mapping         map_main_to_dev which has the "view" of         //depot/app/main/... //depot/app/dev/... This branch mapping shows up as a "branch" in…
5
votes
2 answers

What is a branch specification in Perforce?

it seems to me that keeping the "branch" object in Perforce may not be entirely necessary after an integration has been submitted. I.e. the "real" branch, is actually a folder path, and even if you delete the branch object that was created to…
4
votes
1 answer

How do you get the branch spec that was used for a specific integrate in the depot history?

P4V's depot view shows the various branches and their paths, but not the branch names. The branch spec (or branch mapping) contains the "name" of the branch. Let's assume that user X has branched code from branch A to branch B using a branch…
Carl
  • 43,122
  • 10
  • 80
  • 104
4
votes
1 answer

Integrating multiple changelists on perforce

I have a list of changelists to be merged from the trunk to branch. Is there a way to automate integrating multiple changelists in perforce ?
sbr
  • 4,735
  • 5
  • 43
  • 49
3
votes
3 answers

P4V: Automatically Integrating Changes Changelist-By-Changelist Using Branch Mapping

Using Perforce, I am trying to automate the integration from our dev branch to our main branch. I have branch mapping set up, and I know I can integrate changes automatically for the entire branch. I was wondering if there is a way to integrate…
Chris C.
  • 1,217
  • 2
  • 10
  • 6
2
votes
1 answer

How to create a new private branch in P4 (perforce) from an existing one?

I am using P4V. I need to create a new private branch from an existing project repository. How can i do this in P4V? From a help file, I got the following steps: Create a branch Specification for the files you want to keep in private branch In P4…
monish001
  • 671
  • 2
  • 8
  • 20
2
votes
1 answer

How to create private remote perforce branches and push to it?

Familiar with git, first time using perforce. I am working on my own feature which I would not like to push to mainline remote repository. I need something like git remote branches where: I can commit my changes. Something like git commit I can…
roadrev
  • 67
  • 5
2
votes
1 answer

How can I track a CL's branches across multiple streams with a script

I'm attempting to create a script (If possible) which can fetch a specific CL from perforce and lists the streams or branch that it has been integrated into along with the CL of that integrate and maybe some other details (Like user of check in or…
2
votes
1 answer

Adding user to a particular branch in Perforce

How can I give access to only a set of users to edit a particular perforce branch after I created it? I am not the admin of perforce but only the creator of the branch.
Elpis
  • 297
  • 2
  • 8
2
votes
2 answers

Branch view for a file that has been split into multiple files

I have a large source file in Perforce that has been split up into several smaller files in a branch. I want to create a branch view that can handle this, but perforce (2009.1) only sees the last of the multiple files. For example, I created: p4…
ScottJ
  • 1,080
  • 12
  • 20
2
votes
1 answer

List files which are new or deleted between two branches

I've two branches in perforce. Branch12.0 and Branch14.0. How can I find files which are deleted/added from Branch14.0 since Branch12.0?
mAc
  • 199
  • 1
  • 3
  • 9
2
votes
1 answer

branch spec issue

I am trying to port changelist "661234" from source to target branch using branch mapping "branch1.2_1.2.0" but I keep getting that its already commited but the changes are not merged actually..how can I overcome this?any tips on what the issue…
user1795998
  • 4,937
  • 7
  • 23
  • 23
1
2 3