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

Re: Subversion, decentralized version control, and the future.

From: Folker Schamel <schamel23_at_spinor.com>
Date: 2007-07-05 17:15:48 CEST

Ph. Marek wrote:
> On Mittwoch, 4. Juli 2007, Branko Čibej wrote:
>> Compared to all the real pain it's causing.
> What pain does it cause?
> Make "tag:A" be a synonym for "$URL/tags/A", and if another layout is present,
> require a "svn:layout" property in $URL.
>
> Then use "svn cp . tag:A", or "svn diff tag:1.1 tag:1.2" or whatever.
> Similar for branches. Result? No visible difference to CVS (for the user).
>
> (Please take that with a grain of salt. I have surely overlooked some point
> which makes that more problematic).
>
> [Of course, that could clash with files named "tag:*". But this problem exists
> with directories named "http:", too, no?)

I think a shortcut for the repository root including "/" (e.g. "$")
would be absolutely sufficient:

Then use "svn cp . $tags/A", or "svn diff $tags/1.1 $tags/1.2" or whatever.

No need for svn:layout property.

C. Michael Pilato wrote:
> 1. all that flexibility makes it harder for Subversion and other third-party
> tools to recognize and treat a directory copy as a branch. Common questions
> like, "What tags exist?" can't be answered unless the answering system first
> understands the policy used to denote tags in a given repository ("stuff
> immediately under /tags"; "stuff immediately under an immediate subdirectory
> of /tags"; ...)

When opening the TortoiseSVN repo-browser,
you see trunk, tags, and branches.
When clicking the tags folder, you see all top-level tags.

And if you really want to optimize away this single mouse click,
then you could implement a new menu item "Open tags/ in repository browser".

BTW, TortoiseSVN handles /tags in a special way at some places.
For example, when trying to commit to /tags/, you get a warning.

Personally I like the tag/branch concept of svn very much,
I think it is much simpler and more intuitive than the CVS mechanism.

Cheers,
Folker

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 5 17:16:31 2007

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