You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Oliver Siegmar <ol...@xams.org> on 2003/02/02 21:19:22 UTC

svn commands with exceptions

Hello,

I used CVS almost over a year and now switched to subversion. I really like 
it - thank's for this great piece of software!

One feature is missing in my opinion - to do several svn commands with an 
exception - e.g:

svn diff :filea :fileb

...this should show me the diff of the current-dir (recursive) but without 
the files (or dirs) filea and fileb. Of course this should also be possible 
for the other commands like commit.



Bye,
Oliver

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

Re: svn commands with exceptions

Posted by Branko Čibej <br...@xbc.nu>.
Oliver Siegmar wrote:

> Hello,
>
> I used CVS almost over a year and now switched to subversion. I really
> like it - thank's for this great piece of software!
>
> One feature is missing in my opinion - to do several svn commands with
> an exception - e.g:
>
> svn diff :filea :fileb
>
> ...this should show me the diff of the current-dir (recursive) but
> without the files (or dirs) filea and fileb. Of course this should
> also be possible for the other commands like commit.


This is really horrible syntax.

On the other hand, it would be nice if recursive add and import accepted
an --ignore=<patterns> option (the inverse of --no-ignore?), and
commands like diff and ci accepted --exclude=<patterns>.

The difference between --ignore and --exclude is that --ignore only acts
on unversioned files, while --exclude only acts on versioned files. Hm,
maybe these could be folded, if the command itself is context enough to
disambiguate the two meanings.

I don't think this is something we'd have to get into 1.0, though.

-- 
Brane Čibej   <br...@xbc.nu>   http://www.xbc.nu/brane/


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