git/list[1] front-page[2] threads[3] people[4] search[5] about
 

RE: Delete branch during fast-import

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Sep 17, 2013, 19:54 UTC
Message-ID
<5238b378b6616_1b88104fe74471e@nysa.mail>
In-Reply-To
<20130917174954.GA28563@home.jasonmmiller.org>
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
Previous: Jason Miller
Message 2 of 2 in “Delete branch during fast-import”
  1. Jason MillerSep 17, 2013
  2. Felipe ContrerasSep 17, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.