>
> If I understand your complaint correctly, the problem is that 
> re-compiling after switching branches is too expensive. 
>

You *NEVER* need to recompile everything when switching branches. There is 
a trick : you should never checkout a branch but instead pull it (merge it) 
with your current version of Sage.

This way, you never have to checkout a branch of Sage which is based on an 
old release.

This is the "gtmp" function I use for almost everything (and in particular 
for review). It deletes then create a "tmp" branch in git containing the 
remove branch you are interested in (assuming that the local branch 'd' 
points toward the release that you use, i.e. develop in my case)

function gtmp
{
    cd ~/sage
    git checkout d
    git branch -D tmp
    git checkout -b tmp d &&
    git pull trac "$1"
}

I only type "gtmp public/branch_name" and I can review/test a branch, no 
recompilation involved as only the files changes in the branch have been 
modified.

Nathann

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to