gnu-arch-users
[Top][All Lists]
Advanced

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

[Gnu-arch-users] Re: Design proposal to kill pristine trees


From: Miles Bader
Subject: [Gnu-arch-users] Re: Design proposal to kill pristine trees
Date: 08 Oct 2003 18:38:25 +0900

Pau Aliagas <address@hidden> writes:
> > I'm confused as to why you're keying the revlib location on archive 
> > name.
> 
> Because you need that location to add the revisions to the library if you 
> don't want to ask it every time. The same happens to add temporary revlib 
> entries (what now are pristine trees).
...
> You are describing how to look for a revlib entry and giving an algorithm
> for it.

No, I am not.  The hook I'm asking for is _not_ the same as the various
other revlib-related hooks that have been proposed by other people.

I'm asking for a hook-script which _returns the path to search for the
revision library_.  The hook script will use any state it wants from the
current project tree to help it search; crucially (for my purposes), it
can use state _other_ than just the project tree's archive.

[Another case of course is when you're doing an initial get, and so
aren't in a project tree; in this case, the script again can use any
state it needs to.

> What I'm trying to do first is to store those revlib entries
> somewhere and not asking again.

That's what I'm trying to do too.

> If you have multiple paths, how do you do it?  Fix it per archive.

And I'm saying that's neither sufficient, nor usually necessary (the
main point of the latter being that it's annoying if you have to
actually specify it for many archives).

> We are in different stages: you already take for granted that these 
> revisions are in place; I want to put them on place automatically, without 
> user intervention but to define its location the fist time, if the default 
> does not fit him.

That's what I want to do too.

> For revision libraries, explicitly added, we could override the default 
> location with an option, so maybe we could overcome it. But for 
> automatically created revlibs (ex pristine trees), we cannot do this.

That's why I want a hook-script.

> Let's focus first the discussion on the storge and then we'll go through 
> the other issues.

Sure; so read my post again to see my position on the storage.

-miles
-- 
In New York, most people don't have cars, so if you want to kill a person, you
have to take the subway to their house.  And sometimes on the way, the train
is delayed and you get impatient, so you have to kill someone on the subway.
  [George Carlin]




reply via email to

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