tags:

views:

46

answers:

2

What concepts etc in perforce are different from svn in ways that are likely to give me problems?

(I am not interested in witch is best, as it not for me to decide what system my new employer uses)

A: 

It's been a while since I used perforce, but one thing I remember is having to "check out" files before editing them. This may have been a config option at the company I worked at... but you have all the files in your workspace but they are read-only until you check them out.

Most IDEs have a plugin for P4 that probably does this for you when you start to edit the file... for Java, I know that the Eclipse and IntelliJ plugins did.

Perforce has a nice concept of change lists which really gives you the freedom to pick and choose what you want to check in right now.

Their command line and UI clients are awesome.

On a personal note, it was one of the more pleasant version control systems I have used.

cjstehno
Subversion supports changelists as well. (svn changelist).
khmarbaise
A: 

Few points which comes to my mind

  • svn maintains a copy in its .svn (hence a little slower) to do local operations like svn st, info, etc. but perforce would require a connecion to the server for every operation.
  • svn checkout is not the same in perforce. You might have to define a workspace and view to do a checkout.
  • You need to tell perforce that you are going to edit a file before editing it.
  • Do not edit any perforce file without network(connection to p4 server) your server might not recognize these changes when you try to commit it.
  • Perforce has better merge/branching capabilities.
  • You can have only one workspace in your perforce which is different from having multiple working copy in svn.
Version Control Buddy