On Thu, 09 Apr 2009 16:36:14 +0200 Daniel Carrera <daniel.carr...@theingots.org> wrote:
> In fact, Darcs could sign all patches, so that tags are not > "special". I just took a look at the Darcs 2 format. It looks like it > should be easy to add an RSA signature. This is what a patch looks > like: > > > [Issue #011: Write hello-world. > daniel.carr...@theingots.org**20090331192735] > hunk ./hello.php 1 > + <? echo "hello world\n"; ?> > > > There's no context information that I can see. Hence, I imagine that > the patch would look the same on someone else's computer. If that's > correct, you can just sign it. I'm not really sure, but AFAIK there *is* some context there: that same patch, pulled into a repository where another patch put something at the head of "hello.php", would look differently, for example [Issue #011: Write hello-world. daniel.carr...@theingots.org**20090331192735] hunk ./hello.php 3 + <? echo "hello world\n"; ?> if that other patch added two lines of licensing... In general, Darcs rewrites the patches it slurps, so you cannot sign them with a "simple" hash. hth (and right!) ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. l...@nautilus.homeip.net | -- Fortunato Depero, 1929. _______________________________________________ darcs-users mailing list darcs-users@darcs.net http://lists.osuosl.org/mailman/listinfo/darcs-users