hgext/record.py
changeset 10973 49a07f441496
parent 10890 301633755dec
child 11238 a5922547b5cc
equal deleted inserted replaced
10972:0a2c6948f5f4 10973:49a07f441496
   358                                  if h[0].special() or len(h) > 1], [])
   358                                  if h[0].special() or len(h) > 1], [])
   359 
   359 
   360 def record(ui, repo, *pats, **opts):
   360 def record(ui, repo, *pats, **opts):
   361     '''interactively select changes to commit
   361     '''interactively select changes to commit
   362 
   362 
   363     If a list of files is omitted, all changes reported by "hg status"
   363     If a list of files is omitted, all changes reported by :hg:`status`
   364     will be candidates for recording.
   364     will be candidates for recording.
   365 
   365 
   366     See 'hg help dates' for a list of formats valid for -d/--date.
   366     See :hg:`help dates` for a list of formats valid for -d/--date.
   367 
   367 
   368     You will be prompted for whether to record changes to each
   368     You will be prompted for whether to record changes to each
   369     modified file, and for files with multiple changes, for each
   369     modified file, and for files with multiple changes, for each
   370     change to use. For each query, the following responses are
   370     change to use. For each query, the following responses are
   371     possible::
   371     possible::
   386 
   386 
   387 
   387 
   388 def qrecord(ui, repo, patch, *pats, **opts):
   388 def qrecord(ui, repo, patch, *pats, **opts):
   389     '''interactively record a new patch
   389     '''interactively record a new patch
   390 
   390 
   391     See 'hg help qnew' & 'hg help record' for more information and
   391     See :hg:`help qnew` & :hg:`help record` for more information and
   392     usage.
   392     usage.
   393     '''
   393     '''
   394 
   394 
   395     try:
   395     try:
   396         mq = extensions.find('mq')
   396         mq = extensions.find('mq')