Skip to content
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

version option returning clone branch name #3047

Closed
wdjoyner opened this issue Apr 27, 2008 · 1 comment
Closed

version option returning clone branch name #3047

wdjoyner opened this issue Apr 27, 2008 · 1 comment

Comments

@wdjoyner
Copy link

The attached patch adds to version an option which returns the version and the branch clone name.
New behavior:
sage: version()
returns exactly the same thing it did before no change.
sage: version(True) # or replace "True" by anything except "0" or "False"
returns
(Version, Branch name)
For example,

sage: version(1)

('SAGE Version 3.0, Release Date: 2008-04-22',
 'Mercurial clone branch: version')

in a Mercurial clone branch created using "sage -clone version".

Component: user interface

Issue created by migration from https://trac.sagemath.org/ticket/3047

@wdjoyner
Copy link
Author

comment:1

This ticket should be deleted. I meant only to create trac 3046.

@sagetrac-mabshoff sagetrac-mabshoff mannequin removed this from the sage-3.0.1 milestone Apr 28, 2008
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants