Re: Git SVN Rebranching Issue
- From
Dmitry Potapov <dpotapov@gmail.com>
- Date
- Nov 4, 2008, 09:42 UTC
- Message-ID
- <20081104094224.GC24100@dpotapov.dyndns.org>
- In-Reply-To
- <20081104084111.GB14405@untitled>
On Tue, Nov 04, 2008 at 12:41:11AM -0800, Eric Wong wrote:
> > Short answer: you can use grafts to remove parents.
Using grafts requires some cautious, especially when it is used to make some commits unreachable, because git gc can remove unreachable commits. Also, a repository with grafts cannot be cloned. So using grafts looks like more as workaround rather a real solution.
> > It was actually an intentional design decision on my part preserve > parents based on branch name. We would eventually otherwise lose > history of the now-deleted branches, as reflogs can expire.
Would it not be better to save the old branch using "@SVN-NUMBER" as suffix? Thus, those do not need the old branch can easily delete it.
Dmitry