[Top][All Lists]

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

Re: Reimporting vendor projects where items have been deleted

From: Eric Siegerman
Subject: Re: Reimporting vendor projects where items have been deleted
Date: Fri, 23 Mar 2001 15:20:52 -0500
User-agent: Mutt/1.2.5i

On Fri, Mar 23, 2001 at 09:19:32AM -0500, Derek R. Price wrote:
> Nathan Herring wrote:
> > Import knows the name and branch version of the vendor branch, has a
> > list of files to import, and has a list of files already in the
> > repository. This is all it needs to know. Now use the following
> > heuristic:
> Basically, import would have to look up the tip of the vendor branch
> before execution to obtain the list of files present during the last
> import.

Not "before execution".  Instead, "import" turns into a classic
merge(*) -- which I guess "update" already is.  So one has to add
a scan of the repository directory, and the reading of any
repository files that aren't in the directory being imported, but
it's still only one-pass.

* I mean "merge" here in the traditional "sort/merge" sense,
  not CVS's "merging revisions" sense -- don't you love
  overloaded jargon?


|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
|  |  /
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea.
        - RFC 1925 (quoting an unnamed source)

reply via email to

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