refactor version code
- simplify version detection code - move detection code into setup.py - move version reading function into util.py - drop version.py code This makes hg more closely follow its own recommendation of how to deal with versioning your builds: use hg id in your build script.
Showing
- mercurial/commands.py 1 addition, 2 deletionsmercurial/commands.py
- mercurial/dispatch.py 2 additions, 2 deletionsmercurial/dispatch.py
- mercurial/util.py 8 additions, 0 deletionsmercurial/util.py
- mercurial/version.py 0 additions, 77 deletionsmercurial/version.py
- setup.py 17 additions, 7 deletionssetup.py
- tests/test-demandimport 0 additions, 7 deletionstests/test-demandimport
- tests/test-demandimport.out 0 additions, 4 deletionstests/test-demandimport.out
Loading
Please register or sign in to comment