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

Re: Milestone 1 user-interface

From: RADICS Peter <mitch_at_deneb.lbcons.net>
Date: 2000-10-07 13:17:56 CEST

On Thu, Oct 05, 2000 at 11:39:21AM -0500, Ben Collins-Sussman wrote:
[SNIP]
> Ideas for command line switches that deal with XML files:
>
> * Sending "officially"
>
> svn commit -o file.xml -v 38

 Since this is the "standard" behaviour, I think it's not wise to use a
 switch here (-v) to specify that it's the "official" one. Or at least,
 this would only be a temporary switch that would go away once the
 version number is automatically generated. I think, instead the "under
 the table" behaviour should be flagged, since it's some extended
 feature, that CVS doesn't have, and is usually not the "standard"
 commit.

>
> (The -v flag defines an imaginary version number that would
> normally returned by the repository upon a successful commit.
> This new version number is recorded in administrative files.)
>
> * Sending "under the table"
>
> svn commit -o file.xml

 So, according to the previous explanation, this should look like
      svn commit -p -o file.xml

 The -p switch is chosen here 'cos that's what you proposed for
 "under the table checkouts. I think these should be consistent
 (although, the exact switch should probly be something else, IMO, since
 -p is already defined for CVS checkouts and updates, and means
 something else, that you might want to implement later to svn anyway.
 Finding a good switch for the "delta" (ie. extended patch) generation
 won't be easy :)

 And I also agree with Karl, that the -o is not the best choice
 either...

 Summary: I'd like the "default" behaviour to work without additional
 switches (the -v at this point is probly unavoidable, but it should go
 away), and I'd like to use the same switch for checkins and
 checkouts/updates when I wan't to use the "extended patch" feature.

[SNIP]
> Thoughts? :)

ps: Sorry to just shout out from the bushes :) I've been lurking around
    since a while, and maybe later I can contribute some code as well...
    Till then I'll just keep my eyes open, and tell you my thoughts, if
    nobody minds.

cheers,
mitch

-- 
// RADICS Peter <mitch_at_lbcons.net> (http://lbcons.net)
//
// "If human beings don't keep exercising their lips, 
//  their brains start working." -- Ford Prefect
Received on Sat Oct 21 14:36:10 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.