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

Re: update --dry-run (again) [Was: Know before downloading trunk how many files I'm going to download.]

From: Andy Levy <andy.levy_at_gmail.com>
Date: Fri, 17 Oct 2008 08:55:07 -0400

On Fri, Oct 17, 2008 at 04:53, Rob Hubbard <rob.hubbard_at_softel.co.uk> wrote:
>> > You can also try the --dry-run flag:
>> >
>> > $ svn --dry-run update
>> >
>>
>> % svn up --dry-run
>> Subcommand 'update' doesn't accept option '--dry-run'
>> Type 'svn help update' for usage.
>>
>
> That's been suggested, requested, hinted at, or discussed before.
> See e.g. the following SVN User threads...
>
> Re: svn status proposal
> <http://svn.haxx.se/dev/archive-2001-09/0409.shtml>
>
> --dry-run
> <http://svn.haxx.se/users/archive-2004-04/0624.shtml>
>
> option equivalent to cvs's -n
> <http://svn.haxx.se/users/archive-2004-05/0020.shtml>
>
> How to do a "dry run" of svn update
> <http://svn.haxx.se/users/archive-2004-05/1177.shtml>
>
> svn update --dry-run?
> <http://svn.haxx.se/users/archive-2004-12/0110.shtml>
>
> --dry-run switch for svn update
> <http://svn.haxx.se/users/archive-2005-02/1000.shtml>
>
> Missing --dry-run?
> <http://svn.haxx.se/users/archive-2006-02/0373.shtml>
>
> request for "pretend" option
> <http://svn.haxx.se/users/archive-2006-03/1240.shtml>
>
> Feature suggestion: --dry-run on update
> <http://svn.haxx.se/users/archive-2006-10/0465.shtml>
> (that was me!)
>
> how to find what would be updated: status --show-updates not
> enough
> <http://svn.haxx.se/users/archive-2006-10/0615.shtml>
>
> update working copy to old revision --dry-run
> <http://svn.haxx.se/users/archive-2006-10/1511.shtml>
>
> Import of hidden files/dirs - no 'dry-run' ?
> <http://svn.haxx.se/users/archive-2007-04/0889.shtml>
>
> switch bug?
> <http://svn.haxx.se/users/archive-2007-08/0186.shtml>
>
> update without updating?
> <http://svn.haxx.se/users/archive-2007-09/0831.shtml>
>
> This seems to indicate the frequency of the surprise that
> $ svn update --dry-run
> is not available.
>
> One reason for expect that this should be available is that an
> update is somewhat like a merge.
>
> Perhaps the only argument against is that an update is normally
> mandatory, whereas a branch merge is an option. However, a dry-run
> option on update might help plan *when* to update, if now whether to.
>
> On an update, a --dry-run, might give you prior warning
> of clashes with pre-existing files.
>
>
> I still (2 years later) think --dry-run should be more-widely
> available on svn commands.

I may be missing something obvious, but what would svn update
--dry-run provide which svn status -u would not? svn st -u shows
what's changed locally and what's changed in the repository, so one
could see where conflicts might arise upon updating, no?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-17 14:55:32 CEST

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

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