Mercurial > public > mercurial-scm > hg-stable
diff 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 |
line wrap: on
line diff
--- a/mercurial/commands.py Tue Aug 15 11:43:31 2006 -0700 +++ b/mercurial/commands.py Tue Aug 15 11:28:50 2006 -0700 @@ -1681,7 +1681,7 @@ message = None ui.debug(_('message:\n%s\n') % message) - files = patch.patch(strip, tmpname, ui, cwd=repo.root) + files, fuzz = patch.patch(tmpname, ui, strip=strip, cwd=repo.root) removes = [] if len(files) > 0: cfiles = files.keys()