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

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

From: Rob Hubbard <rob.hubbard_at_softel.co.uk>
Date: Fri, 17 Oct 2008 09:53:24 +0100

> > 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.

Thanks,
Rob.

Rob Hubbard.

_______________________________________________
This email has been scanned for Softel by Star.

---------------------------------------------------------------------
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 10:53:57 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.