[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Re: using sha1 as explicit id

From: Robert Collins
Subject: Re: [Gnu-arch-users] Re: using sha1 as explicit id
Date: Wed, 28 Apr 2004 21:45:28 +1000

On Wed, 2004-04-28 at 14:22, Miles Bader wrote:
> Colin Walters <address@hidden> writes:
> > I was wondering - why not just use a SHA1 hash as the file identity for
> > explicit IDs?  That way if two people independently import the same
> > version of a project into arch, they would be able to apply patches from
> > one another, etc.
> That seems likely only to work `sometimes' (as people are likely to do
> use initial arch imports of things at different times), so while I guess
> there's nothing wrong with it, the advantages are kinda minimal too...
> It would seem a reasonable way of generating a unique id for an existing
> source file, but might prove a problem for new files -- e.g., if you add
> files when they're still empty, or merely copies of a template file,
> then you're going to run into conflicts.

It makes a great deal of sense for imports from other RCS systems
though, where the origin of the file is likely to be the same version..

GPG key available at: <>.

Attachment: signature.asc
Description: This is a digitally signed message part

reply via email to

[Prev in Thread] Current Thread [Next in Thread]