1741 ret = q.refresh(repo, pats, msg=message, **opts) |
1741 ret = q.refresh(repo, pats, msg=message, **opts) |
1742 q.save_dirty() |
1742 q.save_dirty() |
1743 return ret |
1743 return ret |
1744 |
1744 |
1745 def diff(ui, repo, *pats, **opts): |
1745 def diff(ui, repo, *pats, **opts): |
1746 """diff of the current patch""" |
1746 """diff of the current patch and subsequent modifications |
|
1747 |
|
1748 Shows a diff which includes the current patch as well as any changes which |
|
1749 have been made in the working directory since the last refresh (thus |
|
1750 showing what the current patch would become after a qrefresh). |
|
1751 |
|
1752 Use 'hg diff' if you only want to see the changes made since the last |
|
1753 qrefresh, or 'hg export qtip' if you want to see changes made by the |
|
1754 current patch without including changes made since the qrefresh. |
|
1755 """ |
1747 repo.mq.diff(repo, pats, opts) |
1756 repo.mq.diff(repo, pats, opts) |
1748 return 0 |
1757 return 0 |
1749 |
1758 |
1750 def fold(ui, repo, *files, **opts): |
1759 def fold(ui, repo, *files, **opts): |
1751 """fold the named patches into the current patch |
1760 """fold the named patches into the current patch |