Discussion:
[p4] finding deleted files within a user/client
Paul Mitchell
2001-11-28 22:08:40 UTC
Permalink
Has anyone found a way to find the set of files which have been deleted from
a give ***@client within some spec? I'm looking for something akin to "p4
opened" only for deleted files. I know I can parse changelists, but I'm
looking for something higher-level than that.

Thanks,
Paul


--------------------------------------------------------------------
Paul Mitchell
Senior Hardware Engineer email: ***@ati.com
ATI Research, Inc. voice: (508) 303-3932
Lake Williams South
62 Forest Street
Marlborough, MA 01752
Dave Lewis
2001-11-28 22:19:08 UTC
Permalink
p4 files will report the deleted files in a depot path

dave
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
charset="iso-8859-1"
X-Mailman-Version: 2.0.4
Precedence: bulk
List-Subscribe: <http://maillist.perforce.com/mailman/listinfo/perforce-user>,
List-Id: Discuss Perforce with other users <perforce-user.perforce.com>
List-Unsubscribe: <http://maillist.perforce.com/mailman/listinfo/perforce-user>,
List-Archive: <http://maillist.perforce.com/pipermail/perforce-user/>
Date: Wed, 28 Nov 2001 17:08:40 -0500
Has anyone found a way to find the set of files which have been deleted from
opened" only for deleted files. I know I can parse changelists, but I'm
looking for something higher-level than that.
Thanks,
Paul
--------------------------------------------------------------------
Paul Mitchell
ATI Research, Inc. voice: (508) 303-3932
Lake Williams South
62 Forest Street
Marlborough, MA 01752
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
Eric Dew
2001-11-28 22:24:09 UTC
Permalink
I have a developer who's using P4Win. We're trying to add a bunch of
new files (several
directories worth). When we drag the directory icon to the default
changelist P4(Win)
goes through the standard listing of the new files, and then prompts for
clicking on the
OK button.

We click on the OK button and then P4 gives us the yellow "!" warning
icon and the
above message: no permission for operation on file(s).

What the heck does that mean, and why am I getting that message? We're
trying to
check in a bunch of files. They're mostly Word documents (all the files
are various
types of documents written in word or adobe illustrator or whatever
other apps).

EDEW
Stephen Vance
2001-11-29 12:23:19 UTC
Permalink
As Dave Lewis said, 'p4 opened' works if they were deleted using 'p4 delete'.
If you are trying to find out what was deleted outside of Perforce, say
with an OS 'rm' or 'del' command, try 'p4 diff -sd'.
Post by Paul Mitchell
Has anyone found a way to find the set of files which have been deleted from
opened" only for deleted files. I know I can parse changelists, but I'm
looking for something higher-level than that.
Thanks,
Paul
--------------------------------------------------------------------
Paul Mitchell
ATI Research, Inc. voice: (508) 303-3932
Lake Williams South
62 Forest Street
Marlborough, MA 01752
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
Stephen Vance
mailto:***@vance.com
http://www.vance.com/
Stephen Vance
2001-11-29 12:26:07 UTC
Permalink
Most likely means that the files you are dragging don't fall in a client
map or that the developer does not have write access to the part of the
depot they map into. Make sure your client path mapping is correct (be
meticulous and try 'p4 where'), make sure the developer is using the right
Perforce user ID, and make sure the user they are using has write
permission to that part of the depot.
I have a developer who's using P4Win. We're trying to add a bunch of new
files (several
directories worth). When we drag the directory icon to the default
changelist P4(Win)
goes through the standard listing of the new files, and then prompts for
clicking on the
OK button.
We click on the OK button and then P4 gives us the yellow "!" warning icon
and the
above message: no permission for operation on file(s).
What the heck does that mean, and why am I getting that message? We're
trying to
check in a bunch of files. They're mostly Word documents (all the files
are various
types of documents written in word or adobe illustrator or whatever other
apps).
EDEW
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
Stephen Vance
mailto:***@vance.com
http://www.vance.com/
Paul Mitchell
2001-11-29 18:33:57 UTC
Permalink
'p4 opened' only works before the changelist has been submitted. 'p4 files'
is only good for telling me what files where deleted in a given depot path.
What I'm looking for is per ***@client. To be more explicit, if I look at
a changelist, which I know was submitted by ***@client, I can tell that a
certain set of files was deleted. What I'm asking, is, is there a better
way of doing this then looking at each changelist i.e. like a 'p4 opened'
command only 'p4 deleted'.

Thanks for the feedback,

Paul

-----Original Message-----
From: Stephen Vance [mailto:***@vance.com]
Sent: Thursday, November 29, 2001 7:23 AM
To: Paul Mitchell; 'perforce-***@perforce.com'
Subject: Re: [p4] finding deleted files within a user/client


As Dave Lewis said, 'p4 opened' works if they were deleted using 'p4
delete'.
If you are trying to find out what was deleted outside of Perforce, say
with an OS 'rm' or 'del' command, try 'p4 diff -sd'.
Post by Paul Mitchell
Has anyone found a way to find the set of files which have been deleted
from
Post by Paul Mitchell
opened" only for deleted files. I know I can parse changelists, but I'm
looking for something higher-level than that.
Thanks,
Paul
--------------------------------------------------------------------
Paul Mitchell
ATI Research, Inc. voice: (508) 303-3932
Lake Williams South
62 Forest Street
Marlborough, MA 01752
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
Stephen Vance
mailto:***@vance.com
http://www.vance.com/
Dave Lewis
2001-11-29 18:45:44 UTC
Permalink
no, not really.

dave
Date: Thu, 29 Nov 2001 13:33:57 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
charset="iso-8859-1"
'p4 opened' only works before the changelist has been submitted. 'p4 files'
is only good for telling me what files where deleted in a given depot path.
certain set of files was deleted. What I'm asking, is, is there a better
way of doing this then looking at each changelist i.e. like a 'p4 opened'
command only 'p4 deleted'.
Thanks for the feedback,
Paul
-----Original Message-----
Sent: Thursday, November 29, 2001 7:23 AM
Subject: Re: [p4] finding deleted files within a user/client
As Dave Lewis said, 'p4 opened' works if they were deleted using 'p4
delete'.
If you are trying to find out what was deleted outside of Perforce, say
with an OS 'rm' or 'del' command, try 'p4 diff -sd'.
Post by Paul Mitchell
Has anyone found a way to find the set of files which have been deleted
from
Post by Paul Mitchell
opened" only for deleted files. I know I can parse changelists, but I'm
looking for something higher-level than that.
Thanks,
Paul
--------------------------------------------------------------------
Paul Mitchell
ATI Research, Inc. voice: (508) 303-3932
Lake Williams South
62 Forest Street
Marlborough, MA 01752
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
Stephen Vance
http://www.vance.com/
D***@patapsco.com
2001-11-29 12:59:56 UTC
Permalink
Dave ***@PATAPSCO
11/29/2001 07:59 AM
Post by Eric Dew
I have a developer who's using P4Win. We're trying to add a bunch
of new files (several directories worth). When we drag the
directory icon to the default changelist P4(Win) goes through the
standard listing of the new files, and then prompts for clicking on
the OK button.
We click on the OK button and then P4 gives us the yellow "!" warning
icon and the above message: no permission for operation on file(s).
What the heck does that mean, and why am I getting that message?
We're trying to check in a bunch of files. They're mostly Word
documents (all the files are various types of documents written in
word or adobe illustrator or whatever other apps).
Having gone through a similar experience recently and spending excessive
time on it only to be embarrased by a typing error on my part, let me
suggest the following:
1. First check the Perforce user being used.
2. Check the clientspec being used and the mappings
3. Check the info in `p4 protect` and make sure that the user's name
and the related directories are entered correctly. Verify that the
information agrees with that from steps 1 and 2. Also, verify
that this user has write access to the appropriate areas.
4. Go into the Peforce area on the server and verify the directory
structure against all the above.
5. Verify that the user has their local directory stucture matching
all the above.

I know it's tedious, but after spending about a lot of time with this
problem, I discovered that I had mistyped a directory and instered an
extra 'i' which was not obvious with the proportional font used in
P4Win!

Good luck!
Dave
Eric Dew
2001-11-30 02:41:28 UTC
Permalink
Thanks for the various replies...

And the answer is....
p4 protect!

EDEW
Post by D***@patapsco.com
11/29/2001 07:59 AM
Post by Eric Dew
I have a developer who's using P4Win. We're trying to add a bunch
of new files (several directories worth). When we drag the
directory icon to the default changelist P4(Win) goes through the
standard listing of the new files, and then prompts for clicking on
the OK button.
We click on the OK button and then P4 gives us the yellow "!" warning
icon and the above message: no permission for operation on file(s).
What the heck does that mean, and why am I getting that message?
We're trying to check in a bunch of files. They're mostly Word
documents (all the files are various types of documents written in
word or adobe illustrator or whatever other apps).
Having gone through a similar experience recently and spending excessive
time on it only to be embarrased by a typing error on my part, let me
1. First check the Perforce user being used.
2. Check the clientspec being used and the mappings
3. Check the info in `p4 protect` and make sure that the user's name
and the related directories are entered correctly. Verify that the
information agrees with that from steps 1 and 2. Also, verify
that this user has write access to the appropriate areas.
4. Go into the Peforce area on the server and verify the directory
structure against all the above.
5. Verify that the user has their local directory stucture matching
all the above.
I know it's tedious, but after spending about a lot of time with this
problem, I discovered that I had mistyped a directory and instered an
extra 'i' which was not obvious with the proportional font used in
P4Win!
Good luck!
Dave
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
Loading...