I've got a Perforce server set up, and installed the P4V client. I've created a new depot and a new workspace. Per the documentation, I've mapped the workspace to the depot. So far so good.
I now have a .SQL script that was created by an external application that I wish to check in for the first time. I copied the file into my works...
We were working on a design, and for that we created the skeleton of the classes in our main branch. Now, we are starting to code, and for that we got a new branch. So, it would be nice if I can move all the new files in the main branch into the new branch. However, I cannot check them in yet. So, is it possible to integrate the chec...
I'd like to know how to convert Perforce depot locations to client view locations for the purpose of script writing.
I have a script that first checks out a file for edit in perforce and then interacts with the file. I need to have the depot location (i.e. \Projects\Project6) converted to the client view location. (i.e. d:\Projects\P...
What is the command-line equivalent of "Switch Port Client User" as found in the p4win gui client?
I am already logged under one port but now I am attempting to connect to a different port on the same server in order to access a separate source control file depot. I assume it would involve using:
p4 login
However, reading the 'help'...
Let's say I checked in a changelist (in Perforce) with lots of files and I'd like to revert the entire changelist. Is there an easy way to "revert" the entire changelist in one fell swoop?
Currently I do something like this for each file in the changelist:
p4 sync //path/to/file#n (where "n" is the previous version of the file)
cp fi...
It seems that there are no way to do that in P4V.
I can use 'Submitted Changelist'and but it's quite cumbersome and there I can only search by User & Workspace.
I'd like to search the history by description.
Is there any easy way to do that?
...
In the past, on Windows XP machines, I was able to install P4V (the stupid platform-independent Perforce visual client that Perforce tries to shove down your throats), then after that, install P4Win (the wonderful clean robust mature visual client that Perforce is stupidly trying to deprecate).
If I did the installs in that order (and o...
When I do an update and zillions of files are updated, I often miss the one that aren't merged because of conflicts. The only way I have is to go through all my changelists and look at file icons.
Isn't there a nicer way ? even a console based command would do...
...
How can I grab my local changelist and send it to someone else in Perforce?
...
We have a fairly large SVN repository which we are looking to migrate to perforce. We very much want to keep the ~20k revisions, the branches, etc, but in some initial tests the svn2p4 script that perforce provides wasn't able to replicate the full structure.
Have people had success with this tool, or were there others that my google ...
I have a fairly infrequent problem occuring with source control. In the example here the problem was occuring with Perforce, but I suspect the same problem will occur with many SCMs, especially distributed SCMs.
Perforce supports changelists (or changesets if you prefer). Changelists support two common usages:
When you commit a change...
I am working on a large source base (approx 15K files) decomposed into about 25 projects. I want to keep the source in perforce (and am evaluating perforce to that end) but due to complications in the setup it isn't possible for me to keep the visual studio projects in source control, I know in theory the answer to this is to check the p...
UPDATE:
So it turns out that we may have found a bug in Visual Studio 2003 (I know...no surprise). We found out that if the solutions were added to the repository using Visual Studio (using Add Solution to Source Control) everything went fine...go figure.
So we're converting our VSS repository (if it can be called that) to Perforce ...
Visual Studio 2008, to be more specific. We're testing out moving to Perforce for source control, so I'd like to install the P4SCC plugin to monkey around with. However, I'd also like to continue using SourceSafe's IDE capabilities for projects that haven't been moved over yet. Can the two co-exist peacefully, or is it one or the other f...
Our perforce admin limits "max-row" scans so that my first idea of running the following will not work:
All changes including integrates into a branch at particular label time 1
All changes including integrates into a branch at particular earlier label time 2
Subtract time 2 changes from time 1 to get the new changes with comments.
I...
I am trying to write a small tool to support some of code coverage tests we are running in my company.
Here's my requirement for the tool -
Input -
List of files (.cpp and .h) which have been modified (as a part of a checked-in changelist)
Output -
All the functions which were added or modified in the source (as a result of checking-i...
I'm using a Subversion repository hosted on Dreamhost for a project.
I would like to allow access to some users on a restricted basis. At the very least I would like to allow read-only access to some users, but ideally I would like to prevent some users seeing some parts of repository at all. I can't find user permissions mentioned in t...
Is there a way to get Perforce to send you an email on every check to a particular depository?
...
Is there a way to integrate files not in your client spec?
Specifically we've got a directory that contains a large number of static libraries that I build locally (so I don't need them out of source control), and would prefer not to have to pull them down from the server just to do an integrate.
In branch spec:
//project1/project/li...
I have checked out few files on the perforce client.
I can get the list of those files by command 'p4 opened'
It gives path in the form of //depot/... like
I want to know how this can be converted to path on the local path(I mean client path)
So that i can create a batch file to backup those just before end of the Day
Thanks In advance
...