{"thread":{"id":"17177","subject":"git-svn clone -s fails to setup branches in git if the most recent svn commit was not to trunk","startedAt":"2009-01-14T21:27:01Z","lastAt":"2009-01-14T22:04:36Z","messageCount":2,"participants":["Adam Soltys","Boyd Stephen Smith Jr."],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"100485","messageId":"loom.20090114T211218-628@post.gmane.org","threadId":"17177","inReplyTo":null,"subject":"git-svn clone -s fails to setup branches in git if the most recent svn commit was not to trunk","fromName":"Adam Soltys","fromEmail":"adam.soltys@pwgsc.gc.ca","sentAt":"2009-01-14T21:27:01Z","receivedAt":"2009-01-14T21:27:01Z","isPatch":false,"sender":{"key":"adam.soltys@pwgsc.gc.ca","avatar":null},"body":"I ran the following command to clone from an svn repository that followed the\nstandard svn folder layout and had two branches:\n\nsvn clone -s svn://path/to/my_repo\n\nI then typed:\n\ngit branch -r\n\nWhich returned:\n\norigin/HEAD\norigin/master\n\nI was expecting to see the branches and tags from the svn /branches and /tags\nfolders but they did not appear.  \n\nI checked out origin/HEAD and origin/master to see what was there and I found\nthey contained code from a subversion branch that was originally in the\n/branches folder.  I noticed that this particular branch was the last place\ncommitted to in the svn repo.  So I checked something into the /trunk of the svn\nrepo, nuked the git repo, and ran the git svn clone command again.  This time it\nworked as expected and \"git branch -r\" showed me all my tags and branches.\n"},{"id":"100491","messageId":"200901141604.37208.bss@iguanasuicide.net","threadId":"17177","inReplyTo":"loom.20090114T211218-628@post.gmane.org","subject":"Re: git-svn clone -s fails to setup branches in git if the most recent svn commit was not to trunk","fromName":"Boyd Stephen Smith Jr.","fromEmail":"bss@iguanasuicide.net","sentAt":"2009-01-14T22:04:36Z","receivedAt":"2009-01-14T22:04:36Z","isPatch":false,"sender":{"key":"bss@iguanasuicide.net","avatar":"https://gravatar.com/avatar/84b95eeff194b816c1568b1339e63e4b229825298664a9037b9f1ec713ead1e3?d=mp&s=160"},"body":"On Wednesday 2009 January 14 15:27:01 Adam Soltys wrote:\n<snip: git-svn weirdness when the last commit is to a branch/tag>\n\nI already knew about this bug, but here is my \"+1 please fix\" mail.\n-- \nBoyd Stephen Smith Jr.                     ,= ,-_-. =. \nbss@iguanasuicide.net                     ((_/)o o(\\_))\nICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' \nhttp://iguanasuicide.net/                      \\_/     \n"}]}