On Sun, 18 May 2008 11:45:05 -0700 Ben Coburn <[EMAIL PROTECTED]> wrote:
> On May 18, 2008, at 10:45, Lele Gaifax wrote: > > Now, I am *not* sure, but AFAIK the actual contents of a given patch > > *may* change, when darcs commutes it with other patches, and thus > > both the length and the sha256 checksum is not constant, and cannot > > be used to identify a patch. > > Even so, I think one could always go the long way around: Load the > patch file directly. Compute the old-style hash. Then, proceed with > matching as usual. Uhm, but AFAICT that is still imprecise: I dunno know if darcs *removes* the old patch file, once it commutes it... so you could be asking for a patchfile that it's not in the inventory anymore... But, why/when would you find useful using the "on disk file name" to select a given patch? ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. [EMAIL PROTECTED] | -- Fortunato Depero, 1929. _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
