[Top][All Lists]

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

Re: importing vendor branch and removed files

From: Spiro Trikaliotis
Subject: Re: importing vendor branch and removed files
Date: Thu, 11 Mar 2004 12:13:58 +0100
User-agent: Mutt/


is I see from my own inbox and from the archive, the mail
did no go through to the list:

* On Mon, Mar 08, 2004 at 06:17:41PM +0100 I wrote:

> Hello,
> I'm using cvs import for the first time, so I have a question on this. I
> started importing a project with is some years old and has not been
> managed by CVS so far into CVS. The project regularly sent out full
> archives of the source files.
> Now, I wrote a skript which untars each full archive and imports it into
> the repository using the version number as tag (with "." replaced by
> "-").
> Everything works, except for one detail: If I checkout the latest
> revision, CVS checks out every file, even ones that do not exist with
> the latest revision anymore. This does not occur if I specifically check
> out the release with the tag.
> I read chapter 13 of the cederqvist, especially 13.2 which tells me:
>    "Since import has no way to detect removed files, you should do a
>    merge like this even if import doesn't tell you to."
> So, this behaviour seems to be by design. Anyway, I ask myself if I can
> do anything about this to change this behaviour? Section 13.2 seems to
> tell me that I can change this in the main branch. Unfortunately, there
> is no main branch currently (I want to track the changes without doing
> local modifications. The reason for this is that the tar.gz take more
> than 1 GB, while the CVS repository only takes 50 MB uncompressed, or 8
> MB compressed).
> Is there any chance I can change this behaviour? I would even move the
> files around (to the attic?) or fiddle with any configuration files if
> that would help me.
> Any help is appreciated,
>    Spiro.
> -- 
> Spiro R. Trikaliotis

Furthermore, I found out that it would be better (for my use of CVS) to
import the sources not on a vendor's branch, but on the main branch. The
reason for this is the following: I am part of an open source project. I
want to use CVS to track the official releases and developer's release,
while working on my own branches (which I send in as diffs, so they are
included in the latest developer's release). Naturally, the imported
sources are the main branch. I don't want to keep local changes. So the
main branch would be the best for my fits.

Is there a possibility to import sources on the main branch, despite
using cvs add, cvs remove and cvs commit to handle this all by hand (or
"by skript")?

Any help is appreciated.


Spiro R. Trikaliotis

reply via email to

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