Josef Wolf wrote:
>Sounds good. But please remember that "svn update" is also used to go
>to the HEAD of a different branch.
>
Nope, that's "svn switch"; quite similar, but entirely different. :-)
Which is not to say you couldn't have the same UI for both update and
switch, of course.
> This is different from going to the
>_version_ which is on the HEAD of the branch, since the latter will
>prevent you from commits. (Could somebody please confirm what I am
>writing here? I just deduced from CVS which makes a distinction
>between branch-revisions and ordinary revisions.) If it is true what I
>wrote so far, then there should be a possibility to make a distinction
>between a specified revision and a name of a branch. So I would like
>to extend the picture:
>
> _______ __
> | || |
> | |\ || | << this is the "update" button, in case you can't tell
> --- \ ||__|
> --- / ||\/| << below is the drop-down menu from clicking on the arrow
> | |/ || | << "Latest" is the default
> |_______||__|__________
> | REVISION: |
> |-------------|
> | Latest | << corresponds to "HEAD"
> | Branch... | << pops up a dialog where you enter a number
>
You mean "URL" here, don't you? Branches aren't numbered in Subversion
(at least, not so it's visible to the user).
> | Previous | << corresponds to "PREV"
> | Revision... | << pops up a dialog where you enter a number
> |_____________|
>
>Also note the changed order. I think most of the times you want to
>update to HEAD of some branch. Updating to a specific revision is a
>pretty rare operation, mainly used when you need to reproduce a bug
>which can't be reproduced on HEAD. YMMV!
>
>Further, the dialog that pops up when you choose "Revision..." or
>"Branch..." should let you enter a TAG-name respectively a branch-name.
>
Tags, branches, and directories are all the same thing in Subversion.
What you're saying would make sense in CVS, but not in SVN. The two
concepts are: "update", with an optional revision number or date; and
"switch", with a tag or branch name, and -- again -- an optional
revision or date.
>It would be great if this dialog could let you do the browsing in the
>revisions tree.
>
--
Brane Čibej <brane_at_xbc.nu> http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 31 19:04:23 2002