Fix hg version parsing to cope with devel builds.

Review Request #3559 — Created Nov. 25, 2012 and discarded

david
Review Board
release-1.7.x
2739
reviewboard
Fix hg version parsing to cope with devel builds.

Devel builds of hg include the revision number in a way that breaks
parse_version(). This change adds some code to strip that out.
Ran unit tests.
chipx86
  1. I wouldn't expect we'd need this, since I think the -12345 is a valid suffix for versions as far as parse_version is concerned. Certainly works for our nightly build timestamps. What issue are we seeing?
    
    The bug report is outdated. That bug was fixed in 1.6.12 or 1.6.13.
  2. 
      
david
Review request changed

Status: Discarded

Loading...