Is it possible for me to do an SVN export without being prompt for the user and pass?
I give my username and pass, in the command:
svn export --username bavhbavh --password blahblah svn://svn.someSite.com/folder/folder2/exportFile"
But when running it, it still seems to ask me for a username and pass.
To disable password caching entirely for any single Subversion command-line operation, pass the --no-auth-cache option to that command line. To permanently disable caching entirely, add the line store-passwords = no to your local machine's Subversion configuration file.
$ svn export a-wc my-export Export complete. Export directly from the repository (prints every file and directory): $ svn export file:///var/svn/repos my-export A my-export/test A my-export/quiz … Exported revision 15.
I do this same thing in one of my build scripts, although I also use this parameter --non-interactive
(do no interactive prompting) and it seems to work pretty well.
So your command would look something like this:
svn export --username bavhbavh --password blahblah --non-interactive svn://svn.someSite.com/folder/folder2/exportFile"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With