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

Re: Why do commands fail when a file is unknown to svn?

From: Nicolás Lichtmaier <jnl_at_synapsis-sa.com.ar>
Date: 2004-03-04 20:58:06 CET

>> I know, but why does subversion fail in this case. Is this useful?
>>
> Why doesn't _CVS_ fail in this case? You are telling it to perform
> some operation on a file unknown to the repository. I would rather
> that the command fail (since I may have forgotten to add that file to
> the repository), rather than silently ignore the unknown files (for
> the same reason).
>

CVS recognizes that fact and prints a warning. This behaviour, in
practice, is much more useful. Suppose you have made lots of tiny
changes everywhere, included some Makefiles, and that you want to commit
only the Makefiles. That's trivial in CVS, and hard in Subversion.
Remember that Subversion tries to be a "better CVS"!

Besides, SVN doesn't complain when trying to commit an up-to-date
file... according to you.. shoud that be changed? I think that's a
similar case.

-- 
Nicolás Lichtmaier.-
Synapsis Argentina
+54(11)4314-3000 (int. 231)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 4 20:58:41 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.