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

Re: FW: [DESIGN] Aliases?

From: Matthias Wächter <matthias.waechter_at_tttech.com>
Date: 2006-02-28 16:32:35 CET

Folker Schamel schrieb:
>> For example, consider a checked-out directory:
>>
>> /repos/trunk/ (@5)
>> /file1 (@5)
>> /file2 (@7)
>>
>> When you create a tag, you simply make "svn cp .
>> http://server/repos/tags/mytag" committing, f.e., rev. 10
>>
>> When you check out "http://server/repos/tags/mytag" again, despite the
>> nomenclature and possibly typing more than in the case of proposed
>> aliases, you end up with
>>
>> /
>> repos/tags/mytag/ (@10)
>> /file1 (@10)
>> /file2 (@10)
>>
>> but what you actually need is to check out what you had before,
>> /repos/trunk @5 and the files @5 and @7, even if the tag was @10.
>
> I don't see this need.
>
> I often checkout a tag (especially a tag referring
> to a shipped software version), and I don't have a problem
> with "repos/tags/mytag/ (@10)".
> If I want to jump to trunk again, I use "svn switch".

I am a satisfied SVN user anyway :-) I just try to follow the thoughts
of those who want aliases. Appearantly, what they dislike is to be in a
"separate directory" and on another revision if they check out a
SVN-style tag.

"svn switch" will not help you in any way, because SVN cannot walk back
the tag copy. So whenever you tag you are on a dead end. When I end my
daywork and want to commit my local mixed revision I can tag it in CVS,
consider a local hard disk crash at night and restart tomorrow morning
checking out this tag being on branch with my mixed revisions. In
Subversion I cannot do that, after checking out my "tag" I am not on
trunk again. I would require an automatic walk-back by the tool which is
missing.

> As I understood the philosophy of svn, this is how it should be used.
> And I don't see a limitation there.
> (Except that you have to type longer command lines,
> which is a pure UI thing, and not about missing functionality.)

I don't mind longer command lines and I think those in favor of aliases
don't mind it either, except when it comes to change proposals they
suggest "shorter" commands.

To make SVN tags into aliases, the only missing feature is to
automatically resolve the indirection that is the result from the tag
copy. Then everyone has what he wants.

- Matthias

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 28 23:06:25 2006

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