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

Re: [PATCH] git-cvsimport-script: parse multidigit revisions

From
Linus Torvalds <torvalds@osdl.org>
Date
Jul 26, 2005, 22:01 UTC
Message-ID
<Pine.LNX.4.58.0507261451240.19309@g5.osdl.org>
In-Reply-To
<42E6AF1C.9050606@cobite.com>
Ahh, the cobite.com address worked ;)

David, as you may or may not be aware, the dm.cobite.com address was bouncing at least as of yesterday.

On Tue, 26 Jul 2005, David Mansfield wrote:
> 
> It 'smells' wierd to have to revisions in the same patchset at all, but
> I suppose you've all been through that before.

It seems to be just a result of how BK ends up having this internal notion of a "delta", and one commit can contain multiple deltas to the same file. That's really just some BK internal implementation issue showing through - the deltas really aren't even individually accessible, it's just that BK has this two-stage commit thing where you first commit the individual file changes (the "delta") and then you do the _real_ commit which gathers them all up.

Normally you don't even see this at all, since the tools basically hide this, but especially if you script things you'll see the difference.

In fact, in many ways the usage model when scripting ends up being a bit like the git two-phase "git-update-cache" + "git commit" approach, although for totally different reasons. But unlike git, you can actually tell how somebody did several updates on the same file, and it seems to show through in the bkcvs archives.

I bet that it wasn't even intentional, and that it's really just a result of the bkcvs thing really just being pretty much a raw SCCS->RCS translation (with the addition of the "changeset" notion at a higher level).

So normally you'd not like to see this unless you use the --bkcvs flag, but I suspect that with a big fuzz-factor and repeated commit messages you can see it even with a perfectly normal CVS tree - if only because cvsps might collapse two separate commits that shouldn't really be collapsed.

			Linus
Previous: David MansfieldNext: Ryan Anderson
Message 10 of 11 in “git-cvsimport-script: parse multidigit revisions”
  1. git-cvsimport-script: parse multidigit revisionsSven Verdoolaege, Jul 12, 2005
  2. Matthias UrlichsJul 13, 2005
  3. Linus TorvaldsJul 25, 2005
  4. Matthias UrlichsJul 25, 2005
  5. Linus TorvaldsJul 26, 2005
  6. Linus TorvaldsJul 26, 2005
  7. Linus TorvaldsJul 26, 2005
  8. Rene ScharfeJul 26, 2005
  9. David MansfieldJul 26, 2005
  10. Linus TorvaldsJul 26, 2005
  11. Ryan AndersonJul 26, 2005

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.