Re: [p4] unshelve -branch failing with "No target files in both client and branch view"

daveg <[email protected]>
Newsgroups gmane.comp.version-control.perforce
Message-ID <[email protected]>
Posted on behalf of forum user 'daveg'.

Hmmm.... I'm confused.  I see 4 paths, not two....

//soc/testbench/sqf_test/main/... 
//dgauthie_atl_mkwa_proj_scbu_infra_vol1_arden_er_dgauthie_SQFMAIN/...
-//soc/testbench/sqf_test/main/src/test/suites/soc/perf/... 
//dgauthie_atl_mkwa_proj_scbu_infra_vol1_arden_er_dgauthie_SQFMAIN/src/test/suites/soc/perf/...

Anyway, I indented with a tab and removed the line break (wrapped below)....

View:
                
//soc/testbench/sqf_test/main/...
//dgauthie_atl_mkwa_proj_scbu_infra_vol1_arden_er_dgauthie_SQFMAIN/...
-//soc/testbench/sqf_test/main/src/test/suites/soc/perf/...
//dgauthie_atl_mkwa_proj_scbu_infra_vol1_arden_er_dgauthie_SQFMAIN/src/test/suites/soc/perf/...

The new error is....

Error in client specification.
Error detected at line 66.
Wrong number of words for field 'View'.





it fails with....
Error in client specification.
Error detected at line 66.
Wrong number of words for field 'View'.

When I put the line break back in and indent with a tab....


View:
          
//soc/testbench/sqf_test/main/...
//dgauthie_atl_mkwa_proj_scbu_infra_vol1_arden_er_dgauthie_SQFMAIN/... 
          
-//soc/testbench/sqf_test/main/src/test/suites/soc/perf/...
//dgauthie_atl_mkwa_proj_scbu_infra_vol1_arden_er_dgauthie_SQFMAIN/src/test/suites/soc/perf/...



This gives a new error...

Error in client specification.
Mapping
'//dgauthie_atl_mkwa_proj_scbu_infra_vol1_arden_er_dgauthie_SQFMAIN/...'
is not under
'//dgauthie_atl_mkwa_proj_scbu_infra_vol1_arden_er_dgauthie_SQFSTAGE/...'.

In an attempt to understand what's going on, I'm reading up on what a
"view" is now.  At first blush, I see that there are client,
branch and map views.  I would think that all that would be needed to
do the unshelve is a branch view given that I'm identifying the
"from" branch in the "p4 unshelve -b
<fromBranch>".  Why is there a need to  alter the
client view as well ?  Also, will I have to alter the client view of
every new client that gets created which will be doing the shelve/unshelve
?  Or is this only needed for this instance because I'm working
with an old client that doesn't know about the new branch that I just
created ?

Also, what is a P4 client exactly ?  Is it a linux process that waits
around for something to do?  Is it a construct inside P4 that maps
workspaces to depots and users ?  Just curious.  These
things are created for us when we run the project script that creates workareas,
so I never really run "p4 client" (until now :-)  )

Thanks again Sambwise for all the help.



--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/5602-unshelve-branch-failing-with-no-target-files-in-both-client-and-branch-view
_______________________________________________
perforce-user mailing list  -  [email protected]
http://maillist.perforce.com/mailman/listinfo/perforce-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.