[mythtv-users] SVN removal howto

Nick F nikos.f at gmail.com
Fri Feb 22 12:07:18 UTC 2008


On Fri, Feb 22, 2008 at 6:51 AM, Michael T. Dean <mtdean at thirdcontact.com>
wrote:

> On 02/22/2008 01:27 AM, Michael T. Dean wrote:
> >>>> I have a similar question - but less radical.  If I want to leave
> >>>> 'svn' and go to 0.21-fixes - I assume the two databases are
> >>>> currently compatible (same schema).
> > Check currentDatabaseVersion in mythtv/libs/libmythtv/dbcheck.cpp in the
> > -fixes branch and make sure it's greater than or equal to the version
> > you're currently using.  The schema version number appears in the
> > automatic backup you get (in trunk/0.21-fixes) before a schema change
> > (i.e. mythconverg-<schemaver>-<datetime>.sql (perhaps .gz, too)).
>
> Also should have mentioned that 0.21-fixes/trunk will try to do the
> right thing.  I.e. if you have an older schema version than required and
> start mythfrontend, it will tell you start mythbackend or mythtv-setup
> to upgrade your DB (or use the -u flag to allow mythfrontend to upgrade
> the schema).  If you have a newer schema version than required,
> mythtv-setup/mythbackend/mythfrontend will exit with an error saying you
> need to upgrade MythTV.
>
> In other words, though it doesn't completely keep you from shooting
> yourself in the foot (I'm leaving out instructions for how to do so),
> with the automatic backup and the schema version checks/refusal to run
> with the wrong schema version, Myth now provides steel-toe boots to help
> minimize the damage you'll do.


Thanks Mike,

I've double checkd in dbcheck.cpp in both versions (0.21 fixes and trunk)
that I've checked out and both are on 1212 - so I'll give it a try.  I've
been using trunk (very successfully) for over a year, but thought it might
be a good time to take a breather and use a stable release for a while.  It
seemed like the perfect time to jump off the trunk treadmill, and I was
worried that by the time the official release happened trunk may well be on
a newer schema and I would have lost my window.  Again - I'm assuming
(always a bad thing) that there should be no other major 'gotchas' going
from trunk to fixes (given both are on 1212).

I'm pretty sure I'll miss the neat features that keep being added to trunk,
and like a crack addict will come back to trunk within a month after release
though!

Best regards,
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080222/d9136ec4/attachment.htm 


More information about the mythtv-users mailing list