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

git svn pointing at svn branch instead of trunk?

From
Sskillzero@gmail.com <skillzero@gmail.com>
Date
Aug 22, 2009, 18:40 UTC
Message-ID
<2729632a0908221140p532a3c29k90af7b4cbd25d65e@mail.gmail.com>

When I used git svn to clone a repository, it ended up pointing master at a tag in svn instead of trunk. For example, git svn info shows the URL for the tag instead of trunk. git log master also shows the most recent commit is the creation of that tag in svn, but then the next commit is the most recent commit to trunk. It's like it's mixing things from the tag with things from trunk. The most recent commit in svn was to create the tag that master is now pointing to in case that matters.

Is there something in the svn repository that might cause this? What's the correct way to reset what git svn thinks master should point to? And how should I get rid of the commit on master that created the tag without messing up git svn (e.g. can I just git reset or will that confuse git svn later?).

Next: Eric Wong
Message 1 of 5 in “git svn pointing at svn branch instead of trunk?”
  1. skillzero@gmail.comAug 22, 2009
  2. Eric WongAug 22, 2009
  3. skillzero@gmail.comAug 22, 2009
  4. Eric WongAug 23, 2009
  5. Daniele SegatoAug 30, 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.