You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Annius Groenink <gr...@xs4all.nl> on 2005/05/26 15:53:25 UTC

--dry-run option for svn update and svn switch?

The "svn merge" command has an option --dry-run:

merge: Apply the differences between two sources to a working copy path.
usage: [...]
Valid options: [...]

  --dry-run                : try operation but make no changes


Are there any plans for including this option for the commands

	svn update
and
	svn switch

?


This would be really useful for those who want to incorporate svn in
programs with an automated software update service.  You want to check
first that there are no conflicts, before you proceed.  In an automated
update service, you don't want to end up with partially updated code!

So the good old "cvs -n update" would definitely be useful!

Annius.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: --dry-run option for svn update and svn switch?

Posted by Annius Groenink <gr...@xs4all.nl>.
Annius Groenink:

> >   --dry-run                : try operation but make no changes
> >
> > Are there any plans for including this option for the commands
> >
> >     svn update
> > and
> >     svn switch
> >
> > ?

Ben Collins:

> Try 'svn status -u'.  It's close.


Tried that... not close enough!  "Svn status -u" doesn't see conflicts; it
reports them as "M".

Annius.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: --dry-run option for svn update and svn switch?

Posted by Ben Collins-Sussman <su...@collab.net>.
On May 26, 2005, at 10:53 AM, Annius Groenink wrote:

>
> The "svn merge" command has an option --dry-run:
>
> merge: Apply the differences between two sources to a working copy  
> path.
> usage: [...]
> Valid options: [...]
>
>   --dry-run                : try operation but make no changes
>
>
> Are there any plans for including this option for the commands
>
>     svn update
> and
>     svn switch
>
> ?


Try 'svn status -u'.  It's close.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org