[Omaha.pm] [OT] Subversion assistance...

Dan Linder dan at linder.org
Mon Feb 16 11:48:58 PST 2009


On Mon, Feb 16, 2009 at 1:39 PM, Jay Hannah <jay at 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


-- 
"Quis custodiet ipsos custodes?" (Who can watch the watchmen?) -- from the
Satires of Juvenal
"I do not fear computers, I fear the lack of them." -- Isaac Asimov (Author)
** *** ***** ******* *********** *************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/omaha-pm/attachments/20090216/a3957fe0/attachment.html>


More information about the Omaha-pm mailing list