diff unixSoft/bin/apply-patchbomb @ 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 e8170eba88cd
children 0b8457903012
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: