On Tue, Aug 17, 2021 at 5:30 AM A Z <powerus...@live.com.au> wrote:
>
> Just some basic getting started questions about SVN.
>
> -How can a series of different branches all be merged back into one again?
> By 'adding' their checked out, now finished code content, and then committing
> them in the right order to the trunk, one at a time?

Please study the "svn merge" command. That is precisely what it is
for. A good GUI such as TortoiseSVN will help a great deal.

> -What exactly is a Tag?  I don't understand, what is it, and what
> does it represent?  Why exactly are tags used, when, apparently,
> they are near the same as branches?

Tags and branches in SVN are just copies of content from the master.
They may include only a small part of the master, they may have any
layout people want, and often people get peculiar about this. They are
really just copies of content in folders, typically alongside the
master. People often apply rules such as "no editing or renaming a
tag!!" or "no deleting tags unless you are an admin!"

> -As an SVN administrator, I want a setup where there is a main trunk,
> and all developers start with their own branch, which they may add their
> own branches to, adding and committing their updated code to, progressively,
> on their advancing sub nodes.  Only the administrator (super?) user has the
> ability to commit to the branch, from absolutely anywhere in the tree, to 
> advance
> the trunk.  The administrator then creates a new, latest trunk node, and
> new (commencing) branches from there, all being the same as before,
> all based on the latest trunk node.  Developers may never delete their
> nodes, and must ask the administrator to do so.

What you describe as the "latest trunk node" would be a "release tag".
Review the pre-commit scripts and permissions for popular setups that
do all or nearly all of what you seek.

> Can someone send an example in reply as to how I could configure
> SVN permissions to require this, in relevant .conf file(s)?

The "Red Book" gives explicit examples of how to manage tags in just
this way, at https://svnbook.red-bean.com/ . I'd encourage you to go
to that document first for questions like "what is a tag?"

Reply via email to