{"thread":{"id":"18621","subject":"git svn init --username ignored","startedAt":"2009-03-29T21:56:50Z","lastAt":"2009-03-30T03:54:53Z","messageCount":4,"participants":["Lachlan Deck","Eric Wong"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"109791","messageId":"9FB623A2-03A6-4B35-B631-DF4745971DB9@gmail.com","threadId":"18621","inReplyTo":null,"subject":"git svn init --username ignored","fromName":"Lachlan Deck","fromEmail":"lachlan.deck@gmail.com","sentAt":"2009-03-29T21:56:50Z","receivedAt":"2009-03-29T21:56:50Z","isPatch":false,"sender":{"key":"lachlan.deck@gmail.com","avatar":"https://gravatar.com/avatar/d889ccc1f4816ed537181f076603b79f23f4eb000375824ddfdbecb3df85411c?d=mp&s=160"},"body":"Hi there,\n\nIs it a bug that the when specifying --username=foo for either git-svn  \ninit or git-svn clone  that this isn't stored in .git/config?\n\nIt means that for http[s] urls you need to specify it each time for  \ngit-svn fetch, for example.\n\nIs there any way to specify it manually in the config file - or would  \nthat have some bad consequences?\n\nThanks.\n\nwith regards,\n--\n\nLachlan Deck\n"},{"id":"109795","messageId":"20090329224137.GA20675@dcvr.yhbt.net","threadId":"18621","inReplyTo":"9FB623A2-03A6-4B35-B631-DF4745971DB9@gmail.com","subject":"Re: git svn init --username ignored","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2009-03-29T22:41:37Z","receivedAt":"2009-03-29T22:41:37Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"Lachlan Deck <lachlan.deck@gmail.com> wrote:\n> Hi there,\n>\n> Is it a bug that the when specifying --username=foo for either git-svn  \n> init or git-svn clone  that this isn't stored in .git/config?\n>\n> It means that for http[s] urls you need to specify it each time for  \n> git-svn fetch, for example.\n>\n> Is there any way to specify it manually in the config file - or would  \n> that have some bad consequences?\n\nHi,\n\nSubversion already stores credential information in ~/.subversion/ which\ngit svn should respect and use if available and allowed to.  Did you\ndisable set \"store-auth-creds = no\" in your ~/.subversion/config ?\n\n-- \nEric Wong\n"},{"id":"109798","messageId":"FB93BF8D-836A-4A40-8B82-E32561007A52@gmail.com","threadId":"18621","inReplyTo":"20090329224137.GA20675@dcvr.yhbt.net","subject":"Re: git svn init --username ignored","fromName":"Lachlan Deck","fromEmail":"lachlan.deck@gmail.com","sentAt":"2009-03-29T23:50:49Z","receivedAt":"2009-03-29T23:50:49Z","isPatch":false,"sender":{"key":"lachlan.deck@gmail.com","avatar":"https://gravatar.com/avatar/d889ccc1f4816ed537181f076603b79f23f4eb000375824ddfdbecb3df85411c?d=mp&s=160"},"body":"On 30/03/2009, at 9:41 AM, Eric Wong wrote:\n\n> Lachlan Deck <lachlan.deck@gmail.com> wrote:\n>> Hi there,\n>>\n>> Is it a bug that the when specifying --username=foo for either git- \n>> svn\n>> init or git-svn clone  that this isn't stored in .git/config?\n>>\n>> It means that for http[s] urls you need to specify it each time for\n>> git-svn fetch, for example.\n>>\n>> Is there any way to specify it manually in the config file - or would\n>> that have some bad consequences?\n>\n> Subversion already stores credential information in ~/.subversion/  \n> which\n> git svn should respect and use if available and allowed to.  Did you\n> disable set \"store-auth-creds = no\" in your ~/.subversion/config ?\n\nNo, it's still commented out.\n\nI simply started by doing:\ngit svn clone https://somedomain/repo repo --username=lachlan -s\ncd repo\ngit svn fetch // failed without --username\n\nIn case the initial passing of --username is tripping it up, I'm  \ntrying again without specifying it.\n\nwith regards,\n--\n\nLachlan Deck\n"},{"id":"109808","messageId":"20090330035453.GA4403@dcvr.yhbt.net","threadId":"18621","inReplyTo":"FB93BF8D-836A-4A40-8B82-E32561007A52@gmail.com","subject":"Re: git svn init --username ignored","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2009-03-30T03:54:53Z","receivedAt":"2009-03-30T03:54:53Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"Lachlan Deck <lachlan.deck@gmail.com> wrote:\n> On 30/03/2009, at 9:41 AM, Eric Wong wrote:\n>\n>> Lachlan Deck <lachlan.deck@gmail.com> wrote:\n>>> Hi there,\n>>>\n>>> Is it a bug that the when specifying --username=foo for either git- \n>>> svn\n>>> init or git-svn clone  that this isn't stored in .git/config?\n>>>\n>>> It means that for http[s] urls you need to specify it each time for\n>>> git-svn fetch, for example.\n>>>\n>>> Is there any way to specify it manually in the config file - or would\n>>> that have some bad consequences?\n>>\n>> Subversion already stores credential information in ~/.subversion/  \n>> which\n>> git svn should respect and use if available and allowed to.  Did you\n>> disable set \"store-auth-creds = no\" in your ~/.subversion/config ?\n>\n> No, it's still commented out.\n>\n> I simply started by doing:\n> git svn clone https://somedomain/repo repo --username=lachlan -s\n> cd repo\n> git svn fetch // failed without --username\n>\n> In case the initial passing of --username is tripping it up, I'm trying \n> again without specifying it.\n\nDoes \"svn ls https://somedomain/repo\" prompt you for a username?  Does\nrepeating that command (after successfully running it once) still prompt\nyou? (it shouldn't prompt you again if you have auth caching on).\n\nIf \"svn ls\" is prompting you every time, then SVN auth caching is\nsomehow disabled/broken on you system.  You can try poking around inside\nyour ~/.subversion/ directory and see if there's permissions problems\nor such...\n\n-- \nEric Wong\n"}]}