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

SVN command line and Cygwin problem (and resolution) on Windows - FYI

From: Mark Bohlman <mbohlman_at_tcicredit.com>
Date: 2004-06-29 18:35:18 CEST


    Recently I modified the my startup batch file for cygwin on WinXP
including setting the CYGWIN environment variable to 'tty' as
recommended for emacs usage. This has an unpleasant side effect of
hiding the password prompt for a new repository (or if you blow away the
credential auth files under %APPDATA%/Subversion/auth). Without the
auth files from the command line you are prompted for the password (I'm
using domain authentication with the sspi options in my httpd.conf file).

So a command line like:
    $ svn ls http://server/repos

results in output like:
    Authentication realm: <http://a_server:80>my text blurb here

Hitting return shows the password prompt one time along with an
additional message and a username prompt as in:
    Password for 'fred':
    Authentication realm: <http://a_server:80>my text blurb here

You can enter a new username, but nothing ever comes back. Ctrl-C gets
you out of this. Drove me nuts for a bit (ok, so that's a short trip)
until I remembered making that change to my Cygwin environment.

Reverting (yeah, Subversion) the startup batch file for Cygwin allowed
me to be prompted properly again, and have my password accepted (and the
auth file properly created).

This is an FYI for anyone else with a similar problem. Now to get my
emacs back :(

-- Mark

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 29 18:38:12 2004

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.