-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use old *_build folder in case of a new branch #34
Conversation
This branch avoids a full rebuild for new branches, in a ready build working copy. |
# no chached build dir found, assume this is a branch from the old branch | ||
# if not, no problem because scons will rebuild all chaned files in any case | ||
# copy the old_virtual_dir back | ||
if old_virtual_build_dir: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will fail with NameError if .sconsign.branch doesn't exist.
Thank you @rryan. I have issued fixes for all comments. |
# no chached build dir found, assume this is a branch from the old branch | ||
# if not, no problem because scons will rebuild all chaned files in any case | ||
# copy the old_virtual_dir back | ||
if sconsign_branch: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This if and the two nested ifs (if old_virtual_build_dir and old_virtual_sconsign_file) seem redundant since old_virtual_build_dir will not evaluate to True unless it is a non-empty string and it's only a non-empty string if sconsign_branch is non-empty. Both could probably be removed becuase os.path.isdir('') and isfile('') will return false.
LGTM, thanks for the changes! |
Use old *_build folder in case of a new branch
QCollator: Extensions and minor improvements
AutoDJProcessorTest.FadeToDeck2_Long_Transition fix
Chapter 10 split up
Changed download links to 2.1.2
No description provided.