Re: [p4] Screwed up Workspace, fixed, avoid syncing?

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

If you previously had some files synced and then you somehow lost your workspace
state (it sounds like you deleted your workspace and recreated it maybe?) the
quick fix is:

    p4 sync -k @2017/12/whenever:you:last:synced
    p4 clean

The first command tells the server "pretend I have everything as of
@date" (you can just do @now too), the second command says "now check
my workspace and if anything doesn't match what you think I should have, fix
it so I actually have it".

If you prefer to avoid using the command line, your best option is to just
force-sync everything.



--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/5572-screwed-up-workspace-fixed-avoid-syncing
_______________________________________________
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.