You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by malone <ma...@fxhome.com> on 2005/02/17 17:07:46 UTC
--dry-run switch for svn update
Hello,
I'm looking for a way to do a dry run of svn update, so I can see what
will be updated without it actually changing the files. Unfortunately
svn update doesn't support the --dry-run switch. I've looked through the
archives and seen a couple of workarounds suggested. The first was
svn status -u
This shows what files will be changed but doesn't show conflicts. The
other option seems to be
svn merge --revision BASE:HEAD --dry-run .
This works great, but only if all the files in the working copy have
the same BASE revision. svn update calculates the BASE and HEAD
revisions on a per file basis, but svn merge will use the same BASE and
HEAD revision for every file. This means they will work differently on a
working copy that has files with differing revisions.
I personally think it would make sense to add a --dry-run switch to
update, but I would welcome any other suggestions.
Thanks
Malone
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org