On 2007-05-15 23:49:52 +0200, Yann Dirson wrote: > On Tue, May 15, 2007 at 10:36:05PM +0100, Catalin Marinas wrote: > > > I think it would be useful to have a version file (probably per > > branch) and just upgrade when a mismatch is detected (in the > > __init__ function). > > Sounds reasonable, but I'd rather keep that in the config file (eg. > branch.<name>.stgit.formatversion). I agree that explicit versioning would be a good idea -- doing explicit upgrades at well-defined points is good headache prevention. And I agree that the config file is a good place to put it. I'll probably have time to whip up a patch later today. I think I'll call the old "old" format 0, the old "new" format 1, and then use successive integers from then on. I'll make a single version bump for the format changes you've alreay applied, and re-do the format-changing patches you haven't applied yet so that they have version bumping integrated. -- Karl Hasselström, kha@xxxxxxxxxxx www.treskal.com/kalle - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html