Teach "stg assimilate" to repair patch reachability
authorKarl Hasselström <kha@treskal.com>
Tue, 25 Sep 2007 18:21:46 +0000 (20:21 +0200)
committerKarl Hasselström <kha@treskal.com>
Sun, 7 Oct 2007 22:14:10 +0000 (00:14 +0200)
Rewrite "stg assimilate" so that it in addition to assimilating
commits made on top of the patch stack also will rewrite the
applied/unapplied files to reflect reality. A patch is considered to
be applied if it is reachable from HEAD without passing through a
merge, and unreachable otherwise.

Performance is adequate: On my laptop, it takes less than four seconds
to process the Linux tree (with hot caches).

Signed-off-by: Karl Hasselström <kha@treskal.com>

No differences found