Re: Marking abandoned branches
- From
Martin Langhoff <martin.langhoff@gmail.com>
- Date
- Sep 13, 2006, 20:31 UTC
- Message-ID
- <46a038f90609131331p25923440w45eb49b56933f24b@mail.gmail.com>
- In-Reply-To
- <9e4733910609131022y19327efy541ac451bdf4b009@mail.gmail.com>
Hi Jon!
I guess what people are pointing at is that you can:
- run your import - publish that as mozilla-historical.git - copy that to mozilla.git - rm all the old heads from mozilla.git - rm all the 'new' heads from mozilla-historical.git - run git-repack -a -d on both - make the historical repo read-only
later, it is trivial to 'archive' branch. Similarly, other projects run a repo-per-developer or perhaps thematic repos. No point in painting 'policy' when usage practices suffice.
By the way, gitk doesn't show all the branches by default. You have to pass --all, which stands for... all ;-)
maybe gitk should have --recent-heads. However, I use --since=3.months.ago all the time, and it works great.
cheers,
martin