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

Re: Equivalent of "cvs rtag -F"

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: 2007-10-30 21:28:29 CET

Matthieu Moy wrote:

>> You don't have to mention "branches" or even "tags" to students
>> working with Subversion.
>>
>> A branch is a copy of a directory that is changed further
>> after the copy has been made.
>
> The fact that Subversion implements branch with "copy" doesn't mean
> that a branch _is_ a copy.

It is a cheap copy. For viewing, editing, and perhaps grading purposes
it is a copy.

> There's no point having branches if you
> don't have merge, and there's very little point having it if you don't
> have switch.

You don't need a merge unless you want to combine the work back onto the
trunk. If this work is graded and discarded, you just need the
equivalent of a branch copy per student, which you don't have to call a
branch unless you want to.

>> But why do you even require your students to set a tag?
>
> As I said in my initial message, that allows them to continue working
> _and commititing_ close to the deadline. They can make a commit
> they're not 100% sure about, let other people review and test it, and
> then, after thinking twice, put a tag.

They would be able to commit as often as they want in their own branch,
I don't see the point of the tag unless it is to signify that they will
not make more changes. Or perhaps, by omission, that they didn't
complete the task.

>> Or you could check out their project state at deadline time
>> by checking out by date (which would also work in CVS).

> This doesn't allow them to commit an "unofficial version" (i.e. a
> version for test, not taken into account by us until the tag).

Aren't all versions unofficial, then?

> Well, we might go for this solution, but that would be a regression
> compared to what we used to do with the old CVS.
>
> At the moment, it seems the best solution is "delete; copy", but I
> don't like the window it lets without the tag present.

You could use something as simple as committing a file of an agreed-upon
name into their copy of the workspace to signify that they are
unofficially sort-of finished.

-- 
   Les Mikesell
    lesmikesell@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 30 21:30:22 2007

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.