Package bitten :: Package build :: Module hgtools

Module hgtools

Recipe commands for Mercurial.
Functions
 
pull(ctxt, revision=None, dir_='.')
pull and update the local working copy from the Mercurial repository.
Variables
  log = logging.getLogger('bitten.build.hgtools')
  __package__ = 'bitten.build'
Function Details

pull(ctxt, revision=None, dir_='.')

 
pull and update the local working copy from the Mercurial repository.
Parameters:
  • ctxt (Context) - the build context
  • revision - the revision to check out
  • dir_ - the name of a local subdirectory containing the working copy