Thread (15 messages) flat view 15 messages, 4 authors, 2016-06-15

Re: [PATCH v0] fast-import: Add drop command

From: Sverre Rabbelier <hidden>
Date: 2016-06-15 22:52:20

Heya,

On Tue, Oct 25, 2011 at 11:56, Vitor Antunes [off-list ref] wrote:
On Mon, Oct 24, 2011 at 7:01 PM, Sverre Rabbelier [off-list ref] wrote:
quoted
I for one welcome our new branch deleting overlords :).

You mention that checkpointing solves some of the concerns raised by
others in this thread, would automatic checkpointing be way to make
sure everything is as it should be?
Apparently I did not explain myself correctly. Let me try again :)

This is what I am doing:

1) import topic
2) checkpoint
3) diff-tree and processing
4) exit if processing returns ok
5) reset topic to another HEAD
6) goto 1)

In this scenario it is the checkpoint that "breaks" everything because
it will write the original tree to disk. When fast-import exits it will
find the old tree on disk but not within "topic" tree.
I'm afraid I don't understand why it's a bad thing that fast-import
will find the old tree on disk, won't it just be gc-ed if it is no
longer used?

-- 
Cheers,

Sverre Rabbelier
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help