{"thread":{"id":"34951","subject":"Delete branch during fast-import","startedAt":"2013-09-17T17:49:55Z","lastAt":"2013-09-17T19:54:32Z","messageCount":2,"participants":["Jason Miller","Felipe Contreras"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"227768","messageId":"20130917174954.GA28563@home.jasonmmiller.org","threadId":"34951","inReplyTo":null,"subject":"Delete branch during fast-import","fromName":"Jason Miller","fromEmail":"jason@milr.com","sentAt":"2013-09-17T17:49:55Z","receivedAt":"2013-09-17T17:49:55Z","isPatch":false,"sender":{"key":"jason@milr.com","avatar":null},"body":"I'm trying out a rather large subversion import, and am trying to\nfigure out if there is a way to delete branches during a fast-import.\n\nRight now I can think of only 2 ways to handle this:\n\n1) End the import, do a git branch -D and then resume the import.\n\n2) Scan the entire repository history, identify\ndeleted branches and handle them upfront so that they never have\nconflicting names.\n\nIs there a better way?\n\n-Jason\n"},{"id":"227782","messageId":"5238b378b6616_1b88104fe74471e@nysa.mail","threadId":"34951","inReplyTo":"20130917174954.GA28563@home.jasonmmiller.org","subject":"RE: Delete branch during fast-import","fromName":"Felipe Contreras","fromEmail":"felipe.contreras@gmail.com","sentAt":"2013-09-17T19:54:32Z","receivedAt":"2013-09-17T19:54:32Z","isPatch":false,"sender":{"key":"felipe.contreras@gmail.com","avatar":"https://avatars.githubusercontent.com/u/8358?v=4"},"body":"Jason Miller wrote:\n> I'm trying out a rather large subversion import, and am trying to\n> figure out if there is a way to delete branches during a fast-import.\n> \n> Right now I can think of only 2 ways to handle this:\n> \n> 1) End the import, do a git branch -D and then resume the import.\n> \n> 2) Scan the entire repository history, identify\n> deleted branches and handle them upfront so that they never have\n> conflicting names.\n> \n> Is there a better way?\n\nYes, support branch deletion natively:\n\nhttp://mid.gmane.org/1377789808-2213-7-git-send-email-felipe.contreras@gmail.com\n\n-- \nFelipe Contreras\n"}]}