> It seems pretty easy to get a corrupt darcs repo by using the > cvs2darcs script as darcs is using a tuple of date and patch name to > generate a unique internal id. > > Would it be easy to detect this and refuse to record the patch? As it > seems hard to recover a repo once this has happened?
I'm definitely not defending darcs's behavior in this case, but an easy work-around is to use the tailor script instead of cvs2darcs. Tailor uses the timestamp of the original CVS revision instead of the current time for the timestamp of the new darcs patch. Regards, Zooko _______________________________________________ darcs-users mailing list [email protected] http://www.abridgegame.org/mailman/listinfo/darcs-users
