Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commands.py @ 2919:b70740aefa4d
Unify mq and hg patch invocation.
This makes patch a little less verbose by default, so the tests
had to be updated.
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Tue, 15 Aug 2006 11:28:50 -0700 |
parents | 013921c753bd |
children | ef8ee4477019 addb58e3b41c |
comparison
equal
deleted
inserted
replaced
2918:68cea0b8f992 | 2919:b70740aefa4d |
---|---|
1679 else: | 1679 else: |
1680 # launch the editor | 1680 # launch the editor |
1681 message = None | 1681 message = None |
1682 ui.debug(_('message:\n%s\n') % message) | 1682 ui.debug(_('message:\n%s\n') % message) |
1683 | 1683 |
1684 files = patch.patch(strip, tmpname, ui, cwd=repo.root) | 1684 files, fuzz = patch.patch(tmpname, ui, strip=strip, cwd=repo.root) |
1685 removes = [] | 1685 removes = [] |
1686 if len(files) > 0: | 1686 if len(files) > 0: |
1687 cfiles = files.keys() | 1687 cfiles = files.keys() |
1688 copies = [] | 1688 copies = [] |
1689 copts = {'after': False, 'force': False} | 1689 copts = {'after': False, 'force': False} |