On Mar 6, 1:10 pm, Konstantin Khomoutov
wrote:
> On Tue, 6 Mar 2012 09:05:25 -0800 (PST)
>
> AdrianH wrote:
> > I was trying to fetch a svn repo and it kept saying:
>
> > Authentication realm: <*site*> *repo* login
> > password for '*local computer login name*':
>
> > Wtf? I tried to set the username using the command:
>
> > git config github.user '*my repo username*'
>
> WTF? What does *github* users have to do with Subversion repositories?
I dunno, I saw it on a website somewhere and thought it may be what I
was looking for. Turns out it wasn't :)
> I recall I've read long time ago that github folks have really
> implemented some sort of a shim to make it possible to fetch certain
> revisions using Subversion but why on Earth anyone would want to do
> this using git-svn?! To my knowledge, implementation of that shim was
> intended to provide a stop-gap solution to mitigate low spread of Git
> among Windows users (due to shortage of familiar/polished GUI tools
> etc).
Well, I'm not on github, I must have gotten that info from github or
someone using it. I actually downloaded the entire repo from a svn
site using git to work on the code. I find git quite useful that way
as I don't always have to be connected to work with it.
> > but with no joy.
>
> > Do I have to use --username on all of my commands? REALLY? G
>
> The subversion client which is ultimately called by git-svn is supposed
> to cache your credentials for each repository you access unless this is
> overridden in the client's (or whatever, I dunno) Subversion
> configuration file.
> The [auth] section of the client's configuration file on my system
> mentions these variables which appear to be of interest:
> store-passwords, store-auth-creds.
> Since you provided precisely zero information about your environment,
> finding out locations of the configuration files is left as an exercise
> for you.
Sorry about that. Wasn't thinking. My os is linux (Ubuntu 10.04.4
LTS), git v1.7.1, svn v1.6.6.
H, seems that I just needed --username on initial fetch. Doesn't
ask when I do git svn rebase. A bit confusing. This is my first
experience using git-svn.
Thanks anyway.
--
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/git-users?hl=en.