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

RFC: Making only optional stuff optional in the svnsync command-line

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2006-08-03 03:48:55 CEST

I've got some complaints about the synsync command-line that I think should
be be addressed before 1.4.0 is released. And yes, I'm signing up to do
work resulting from this conversation. The complaints mostly stem from the
idea that "options" should be optional (and that things that aren't optional
shouldn't be "options"), and they are as follows:

   For 'svnsync init', the SOURCE_URL should be an argument, not an
   option. Let's drop --source-url altogether, and then argue for
   weeks about whether the syntax should be 'svnsync init DEST_URL
   SOURCE_URL' or 'svnsync init SOURCE_URL DEST_URL'. (I plan to use
   the former, for consistency with other svnsync commands, and
   because the DEST_URL is the one getting init'ted.)

   For 'svnsync copy-revprops', if a revision is required (which it
   currently is), then there shouldn't be a --revision "option", and
   the REVISION should just be an argument. However, I'm wondering if
   anyone has opinions about taking this a different way, namely, not
   requiring a revision and instead having some well-defined default
   value when no explicit one is provided. My opinion is a
   two-parter: teach the program to honor revision ranges, and make
   the default be 0:HEAD.


C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Thu Aug 3 03:50:06 2006

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

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