git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-svn clone -s fails to setup branches in git if the most recent svn commit was not to trunk
@ 2009-01-14 21:27 Adam Soltys
  2009-01-14 22:04 ` Boyd Stephen Smith Jr.
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Soltys @ 2009-01-14 21:27 UTC (permalink / raw)
  To: git

I ran the following command to clone from an svn repository that followed the
standard svn folder layout and had two branches:

svn clone -s svn://path/to/my_repo

I then typed:

git branch -r

Which returned:

origin/HEAD
origin/master

I was expecting to see the branches and tags from the svn /branches and /tags
folders but they did not appear.  

I checked out origin/HEAD and origin/master to see what was there and I found
they contained code from a subversion branch that was originally in the
/branches folder.  I noticed that this particular branch was the last place
committed to in the svn repo.  So I checked something into the /trunk of the svn
repo, nuked the git repo, and ran the git svn clone command again.  This time it
worked as expected and "git branch -r" showed me all my tags and branches.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: git-svn clone -s fails to setup branches in git if the most recent svn commit was not to trunk
  2009-01-14 21:27 git-svn clone -s fails to setup branches in git if the most recent svn commit was not to trunk Adam Soltys
@ 2009-01-14 22:04 ` Boyd Stephen Smith Jr.
  0 siblings, 0 replies; 2+ messages in thread
From: Boyd Stephen Smith Jr. @ 2009-01-14 22:04 UTC (permalink / raw)
  To: Adam Soltys; +Cc: git

[-- Attachment #1: Type: text/plain, Size: 429 bytes --]

On Wednesday 2009 January 14 15:27:01 Adam Soltys wrote:
<snip: git-svn weirdness when the last commit is to a branch/tag>

I already knew about this bug, but here is my "+1 please fix" mail.
-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
bss@iguanasuicide.net                     ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.net/                      \_/     

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-14 22:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-14 21:27 git-svn clone -s fails to setup branches in git if the most recent svn commit was not to trunk Adam Soltys
2009-01-14 22:04 ` Boyd Stephen Smith Jr.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).