# cvs-migration.txt

3 messages from 2006-01-15 to 2006-01-16. Participants: J. Bruce Fields, Junio C Hamano, Martin Langhoff.
Thread: https://gitlist.dev/t/3078

## J. Bruce Fields, 2006-01-15 19:58

Subject: cvs-migration.txt
Message-ID: <20060115195804.GD3985@fieldses.org>
URL: https://gitlist.dev/e/20060115195804.GD3985%40fieldses.org

```
I find the following sentence from cvs-migration.txt slightly confusing:

	"The cut-off is date-based, so don't change the branches that
	were imported from CVS."

I assume the branches referrred to are the target git branches, not the
source CVS branches?  (And are date-based cut-offs really the essential
reason for this restriction?)

--b.

```

## Junio C Hamano, 2006-01-15 21:11

Subject: Re: cvs-migration.txt
Message-ID: <7vy81h2o3a.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vy81h2o3a.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <20060115195804.GD3985@fieldses.org>

```
"J. Bruce Fields" <bfields@fieldses.org> writes:

> I find the following sentence from cvs-migration.txt slightly confusing:
>
> 	"The cut-off is date-based, so don't change the branches that
> 	were imported from CVS."
>
> I assume the branches referrred to are the target git branches, not the
> source CVS branches?  (And are date-based cut-offs really the essential
> reason for this restriction?)

Sorry, I cannot answer this one immediately without researching
myself; I do not use cvsimport.

The way I read the code agrees with you.  The date from the
topmost commit from each git branch is read, and used to limit
the changes we read from CVS into them.  The code reads from
"author date", which is technically incorrect, but what we are
saying here is that you should never commit into these branches
yourself and let cvsimport be the only one that touch them, so
using commiter date and author date would not make a difference.

```

## Martin Langhoff, 2006-01-16 01:31

Subject: Re: cvs-migration.txt
Message-ID: <46a038f90601151731vc72835dja390b7934a6b575f@mail.gmail.com>
URL: https://gitlist.dev/e/46a038f90601151731vc72835dja390b7934a6b575f%40mail.gmail.com
In-Reply-To: <7vy81h2o3a.fsf@assigned-by-dhcp.cox.net>

```
On 1/16/06, Junio C Hamano <junkio@cox.net> wrote:
> what we are
> saying here is that you should never commit into these branches
> yourself and let cvsimport be the only one that touch them, so
> using commiter date and author date would not make a difference.

Exactly. You should make a new head off the one imported from cvs, and
work there. This supports continued use of cvsimport if the cvs repo
is still active. To bring in those changes you will have to merge them
into your branch.

If you are 200% certain that the cvs repo is going to be removed
immediately, you can ignore this advice. Run the cvsimport once, and
then start developing on top. If you do this, however, don't run that
cvsimport ever again, for it will mess up things royally ;)

But it's a bad idea to keep using the same branches in any case. Life
is saner if you work on new heads.


martin

```
