Re: [PATCH 7/7] Use a separate directory for patches under each branch subdir
- From
- Catalin Marinas <catalin.marinas@gmail.com>
- Date
- Nov 30, 2005, 22:32 UTC
- Message-ID
- <b0943d9e0511301432m10b25887r@mail.gmail.com>
- In-Reply-To
- <438E2797.2020205@citi.umich.edu>
On 30/11/05, Chuck Lever <cel@citi.umich.edu> wrote:
Show 7 quoted lines
> Catalin Marinas wrote: > > This patch doesn't fix the already created branches. It would be > > useful to upgrade the branch structure automatically if the patches > > directory is not found. > > the reason i didn't do that is because i wanted to allow older versions > of StGIT to continue to work on existing repositories.
You are right.
> what if i added a migration tool to allow a user to switch back and forth?
A separate stg command for this would be useful. Anyway since the repository structure might change again in the future, I think it would be better to have a version string saved somewhere in .git/patches/version for reference.
-- Catalin