On Mon, Feb 16, 2009 at 1:39 PM, Jay Hannah
<jay@jays.net> wrote:
On Feb 16, 2009, at 1:20 PM, Dan Linder wrote:
Regarding the trunk/tags/branch (TTB) directories that show up within the subversion repository... Should those be automatically created when I do the "svnadmin create", or should I be creating them myself manually?
Those are best practice, but they're not mandatory, so you add them yourself.
(Usually "branches/" not "branch/".)
Yup - mis-type on my part.
5: mkdir $TEMPDIR/{branches,tags,trunk}
6: svn add $TEMPDIR/{branches,tags,trunk}
"svn mkdir" is better -- does both of those in a single step. Do all six in a single step, actually: "svn mkdir branches tags trunk; svn commit"
Yup, I've used those before with pre-made repositories and I've updated my script accordingly.
"svn rmdir" will come in handy eventually.
Also, "svn mv" is magically delicious and should *always* be used rather moving something yourself.
Other than that, looks fine to me. :)
HTH,
Yes, it did very much. I'm now the sole Subversion knowledgeable person in our group (or at least the only one willing to admit it), so these tasks are now mine. :-) I really like it since Subversion stays simple and true to the "UNIX Way" of small files, simpler-is-better, etc.
Thankfully the Perl and Linux mailing lists are full of diverse talents!
Dan