threads / discuss / 34951

Delete branch during fast-import

Subject: Delete branch during fast-import

## tl;dr

2 messages between Sep 17, 2013 and Sep 17, 2013.

replies: 1people: 2as markdown or json

Jason Miller· Sep 17, 2013, 17:49 UTC · lore

I'm trying out a rather large subversion import, and am trying to figure out if there is a way to delete branches during a fast-import.

Right now I can think of only 2 ways to handle this:
1) End the import, do a git branch -D and then resume the import.
2) Scan the entire repository history, identify
deleted branches and handle them upfront so that they never have
conflicting names.
Is there a better way?
-Jason
Felipe Contreras· Sep 17, 2013, 19:54 UTC · re: Jason Miller · lore

RE: Delete branch during fast-import

Jason Miller wrote:
Show 12 quoted lines
> I'm trying out a rather large subversion import, and am trying to
> figure out if there is a way to delete branches during a fast-import.
> 
> Right now I can think of only 2 ways to handle this:
> 
> 1) End the import, do a git branch -D and then resume the import.
> 
> 2) Scan the entire repository history, identify
> deleted branches and handle them upfront so that they never have
> conflicting names.
> 
> Is there a better way?
Yes, support branch deletion natively:
http://mid.gmane.org/1377789808-2213-7-git-send-email-felipe.contreras@gmail.com
-- 
Felipe Contreras

← back to recent threads