Fetch a limited subset of history
If you have a server with a lot of history you may only want to fetch
the latest few revisions to save on local storage. To do so, use the
-m N
option:
$ p4 fetch -m 5
This specifies that the server perform a shallow fetch, fetching only the last 5 revisions of each file. You can also take a slice of your history as noted above.