-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Bayer ha scritto: > [...] >> To clarify; Alembic supports branching, Migrate doesn't? >> (and where can I find out exactly what is meant by branching?) > > it means if you have a branch of the repo, so say you start with source A > with versions: > > > 1 > 2 > 3 > > then you branch into B. A continues to get more versions: > > 4 > 5 > 6 > > B also gets more versions: > > 4 > 5 > 6 > 7 > > > so now you want to merge B back to A. because migrate is counting with > integers, you're out of luck. You have to renumber your files somehow so > that they all work out. > > What I'm doing, you still might have an uphill battle if A and B have > non-compatible migrations, but we're using randomly generated hex ids: > > a65fe > 47aed > 277eef >
What about using revisions strings, as handled by setuptools? You have version 0.1 and 0.2, and branches 0.1.1, 0.1.1, and 0.2.1, 0.2.2. So, versions have a well defined ordering. However I'm still not sure what a "merge" should do. > [...] Regards Manlio -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkv20zYACgkQscQJ24LbaUTJ+QCgj9HjEjacyjAYflPu74DaSZrN Cg0An0dwxCMpSZucpayt4zMvnyN44bTv =vIGO -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.