RE: [PATCH] Add --dry-run flag to "svn update" client command
From: Bert Huijben <bert_at_qqmail.nl>
Date: Wed, 2 Mar 2011 11:14:24 +0100
> -----Original Message-----
I don't think this is the way we should implement this.
This patch adds an if before every operation in the update editor that changes the working copy. This makes the update editor harder to maintain, while you really only need a simple editor implementation that notifies its output to get a dry run output.
That would allow the dry run code to be maintained independently without obfuscating the existing update editor.
Besides: I don't know why the update editor really needs --dry run support. We always told our users to use svn status -U, which shows the same information in a generally more useful output.
A dry run update is a nice feature for 'svn' with console notification, but implemented this way it doesn't help any other Subversion client, while status -U does. Should we improve status -U instead?
This is an archived mail posted to the Subversion Dev mailing list.