Mercurial > dotfiles
changeset 333:4b661cede8ad
apply-patchbomb: create obsolete markers, keep partial applications
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Thu, 05 Jun 2014 21:03:51 -0400 |
parents | ec41fb19c4c8 |
children | 07053ec3c643 |
files | unixSoft/bin/apply-patchbomb |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/unixSoft/bin/apply-patchbomb +++ b/unixSoft/bin/apply-patchbomb @@ -19,7 +19,7 @@ def main(): cmp=lambda x,y: cmp(x.subject(), y.subject()))) for m in messages: print 'Applying', m.subject() - p = subprocess.Popen(['hg', 'import', '-'], stdin=subprocess.PIPE) + p = subprocess.Popen(['hg', 'import', '--partial', '--obsolete', '-'], stdin=subprocess.PIPE) p.stdin.write(m.source()) p.stdin.close() if p.wait() != 0: