Welcome, Guest
Username Password: Remember me

Perforce Proxy Server: Caching selective files
(1 viewing) (1) Guest
Perforce
  • Page:
  • 1

TOPIC: Perforce Proxy Server: Caching selective files

Perforce Proxy Server: Caching selective files 1 year, 4 months ago #538

  • scmuser
  • OFFLINE
  • Gold Boarder
  • scm master
  • Posts: 237
  • Points: 3427
  • Karma: 0
  • Honor Medal 2009
Hi,
I have setup p4 proxy server...

I would like to sync only few branches which are needed in development but not the entire depot files.

It will take more time as well as nobody is there to use it all the branches.

Any idea how to do this

Re: Perforce Proxy Server: Caching selective files 1 year, 4 months ago #539

  • rajeshkumar
  • OFFLINE
  • Moderator
  • I love software configuration management
  • Posts: 370
  • Points: 44559
  • Karma: 4
  • Honor Medal 2009
The proxy only caches what you request from the server, so if you “haven’t had to sync it”, it won’t be cached. If you don’t want the entire sandbox directory cached, don’t sync the entire sandbox directory. Only sync what you need. It sounds like your doing this:

p4 sync //depot/sandbox/...


instead of this (let’s say your sandbox directory is named fbrereto):

p4 sync //depot/sandbox/fbrereto/...
Regards,
Rajesh Kumar
Build and Release Engineer
My Blog: community.scmgalaxy.com/pg/profile/rajeshkumar
  • Page:
  • 1
Time to create page: 0.65 seconds

     
    
Home Forum