[p4] A tool to list all files that haven't been added
Rick Cameron
Rick.Cameron at businessobjects.com
Thu Jun 1 09:33:32 PDT 2006
Given how often this sort of thing is requested, it surprises me that
Perforce hasn't provided a really great solution.
The only assistance provided by Perforce GUIs AFAIK is the 'Local files
not in depot' view in p4win. This view has two deficits that prevent it
from being a good solution to the problem:
1) The results are shown as a tree, so you have to search through the
branches to find missing files - how about an option to show all missing
files in a flat list?
2) The view does not allow any kind of filtering, so you see .obj and
.class files as well as .cpp and .java files.
If these two deficits were remedied, this view would be a very good
solution to the problem.
BTW, I don't think this view is in p4v - I wonder why not?
Cheers
- rick
-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Taylor Brown
Sent: Thursday, 1 June 2006 8:09
To: perforce-user at perforce.com
Subject: [p4] A tool to list all files that haven't been added
Is there a GUI tool out there (or a way to do this in the Perforce GUIs)
that allows me to see, at a glance, the difference between my perforce
depot and my local drive? In particular, I need an easy way to see
which files I have forgotten to add to Perforce. When you all need to
guarantee that your checkin won't miss any new files, do you just
recursively add files that match particular wildcards? For example:
Recursiveadd.bat *.cpp
Recursiveadd.bat *.h
...
This could work, but I'm still worried it could miss the oddly named new
file.
I'd love to have a tool to recommend to our devs as a best practice
before they do their checkin. I am guilty of performing a checkin,
syncing to a clean branch, testing, and then adding the files I forgot.
Although I work in my own branch, I still don't like the idea that I'm
breaking the branch until I get all my files checked in. I'd rather it
be more atomic.
What I _really_ want (and now I'm dreaming) is a Beyond Compare plugin
where one side is my local file system and the other is my Perforce
depot...Now THAT would be a tool.
Many thanks for any advice or assistance,
Taylor
_______________________________________________
perforce-user mailing list - perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
More information about the perforce-user
mailing list