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

Re: git-svn commit count vs- revision count

From
TTobi <listaccount@e-tobi.net>
Date
Jul 27, 2009, 21:04 UTC
Message-ID
<4A6E1647.9090207@e-tobi.net>
In-Reply-To
<4A6D6916.2040509@e-tobi.net>
> With svn, it is possible to commit to (or create) several branches or
> tags in one go (i.e. revision), whereas with git those would be
> individual commits.
I don't think this explains a difference of about 20000 commits.
> difference, although it is very large. Have you checked whether git-svn
> produced the (number of) branches and tags that you expect?

I can't exactly tell, if all the branches are correct, because a lot of the branches already have been merged and deleted in the SVN repository.

I checked the "git log --all" output with a small script to see, where multiple commits belong to the same SVN revision (according to the git-svn-id. Some SVN revions have up to 4 commits.

If I check some of these commits with `git branch --contains` then it seems only one of the commits belongs to branch.

Is it possible, that a commit doesn't belong to any branch?
Tobias
Previous: Michael J GruberNext: Tobi
Message 3 of 5 in “git-svn commit count vs- revision count”
  1. TobiJul 27, 2009
  2. Michael J GruberJul 27, 2009
  3. TobiJul 27, 2009
  4. TobiJul 27, 2009
  5. TobiJul 27, 2009

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.