[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: svnsync does not pass username

From: Bert Huijben <bert_at_qqmail.nl>
Date: Tue, 3 Jul 2012 14:52:49 +0200

> -----Original Message-----
> From: Thorsten Schöning [mailto:tschoening_at_am-soft.de]
> Sent: dinsdag 3 juli 2012 14:04
> To: users_at_subversion.apache.org
> Subject: Re: svnsync does not pass username
>
> Guten Tag Warden, Neil,
> am Dienstag, 3. Juli 2012 um 12:49 schrieben Sie:
>
> > Content of the logfile:
> > "Arguments:
> > "E:\Programs\svn_repository\vpl_slave\hooks\pre-revprop-change.bat"
> > E:\Programs\svn_repository\vpl_slave 0 "" svn:sync-lock A"
> > "Repo: E:\Programs\svn_repository\vpl_slave Rev: 0 User: "", """
> > "Arguments:
> > "E:\Programs\svn_repository\vpl_slave\hooks\pre-revprop-change.bat"
> > E:\Programs\svn_repository\vpl_slave 0 "" svn:sync-lock A"
> > "Repo: E:\Programs\svn_repository\vpl_slave Rev: 0 User: "", """
> > "Arguments:
> > "E:\Programs\svn_repository\vpl_slave\hooks\pre-revprop-change.bat"
> > E:\Programs\svn_repository\vpl_slave 0 "" svn:sync-lock A"
> > "Repo: E:\Programs\svn_repository\vpl_slave Rev: 0 User: "", """
> > "Arguments:
> > "E:\Programs\svn_repository\vpl_slave\hooks\pre-revprop-change.bat"
> > E:\Programs\svn_repository\vpl_slave 0 "" svn:sync-lock A"
> > "Repo: E:\Programs\svn_repository\vpl_slave Rev: 0 User: "", """
>
> Looks to me your username somewhere is changed to "", because this is
> logged as %userName% and %3. If %3 would be an empty string, it
> wouldn't get replace to "" in my opinion. If username is "" somehow,
> your if fails, of course.

Are you sure the target repository doesn't allow anonymous access?

If it allows anonymous access the client will only upgrade to authentication when it needs to.

        Bert
Received on 2012-07-03 14:53:32 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.