[mythtv-users] Question about testing a patch
lifter89 at comcast.net
Mon Dec 14 13:16:52 UTC 2009
On 12/14/2009 06:21 AM, Nick Morrott wrote:
> 2009/12/14 Ian Clark<mrrooster at gmail.com>:
>>> 3) Since I don't want to reinstall everything, can I check out the same
>>> version from SVN that's on my system? Then, can I stop mythbackend, rename
>>> the executable, and put the new one in its place? The code is in the
>>> backend only from what I can tell. Is this sufficient?
>> Yes, this would be a good idea. If you've got the same version, you should
>> be able to stop your current backend, and run your new backend (as the same
>> user) without any problems.
> Be aware that this method (using the same Unix account and not
> changing DB details) _could_ upgrade your stable database to a
> development-only schema version if at some point you check out source
> code from trunk that alters your database structure.
> Checking out source code from the same SVN branch and having the same
> SVN revision as your package-based MythTV should stop this from
> happening, but I would nonetheless take a backup of the database
> before you do anything that could jeopardise your stable system.
> Initially, you might want to think about setting up a second database,
> and use a separate system account that is configured to only connect
> to the development database when you're testing.
Can I check-out the same revision I'm currently on? Wouldn't it be
something like "svn co <revision> ....."?
More information about the mythtv-users