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

Re: After git svn clone master is tied to a branch in svn, howto set master to trunk

From
SBSvenn Are Bjerkem <svenn.bjerkem@googlemail.com>
Date
Mar 11, 2009, 16:04 UTC
Message-ID
<7ec81af9-d5eb-42a4-b6af-22e7a3ab89f8@t7g2000yqa.googlegroups.com>
In-Reply-To
<09fb20f5-3722-49d4-9565-95a5b41d15ac@c36g2000yqn.googlegroups.com>

On Mar 11, 4:17 pm, Svenn Are Bjerkem <svenn.bjer...@googlemail.com> wrote:

Show 7 quoted lines
> Hi,
> after performing a
> $> git svn clone https://svnserver/svn/a/b/c-T trunk/current -t tags -
> b branches
> I find that the git master has been tied to one of the branches. It
> turns out that the highest svn revision number in the repository was
> tied to that branch.
[snip]
> I guess I could solve the problem by modifying a file in trunk on svn
> and commit so that the trunk will get the highest svn revision number
> again and redo the clone.

I just wanted to confirm this assumption: First I removed the complete git-svn clone and modified a file in trunk and checked it into svn. Then I re-performed the git svn clone as described above. The master in the local git repository is now tied to the trunk of the svn repository.

-- Svenn

Previous: Svenn Are BjerkemNext: Michael J Gruber
Message 2 of 5 in “After git svn clone master is tied to a branch in svn, howto set master to trunk”
  1. Svenn Are BjerkemMar 11, 2009
  2. Svenn Are BjerkemMar 11, 2009
  3. Michael J GruberMar 11, 2009
  4. Svenn Are BjerkemMar 11, 2009
  5. Svenn Are BjerkemMar 11, 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.