[darcs-users] patch file naming

Ganesh Sittampalam ganesh at earth.li
Thu Mar 18 00:36:11 UTC 2004

On Wed, 17 Mar 2004, Kevin Smith wrote:

> With darcs, the actual specific contents of a patch will often change as
> that patch moves from repo to repo. A patch file contains just one
> possible representation of the underlying conceptual patch. So it is
> impossible to use the hash of the current file contents as a permanent
> identifier.

Right, OK. I'm still trying to get the hang of this aspect of things.

> Your problem case does concern me a bit, but doesn't put me in to a
> panic. darcs should probably refuse to record two patches within the
> same timestame frame (1 second, I believe). That still wouldn't prevent
> all problems, but probably eliminate any accidental cases.

I'm rather more worried by the possibility of someone maliciously causing
trouble this way. I haven't actually managed to figure out an attack,



More information about the darcs-users mailing list