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

RE: How Subversion drove me to shoot myself in the foot.

From: Phil Endecott <spam_from_subversion_users_at_chezphil.org>
Date: 2006-04-18 22:12:45 CEST
('binary' encoding is not supported, stored as-is) Just one more thought about this unfortunate story:

As far as possible, "SVN xyz" should do the same as the normal OS's "xyz" command while simultaneously updating the SVN metadata. Doing it this way has the advantage of leveraging users' existing understanding of what the commands do. Some SVN commands, including commit and add, fall outside this, but delete could fall inside it: "svn delete" could be reserved for deleting the file from the working copy as "rm" or "del" does, while simultaneously updating the SVN metadata to record the deletion. If this were strictly the case it would never occur to a user that "svn delete" might be the right command to use if you wanted to keep the working copy file.

An additional command could be used to remove a file from SVN while not changing the working copy. "svn release" is similar to a CVS command, while "svn subtract" would have a nice symetry with "svn add".

I'd be interested to know of other cases where "svn xyz" is not equivalent to "xyz; (update SVN metadata)".

--Phil.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Apr 18 20:16:46 2006

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

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