How to find untracked files in a Perforce tree? (analogue of svn status)

EDIT: Please use p4 status now. There is no need for jumping through hoops anymore. See @ColonelPanic’s answer. In the Jan 2009 version of P4V, you can right-click on any folder in your workspace tree and click “reconcile offline work…” This will do a little processing then bring up a split-tree view of files that … Read more

Can you “ignore” a file in Perforce?

As of version 2012.1, Perforce supports the P4IGNORE environment variable. I updated my answer to this question about ignoring directories with an explanation of how it works. Then I noticed this answer, which is now superfluous I guess. Assuming you have a client named “CLIENT”, a directory named “foo” (located at your project root), and … Read more

Should commit messages be written in present or past tense? [closed]

I think of these messages as they appear to other developers. They don’t yet have the changes applied, and there is the implicit question, “what will applying this changeset/patch do?” It will “Fix the XXX bug in YYY”! For other verbs writing them as a command seems more natural, and works better if you have … Read more

When should you branch?

In general term, the main purpose of branching (a VCS – Version Control System – feature) is to achieve code isolation. You have at least one branch, which can be enough for sequential development, and is used for many tasks being recording (committed) on that same unique branch. But that model shows quickly its limit: … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)