Nathan: Thanks for explaining your technique. There are a couple of small inconveniences with this approach, as you know, but moreover there is one fatal flaw.
> I am still using the cvsync version > of tailor, because I have some very large projects, and I haven't had > the time to try to upgrade. I used to do this kind of bidirectional sync with a single tailor instance in old tailor, too. But in the new version of tailor, one directory is marked as "source" and the other is marked as "target". I haven't tried hacking the tailor config in between invocations to change those marks and see if new tailor can do this same trick that you are doing with old tailor. > patch muddiness when > multiple patches are applied to the same file during a single sync > (which has a bug already in Trac). Which ticket? I don't see it. > There are problems when pulling multiple changesets from CVS which > originated in darcs. The first CVS changeset modifies the hybrid so > that it matches what darcs had several patches back. Then darcs sees > there are changes from the current version and a new patch is recorded. > This should not occur, as the original patch came from darcs in the > first place, and the patch reverts subsequent patches. Then strange > dependencies develop, and the darcs repository starts filling up with > patches with similar names, but which record very different changes. Yes, I encountered this same problem, which led me to devise a succession of designs, the most recent one being the one I posted. > One solution to this problem is to only pull one patch from darcs at a > time, commit to CVS, pull back from CVS, darcs sees no changes, Here's the fatal flaw in this approach: you can't necessarily pull the patch from CVS/SVN that you just committed to CVS/SVN. Tailor can only translate the the *next* untranslated patch in the CVS/SVN history, which may or may not be the one that you just committed. After exploring a few different ways around this fatal flaw, I finally hit upon the idea of using "darcs obliterate", as described here: http://progetti.arstecnica.it/tailor/wiki/TwoWaySync Regards, Zooko _______________________________________________ Tailor mailing list [email protected] http://lists.zooko.com/mailman/listinfo/tailor
