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

git-svn branch naming question

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Dec 8, 2007, 01:04 UTC
Message-ID
<20071208010438.GE3199@genesis.frugalware.org>
hi,

i'm using git-svn for projects where i don't just want to commit to trunk but to other branches, too.

for example:
git-svn clone -s svn+ssh://vmiklos@svn.gnome.org/svn/ooo-build ooo-build

then i have a local 'master' branch and all the other branches are local branches.

so, when i want to work in the ooo-build-2-3 branch, i do a:
git checkout -b ooo-build-2-3 ooo-build-2-3
but when i do a git svn rebase, i get:
warning: refname 'ooo-build-2-3' is ambiguous.
what am i doing wrong?

in fact i suspect that in case i would use some other branch name, like simply '2-3' then i could get rid of this warning, but that's the problem with using the equivalent name of the remote branch when working in a branch locally?

probably i miss some parameter to git-svn clone so that it would prefix the refs with some 'origin'?

thanks,
- VMiklos
Next: Peter Baumann
Message 1 of 13 in “git-svn branch naming question”
  1. Miklos VajnaDec 8, 2007
  2. Peter BaumannDec 8, 2007
  3. Miklos VajnaDec 8, 2007
  4. Peter BaumannDec 8, 2007
  5. Miklos VajnaDec 8, 2007
  6. Miklos VajnaDec 9, 2007
  7. Björn SteinbrinkDec 9, 2007
  8. Miklos VajnaDec 9, 2007
  9. Eric WongDec 9, 2007
  10. Miklos VajnaDec 9, 2007
  11. Eric WongDec 9, 2007
  12. Harvey HarrisonDec 9, 2007
  13. Miklos VajnaDec 9, 2007

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.