[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commands with exceptions

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-02-05 22:36:16 CET

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   <brane_at_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
Received on Wed Feb 5 22:37:01 2003

This is an archived mail posted to the Subversion Dev mailing list.