Dariusz on Software

Methods and Tools

About This Site

Software development stuff


Subtree checkout in Perforce
Wed, 22 Sep 2010 20:30:07 +0000

Perforce is a commercial, centralised VCS (Version Control System). I started using it to exchange data with customer's codebase. Internal development is using GIT, snapshots are stored inside Perforce.

Checkout of full tree requires to download many gigabytes of data thus was not an option. I was interested only in small part of whole repository. Subtree checkout syntax is not very obvious (had to google for it):

p4 sync //path/to/directory/...

I think, this hint may be useful to someone that must (want?)* use this VCS implementation.

(*) Who will pay 700 USD per user for Subversion replacement? Am I missing something valuable in P4 that is worth of this money? Commercial support :-)?

Tags: p4.


Created by Chronicle v3.5