Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#3047 closed defect (duplicate)

version option returning clone branch name

Reported by: wdj Owned by: was
Priority: minor Milestone: sage-duplicate/invalid/wontfix
Component: user interface Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

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".

Change History (3)

comment:1 Changed 13 years ago by wdj

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

comment:2 Changed 13 years ago by mhansen

  • Resolution set to duplicate
  • Status changed from new to closed

comment:3 Changed 13 years ago by mabshoff

  • Milestone changed from sage-3.0.1 to sage-duplicate/invalid
Note: See TracTickets for help on using tickets.