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

Re: alias 'svn up -n' to 'svn st -u' when '--nonrecursive' removed? :-)

From: Roman Neuhauser <neuhauser_at_bellavista.cz>
Date: 2002-07-15 18:09:29 CEST

> Date: Fri, 12 Jul 2002 16:58:13 -0700
> From: Greg Stein <gstein@lyra.org>
> To: Subversion Developers <dev@subversion.tigris.org>
> Subject: Re: alias 'svn up -n' to 'svn st -u' when '--nonrecursive' removed? :-)
>
> On Fri, Jul 12, 2002 at 09:20:29PM +0100, Philip Martin wrote:
> > Karl Fogel <kfogel@newton.ch.collab.net> writes:
> >
> > > Philip Martin <philip@codematters.co.uk> writes:
> > > > patch --dry-run
> > > > dpkg --no-act
> > > > apt --no-act
> >...
> > > > make -n
> > >
> > > Frankly I like the idea of making this a long option only. It's not
> > > that common (or am I wrongly assuming my own experience is similar to
> > > others'?)
>
> I use 'cvs up -n' every now and then, but that doesn't apply to SVN because
> of the status command. I do tend to use 'make -n install' frequently.
>
> Point is: for a version control system, a "dry run" is going to be very
> infrequent. Consider the use case: "what is this *going* to do?" We never
> destroy local mods, and we always have "backups" in the sense that the
> repository has all the data. There are simply very few cases where you want
> to have SVN show you what it will do without actually doing it.
>
> > > But if -n really is a widely used convention, then we can use -N for
> > > --non-recursive and -n for this.
> >
> > --dry-run is my favorite :)
>
> +0 on keeping -n for non-recursive (the failure mode is actually quite nice
> since it means it just doesn't touch as many files; altho I guess it
> could be bad for 'svn commit -n')
>
> +1 on adding --dry-run (no short option)
>
>
> Note that -n meaning --dry-run isn't all *that* common in my experience.

    i've found these:

    dhclient disklabel ipf ipfs ipnat kldconfig csh sh tcsh pkg_add
    pkg_delete pkg_update route6d cvs make rdist portinstall portupgrade
    gmake gpg xmodmap xrdb zsh

    there'll be probably more, because i only checked a subset of the
    available man pages.

    the most frequent meaning to the -n option (on my box) appears to be
    "don't translate IPs to names in output", followed closely by "dry run"

-- 
FreeBSD 4.6-STABLE
6:02PM up 2 days, 8:16, 5 users, load averages: 0.00, 0.00, 0.00
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 15 18:10:01 2002

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.