[p4] getting file(s) not in client view.

steve@vance.com steve at vance.com
Wed May 23 14:47:27 PDT 2007


The first one hit a query limit.

The depot name is "salesdepot" from your original posting, not "sales" so
in the second Perforce is assuming it's a client reference, which isn't the
current client.

The third one has bad spaces in it so Perforce treats it as 3 paths, but
finds the file with the third path starting with ".../".

The rest have a similar problem as the third.

Try

p4 files //salesdepot/.../ClientSelectionResultBean.java

If that exceeds the query limit, add "DEVLINE/SALES/" before the "...".

Steve

Original Message:
-----------------
From: Chenini, Mohamed MChenini at geico.com
Date: 	Wed, 23 May 2007 16:43:39 -0400
To: steve at vance.com, perforce-user at perforce.com
Subject: RE: [p4] getting file(s) not in client view.


These are the results:


u1c332 at plbc0111:~/JUNE> p4 files //.../ClientSelectionResultBean.java
Too many rows scanned (over 500000); see 'p4 help maxscanrows'.

u1c332 at plbc0111:~/JUNE> p4 files
//sales/.../ClientSelectionResultBean.java
//sales/.../ClientSelectionResultBean.java - must refer to client
'ALL-SALES-04182007-JUNE-u1c332-slsdv1adm01'.

u1c332 at plbc0111:~/JUNE> p4 files
//ALL-SALES-04182007-JUNE-u1c332-slsdv1adm01 /
.../ClientSelectionResultBean.java
//ALL-SALES-04182007-JUNE-u1c332-slsdv1adm01 - must refer to client
'ALL-SALES-04182007-JUNE-u1c332-slsdv1adm01'.
Path '/' is not under client's root '/home/u1c332/JUNE'.
//salesdepot/DEVLINES/SALES/04182007-JUNE-REL/snap/counselor/java/src/ma
in/java/com/geico/ibu/sales/ClientSelectionResultBean.java#1 - branch
change 30806 (ktext)

u1c332 at plbc0111:~/JUNE> p4 files
//ALL-SALES-04182007-JUNE-u1c332-slsdv1adm01/
.../ClientSelectionResultBean.java
//ALL-SALES-04182007-JUNE-u1c332-slsdv1adm01/ - file(s) not in client
view.
//salesdepot/DEVLINES/SALES/04182007-JUNE-REL/snap/counselor/java/src/ma
in/java/com/geico/ibu/sales/ClientSelectionResultBean.java#1 - branch
change 30806 (ktext)

u1c332 at plbc0111:~/JUNE> p4 files //home/u1c332/JUNE/sales/snap/
.../ClientSelectionResultBean.java
//home/u1c332/JUNE/sales/snap/ - must refer to client
'ALL-SALES-04182007-JUNE-u1c332-slsdv1adm01'.
//salesdepot/DEVLINES/SALES/04182007-JUNE-REL/snap/counselor/java/src/ma
in/java/com/geico/ibu/sales/ClientSelectionResultBean.java#1 - branch
change 30806 (ktext)



-----Original Message-----
From: steve at vance.com [mailto:steve at vance.com] 
Sent: Wednesday, May 23, 2007 4:25 PM
To: Chenini, Mohamed ; perforce-user at perforce.com
Subject: RE: [p4] getting file(s) not in client view.

'p4 where' is not a locate command. It's a hypothetical path mapping
command.

What you need is 'p4 files //.../ClientSelectionResultBean.java'. You
can
add more path at the start if you know which depot or branch you want to
search in.

Steve

Original Message:
-----------------
From: Chenini, Mohamed MChenini at geico.com
Date: 	Wed, 23 May 2007 10:12:23 -0400
To: perforce-user at perforce.com, support at perforce.com
Subject: [p4] getting file(s) not in client view.


When I try to locate the path of a file in the command line I got the
error "file(s) not in client view":

 

u1c332 at plbc0111:~/JUNE> p4 where ClientSelectionResultBean.java

ClientSelectionResultBean.java - file(s) not in client view.

 

P4 GUI shows this path:
//salesdepot/DEVLINES/SALES/04182007-JUNE-REL/snap/counselor/java/src/ma
in/java/com/geico/ibu/sales/ClientSelectionResultBean.java#1

 

And p4 info displays this:

 

u1c332 at plbc0111:~/JUNE> p4 info

User name: u1c332

Client name: ALL-SALES-04182007-JUNE-u1c332-slsdv1adm01

Client host: plbc0111

Client root: /home/u1c332/JUNE

Current directory: /home/u1c332/JUNE

Server root: /perforce/p4root

 

The directory is included in my client view, so why do I keep getting
this error?

 

Thanks,

Mohamed

 

 

====================
This email/fax message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution of this
email/fax is prohibited. If you are not the intended recipient, please
destroy all paper and electronic copies of the original message.
_______________________________________________
perforce-user mailing list  -  perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user


--------------------------------------------------------------------
mail2web.com - Enhanced email for the mobile individual based on
Microsoft(r)
Exchange - http://link.mail2web.com/Personal/EnhancedEmail

====================
This email/fax message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution of this
email/fax is prohibited. If you are not the intended recipient, please
destroy all paper and electronic copies of the original message.


--------------------------------------------------------------------
mail2web.com - Microsoft® Exchange solutions from a leading provider -
http://link.mail2web.com/Business/Exchange




More information about the perforce-user mailing list