git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: cvs importing a forked project

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Oct 5, 2010, 19:20 UTC
Message-ID
<AANLkTimnvAXAiE=03E3VdXSeP3pQBa8UTH548vEWsYsG@mail.gmail.com>
In-Reply-To
<AANLkTi=DRWeJc5gW0Rio9NZh5a02FQtdd9TeEzOkBimr@mail.gmail.com>
On Tue, Oct 5, 2010 at 18:38, Eric Frederich <eric.frederich@gmail.com> wrote:
Show 7 quoted lines
> Interesting.  Looks easy to use except I can't figure out how to get
> the two projects imported to the same git project.
>
> If I run the following...
>
> $ git cvsimport -C myproject -d /some/vault projects/foo_old
> $ git cvsimport -C myproject -d /some/vault projects/foo_new

Either switch to a new parentless branch between the two (I don't know cvsimport), or import them in two distinct git repositories. Then when that's finished do:

    git init the-merge &&
    cd the-merge &&
    git remote add ~/cvs-repo-1 &&
    git remote add ~/cvs-repo-2 &&
    git remote update

And you'll have all those commits / branches / tags from both of them to work with.

Previous: Eric FrederichNext: Eric Frederich
Message 5 of 7 in “cvs importing a forked project”
  1. Eric FrederichOct 1, 2010
  2. Ævar Arnfjörð BjarmasonOct 1, 2010
  3. Brandon CaseyOct 1, 2010
  4. Eric FrederichOct 5, 2010
  5. Ævar Arnfjörð BjarmasonOct 5, 2010
  6. Eric FrederichOct 6, 2010
  7. Ævar Arnfjörð BjarmasonOct 6, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.