hgext/mq.py
changeset 6613 2f0522ce43b0
parent 6603 41eb20cc1c02
parent 6606 088ba40585b9
child 6617 de83188043b2
equal deleted inserted replaced
6612:59e087f99920 6613:2f0522ce43b0
  1739     ret = q.refresh(repo, pats, msg=message, **opts)
  1739     ret = q.refresh(repo, pats, msg=message, **opts)
  1740     q.save_dirty()
  1740     q.save_dirty()
  1741     return ret
  1741     return ret
  1742 
  1742 
  1743 def diff(ui, repo, *pats, **opts):
  1743 def diff(ui, repo, *pats, **opts):
  1744     """diff of the current patch"""
  1744     """diff of the current patch and subsequent modifications
       
  1745     
       
  1746     Shows a diff which includes the current patch as well as any changes which
       
  1747     have been made in the working directory since the last refresh (thus
       
  1748     showing what the current patch would become after a qrefresh).
       
  1749     
       
  1750     Use 'hg diff' if you only want to see the changes made since the last
       
  1751     qrefresh, or 'hg export qtip' if you want to see changes made by the
       
  1752     current patch without including changes made since the qrefresh.
       
  1753     """
  1745     repo.mq.diff(repo, pats, opts)
  1754     repo.mq.diff(repo, pats, opts)
  1746     return 0
  1755     return 0
  1747 
  1756 
  1748 def fold(ui, repo, *files, **opts):
  1757 def fold(ui, repo, *files, **opts):
  1749     """fold the named patches into the current patch
  1758     """fold the named patches into the current patch