Feb 16, 2011

//dev/project-app/...#head - file not in client view.

Problem:

while trying to get some file it fails and throws error

//dev/project-app/...#head - file not in client view.
p4 sync //dev/project-app/...#head
    no files updated
    1 warning reported

Solution:

Perforce depot or path not in view. Edit your workspace to include the required path.

For example in above case - GO   Connection -> Edit current workspace -> click tab on 'View' -> choose the required depot and include tree(dev)

Note - when you press 'Apply' it will ask for "Get latest revisions of all files added to your workspace view? "
choose 'Don't Get Latest'

11 comments:

  1. Thanks - It helped me.

    ReplyDelete
  2. Thanks! That was very helpful

    ReplyDelete
  3. Thanks !!! That was very helpful !

    ReplyDelete
  4. Thanks... that solved a weird problem for me!!

    ReplyDelete
  5. Thanks a ton!! it worked for me.
    Just making it a lil more detailed. The required action is ::
    GO Connection -> Edit current workspace -> click tab on 'View' -> right click the required depot and include tree(dev)

    ReplyDelete
  6. Thank you kindly; this was immensely helpful.

    ReplyDelete
  7. Thank you. This was helpful.

    ReplyDelete