Hi Mike,

Mike Kienenberger wrote:
Yeah, looks like SVN commits work differently than CVS commits in
Subclipse.    In SVN, you have to manually reselect each new file to
commit them.   How annoying.

In CVS, when a file is "added", it is immediately committed to the repository.

However SVN has this concept of "atomic commits", where multiple changes to a repository can happen as one transaction. So "adding" a file can't immediately change the repository; that would give the user no chance to group this operation with other operations.

For this reason, "svn add" just marks the new file locally. Later a commit is done which can involve multiple files, and all changes are within a single transaction.

But yes, when adding only one file, it does mean making two operations: add then commit, which can be annoying.

Cheers,

Simon

Reply via email to