[sage-combinat-devel] how do you tell what branch you are in?
Hi, When I start up sage-5.7.beta3 it doesn't tell me what branch I am using. Is there a way to tell? If there is a command in sage like 'branch()' it would be helpful. How do I find it? -Mike -- You received this message because you are subscribed to the Google Groups sage-combinat-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-combinat-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-combinat-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [sage-combinat-devel] how do you tell what branch you are in?
When I start up sage-5.7.beta3 it doesn't tell me what branch I am using. Is there a way to tell? If there is a command in sage like 'branch()' it would be helpful. How do I find it? It usually tells you when starting sage (nothing for main, or current brench is: ... otherwise). You can also go to the order devel and check which brench the symbolic link sage points to. Cheers, Christian -- You received this message because you are subscribed to the Google Groups sage-combinat-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-combinat-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-combinat-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [sage-combinat-devel] how do you tell what branch you are in?
It usually tells you when starting sage (nothing for main, or current brench is: ... otherwise). You can also go to the order devel and I think something is wrong here. I checked that symbolic link is pointing to a cloned branch. When I start up, it is running the cloned branch and it does not give me a message Current Mercurial branch is: ... Is this a bug or a feature? -Mike -- You received this message because you are subscribed to the Google Groups sage-combinat-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-combinat-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-combinat-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [sage-combinat-devel] how do you tell what branch you are in?
On 2/17/13 6:03 AM, Mike Zabrocki wrote: It usually tells you when starting sage (nothing for main, or current brench is: ... otherwise). You can also go to the order devel and I think something is wrong here. I checked that symbolic link is pointing to a cloned branch. When I start up, it is running the cloned branch and it does not give me a message Current Mercurial branch is: ... Is this a bug or a feature? For me it also does not tell me the branch any longer in sage-5.7.beta4. I think this is a bug. Plus there is a lot of weird stuff going on with the initialization of sage ... Best, Anne -- You received this message because you are subscribed to the Google Groups sage-combinat-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-combinat-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-combinat-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [sage-combinat-devel] how do you tell what branch you are in?
On Sun, Feb 17, 2013 at 09:36:44AM -0800, Volker Braun wrote: Just to relay a comment that I made on #14144. The IPython update broke branch printing and nobody noticed for a while. So I removed it. There are a number of ways to find out the branch very easily: * Just hg branch, without even starting Sage * Look at the devel/sage symlink * From within Sage: hg_sage.current_branch() In general, making the banner depend on the configuration will break the sage-sage interface and doctests occasionally. So there is a clear cost involved in printing extra stuff during startup. Though if you still think that it is important to print the current branch during startup then we can reinstate the old behaviour (until we switch to git). By the way: thanks for your work on IPython! Personally, I would appreciate if you could reinstate the previous behaviour. We are switching in a regular basis between branches and having some visual feedback about it is really useful. How many times did I wonder why something was not working as I expected, until I realized I was in the wrong branch. Thanks! Nicolas -- Nicolas M. ThiƩry Isil nthi...@users.sf.net http://Nicolas.Thiery.name/ -- You received this message because you are subscribed to the Google Groups sage-combinat-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-combinat-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-combinat-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.