On 17 December 2013 11:17, Volker Braun <
vbrau...@gmail.com> wrote:
> You probably want
>
> sage -dev checkout --branch master
Thanks, that works for me. I don't know what I was trying yesterday
which did not work.
>
> I, too, implemented the --ticket / --branch switches in the git trac
> subcommand, but am more and more convinced that it is a huge annoyance. It
> should just work without having to specify whether the input is a ticket or
> a branch, that is almost always unambiguous. In other words: DWIM (Do What I
> Mean), in other words. Also one of the git development tenets.
>
> "sage -dev vanilla" is probably another way to do the same thing. Since we
> always want at least two equivalent ways to do the same action, right?
> </irony>
>
Switching between branches and doing "make" takes a very long time
(quite a long time even using "make -j50"). This is like the old days
under mercurial before queues when we used to create branches using
"sage clone" or something like that.
So I just stupidly tried your suggested "sage -dev checkout --branch
master" after running "make" on a newly checked out ticket branch,
then went back to the ticket branch (ok), and am now having to wait
again for make, which looks as if it is rebuilding the whole Sage
library. Again. Of course, I go to so something else while waiting
for this, which is likely to mean that by the time make has finished I
will have forgotten what the ticket was about.
Is there a way to prevent all this recompilation?
John
PS Time take to run "make" immediately after running "make", and
making absolutely no changes in between:
real 1m11.782s
user 0m51.923s
sys 0m12.209s
Most of this is spent meesing about with the documentation. This is
*not* my idea of how make is supposed to work, and I cannot see myself
managing any useful development at all in future if it will take 1
minute to rebuild after every minor edit. OK, so I see that "./sage
-b" only takes 3-4 seconds after doing noting at all, which is better,
so my mistake was to use make in this context. Something else worth
warning developers about in the manual?
> --
> You received this message because you are subscribed to the Google Groups
> "sage-git" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
sage-git+u...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.