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

Re: svn commit: r23433 - trunk/subversion/svnsync

From: Nik Clayton <nik_at_ngo.org.uk>
Date: 2007-02-21 17:01:52 CET

C. Michael Pilato wrote:
> As far as I'm concerned, --username and --password represent a design
> oversight (for svnsync only, of course), and should be deprecated in favor
> of the new, explicit options (and the usage message now indicates that they
> are, in fact, deprecated).

This is probably an immensely stupid question, for which I apologise in
advance, but...

... why not use the built in support for usernames and passwords in the URL
specifications? Since a URL is supposed to look like


(where the '<username>:<password>@' bit is optional) svnsync shouldn't need
any explicit username/password operations.

If one or both of the DEST_URL and SOURCE_URL for svnsync require
usernames/passwords they can be specified at init time:

   svnsync init svn://u1:p1_at_host1/path/to/repo/path svn://u2:p2_at_host2/path/

Right? And if DEST_URL needs a username/password pair that can be
re-specified at sync time:

   svnsync sync svn://u2:p2_at_host2/path/

Or am I missing something fundamental?


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Feb 21 17:03:02 2007

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