Bug 638529 - hg reports version 'unknown'
Summary: hg reports version 'unknown'
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: mercurial
Version: el4
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Dennis Gilmore
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-29 09:40 UTC by Felix Schwarz
Modified: 2012-03-01 20:02 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-03-01 20:02:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Felix Schwarz 2010-09-29 09:40:21 UTC
…/python2.3/site-packages/mercurial/__version__.py contains 
  version = "unknown"
when it should say:
  version = "1.2"

Therefore hg on el4 reports a bad version number which makes it impossible for other software to support multiple versions of hg (as they can not use the correct API which changed between hg versions). For the example the trac mercurial plugin (not packaged in Fedora) will cause exceptions in certain situations (see http://trac.edgewall.org/ticket/9611#comment:5).

I confirmed that manually setting the correct version in __version__.py fixes the problem. To me it looks like some missing buildrequires.

Comment 1 Kevin Fenzi 2012-03-01 20:02:27 UTC
EPEL-4 has reached end of life and is no longer supported. 

Please retest your bug against EPEL-5 or EPEL-6 and re-open if the bug persists in the packages available in those releases, or file a new bug. 

See: http://lists.fedoraproject.org/pipermail/epel-announce/2012-February/000015.html


Note You need to log in before you can comment on or make changes to this bug.