monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Keyword substitution?


From: Justin Patrin
Subject: Re: [Monotone-devel] Keyword substitution?
Date: Tue, 2 Aug 2005 10:44:43 -0700

On 8/2/05, Timothy Brownawell <address@hidden> wrote:
> On Tue, 2005-08-02 at 09:58 -0700, Todd A. Jacobs wrote:
> > On Mon, Aug 01, 2005 at 07:29:05PM -0600, Derek Scherger wrote:
> >
> > >there's really no concept of "which repository a file comes from." if
> > >you and I have version b632c7b9bda8e2df8b392b3606d554398e6ddb97 of some
> > >file, then it is assumed that we have the *same* file. your repository
> > >and my repository are just database files that happen to contain that
> > >revision.
> >
> > Oh, but there is (or should be). If you think about it, it is possible
> > for three or more repositories to contain the same head revision without
> > necessarily having identical histories. So if revision
> > b632c7b9bda8e2df8b392b3606d554398e6ddb97 isn't included in the revision
> > history of *your* repository, you would have no way of ever matching an
> > out-of-band file to your revision history.
> 
> Hmm? If a db has a given revision, it must also have all ancestors of
> that revision. And part of what defines a revision is which other
> revisions it is descended from, so that ancestor set is always the same
> for a given revision. History cannot differ between repositories.
> 

I think the point here was that the sha1sum of the file could be the
same in multiple repositories (because they're the same file) while
being in completely seperate repositories with none of the same
revision info.

-- 
Justin Patrin




reply via email to

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