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

Re: Imports without Tariffs

From
Michael Witten <mfwitten@mit.edu>
Date
Oct 13, 2007, 04:39 UTC
Message-ID
<8FCAF2B7-00A1-4AD1-A14E-CA88B5A84B89@mit.edu>
In-Reply-To
<1240801C-F4CC-4290-8C3D-2038F1957DF3@MIT.EDU>

I apologize if you receive this twice. I have now changed my email client to use plain text by default.

On 13 Oct 2007, at 12:07:12 AM, Jeff King wrote:
> except that git-rebase is smart enough to realize that C == C' and  
> skip
> it (so it's a "safe" way of moving forward).
This is good to know! The documentation should mention this case!
Show 6 quoted lines
>> However, this will not preserve more complicated history such as  
>> merges
>> from another git repository.
>
> Correct. Rebasing doesn't really handle merges, but I assumed you were
> just making simple commits on top of a cvs master.

Yes, you are quite correct. Your solution will work for me. However, I think a general solution should be sought out.

Basically, the imported cvs history should be treated like a remote that's being tracked. It seems like the solution I proposed kind of does this and would work for other SCM imports too.

Show 7 quoted lines
>> Basically, I want to treat my git repository as the official
>> repository; the CVS repo is just their for the old farts to get the
>> latest stuff ;-P
>
> Then my suggestion doesn't really work. You might consider using  
> git as
> the official server and letting the old farts use git-cvsserver.

Unfortunately, they are the ones running the servers; I have to do my git work behind the scenes.

Thanks, Michael

Previous: Jeff KingNext: Jeff King
Message 3 of 7 in “(unknown)”
  1. Michael WittenOct 13, 2007
  2. Jeff KingOct 13, 2007
  3. Michael WittenOct 13, 2007
  4. Jeff KingOct 13, 2007
  5. Michael WittenOct 13, 2007
  6. Jeff KingOct 14, 2007
  7. Michael WittenOct 14, 2007

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.