Commits

Augie Fackler committed 4b661ce

apply-patchbomb: create obsolete markers, keep partial applications

Comments (0)

Files changed (1)

unixSoft/bin/apply-patchbomb

                            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: