[svnbook] r4192 committed - * en/book/ch09-reference.xml...
Daniel Shahaf
d.s at daniel.shahaf.name
Sun Nov 13 09:56:51 CST 2011
svnbook at googlecode.com wrote on Thu, Nov 10, 2011 at 17:59:19 +0000:
> + <para>Use the <option>--keep-local</option> option to
> + override the default <command>svn delete</command>
> + behavior of also removing the target file that was
> + scheduled for versioned deletion. This is helpful when
> + you realize that you've accidentally committed the
> + addition of a file that you need to keep around in your
> + working copy, but which shouldn't have been added to
> + version control.</para>
> +
> + <informalexample>
> + <screen>
> +$ svn delete --keep-local conf/program.conf
> +D conf/program.conf
> +
> +$ svn commit -m "Remove accidentally-added configuration file."
> +Deleting conf/program.conf
> +Transmitting file data .
> +Committed revision 21.
> +$ svn status
> +? conf/program.conf
> +$
Mention that the effect doesn't propagate to other wc's? (That's the
most FAQ on this flag)
More information about the svnbook-dev
mailing list