[mythtv] [mythtv-commits] Ticket #9374: [PATCH] New build script for Windows
ctreleaven at cogeco.ca
Thu Dec 16 22:30:46 UTC 2010
At 10:02 PM +0100 12/16/10, Lawrence Rust wrote:
>On Wed, 2010-12-15 at 15:38 -0500, Craig Treleaven wrote:
> > ...
> > I don't see your code doing that.
>No it doesn't - intentionally. This is to allow the developer to make
>their changes, re-build and test and then pull changes when they're
>happy. A pull can overwrite your uncommitted changes or end up in a
>messy merge. Even the git checkout to a different branch can fail if
>you have uncommitted changes.
>The script is not a tool for managing git but just the builds. It uses
>git to grab the sources to help the uninitiated.
>> A second run of 'git clone' errors out on me because the destination directory is not empty.
>The script will only 'git clone' if the original directory is missing.
>Otherwise the error is expected. If you want to reset the tree:
>git clean -fxd
>get checkout .
>Then a git pull will give you a clean branch - hope you stashed your
OK, different purpose. osx-packager.pl has been geared towards doing regular (daily or weekly) builds using the most up-to-date code from the repository. It can apply local patches but you're right that you've got to watch that your changes don't get overwritten.
More information about the mythtv-dev