On Mon, Mar 16, 2009 at 4:03 PM, <webpost_at_tigris.org> wrote:
> I am in the process of migrating my undergraduate students from using CVS to using SVN for version control (hopefully using Subclipse). I'm seeking to set up the simplest possible operation, to let them just start using version control without much introduction, and without prompting questions on things that I don't want to get into at this early stage.
> The process of initially sharing the project seems to require two commits and I'd like to avoid that if possible. This is possibly due to an alternative sequence of commands to the "import, delete original project, checkout working copy in its place" sequence. From a previous posting by Mark Phippard, it seems that Subclipse does the equivalent of:
> svn mkdir -m "Initial import" url://server/repos/project/trunk
> svn co url://server/repos/project/trunk LocalFolder
> svn add -R .
> svn ci -m "Initial import"
> This works fine but:
> (i) There are two commits in the history
> (ii) All the project files are initially at Revision 2 (for a blank repository).
> Perhaps I'm missing something? If I'm not, I can anticipate questions as to why and I prefer not to have to say "just ignore it for now".
This isn't changeable. Use it as a teaching moment to teach them that
revision numbers in SVN are not relevant as data points. Each
transaction up the repository revision. Do not try to assign meaning
to the number.
> Note that the version of Subclipse I'm using doesn't allow me to add files while sharing the project. (The wizard stage for entering the commit comment has nothing else other than a box for the comment.) From an article on IBM developerWorks, it seems that an older version did allow you to add files at that stage (see attached screenshot from that article). Is this relevant?
We have gone back to using the Synch view. This makes it easier to do
things like selectively add items to svn:ignore before the first
commit. You ulimately still get the commit dialog, you just have to
bring it up yourself.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2009-03-16 21:11:42 CET