On this page:
client-checkout
client-update
Version: 4.2.1

3.6 Managing a Checkout

(client-checkout client 
  url 
  path 
  [#:peg-revision peg-revision 
  #:revision revision 
  #:recurse recurse? 
  #:ignore-externals ignore-externals?]) 
  integer?
  client : client?
  url : string?
  path : path-string?
  peg-revision : _opt-revision = 'unspecified
  revision : _opt-revision = 'head
  recurse? : any/c = #t
  ignore-externals? : any/c = #f
Checks out a working copy from the repository at url into the local directory at path.

Returns the revision number that was checked out.

(client-update client 
  paths 
  [#:revision revision 
  #:recurse recurse? 
  #:ignore-externals ignore-externals?]) 
  (listof integer?)
  client : client?
  paths : (listof path-string?)
  revision : _opt-revision = 'head
  recurse? : any/c = #t
  ignore-externals? : any/c = #f
Updates the working copy paths to a different revision from the repository.

Returns a list of new revision numbers for the paths after the update.