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

Re: import determinism

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Nov 7, 2010, 22:20 UTC
Message-ID
<AANLkTikXxM=CfU2dKAY9khi1_tAsGDdUEc8S5AxooGH9@mail.gmail.com>
In-Reply-To
<m2lj54u9uj.fsf@igel.home>
On Sun, Nov 7, 2010 at 4:01 PM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> The committer info in every commit will be the same as the author info,
> so the repository conversion is completely deterministic.

For cvsimport, it is not deterministic. Given cvs' ambiguous/buggy/inconsistent internal semantics around some operations, cvsps makes educated guesses about what happened.

Later commits can affect those educated guesses.

IIRC, this affects the exact tree at the birth of a branch, and files added on a branch (instead of on HEAD).

If you use cvsimport in 'incremental' runs you won't have this problem. Whatever it decided to do, sticks.

I haven't worked in detail with Keith Packard's parsecvs but I assume it has similar issues.

hth,
m
-- 
 martin.langhoff@gmail.com
 martin@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
Previous: Enrico WeigeltNext: Andreas Schwab
Message 5 of 13 in “import determinism”
  1. Enrico WeigeltNov 7, 2010
  2. Ævar Arnfjörð BjarmasonNov 7, 2010
  3. Andreas SchwabNov 7, 2010
  4. Enrico WeigeltNov 7, 2010
  5. Martin LanghoffNov 7, 2010
  6. Andreas SchwabNov 7, 2010
  7. Enrico WeigeltNov 9, 2010
  8. Martin LanghoffNov 10, 2010
  9. Enrico WeigeltNov 10, 2010
  10. Martin LanghoffNov 10, 2010
  11. Enrico WeigeltNov 10, 2010
  12. Michael HaggertyNov 11, 2010
  13. Enrico WeigeltNov 11, 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.