You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Rafael Garcia-Suarez <rg...@free.fr> on 2002/10/26 16:27:01 UTC

svn add --force ?

I see that svn add, unlike other commands (svn rm,...)
doesn't support --force. I have a suggestion : that --force on
svn add forces the creation of an empty file if a target doesn't
exist. This can be marginally useful.

(a little background : I'm writing a tool that import loads of
patches into a svn repository, and sometimes I need to add an empty
file, that appears in a list of modified files but not in the diff.)

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

Re: svn add --force ?

Posted by cm...@collab.net.
Rafael Garcia-Suarez <rg...@free.fr> writes:

> I see that svn add, unlike other commands (svn rm,...)
> doesn't support --force. I have a suggestion : that --force on
> svn add forces the creation of an empty file if a target doesn't
> exist. This can be marginally useful.
> 
> (a little background : I'm writing a tool that import loads of
> patches into a svn repository, and sometimes I need to add an empty
> file, that appears in a list of modified files but not in the diff.)

I'd be fine with this behavior.  And your use-case is a good
argument for such, I think.  Care to submit a patch and log message?

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