##// END OF EJS Templates
Show revisions in diffs like CVS, based on a patch from Goffredo Baroncelli....
Show revisions in diffs like CVS, based on a patch from Goffredo Baroncelli. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Show revisions in diffs like CVS, based on a patch from Goffredo Baroncelli. Changes from the original patch: - - Use 'diff -r ...' instead of 'hg diff -r ...' to support filetype detection by at least file(1) and vim. - - Adjusted tests for this change. - - Some cleanups. manifest hash: 5f37d1ef75ea7f4e48b53f02371053ba54fb70f8 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCsyZzW7P1GVgWeRoRAqczAJ479lR9Z289sP+VH5L+N7pQRU14SACfUueq 88ABloIR3VyRIa4qbujnZio= =Vva9 -----END PGP SIGNATURE-----

File last commit:

r241:afe895fc merge default
r396:8f8bb77d default
Show More
setup.py
32 lines | 1.1 KiB | text/x-python | PythonLexer
mpm@selenic.com
Add back links from file revisions to changeset revisions...
r0 #!/usr/bin/env python
# This is the mercurial setup script.
#
# './setup.py install', or
# './setup.py --help' for more options
mpm@selenic.com
Install the templates where they can be found by hgweb.py...
r157 import glob
mpm@selenic.com
Add an O(m + nlog n) patching extension
r72 from distutils.core import setup, Extension
mpm@selenic.com
Install the templates where they can be found by hgweb.py...
r157 from distutils.command.install_data import install_data
class install_package_data(install_data):
def finalize_options(self):
self.set_undefined_options('install',
('install_lib', 'install_dir'))
install_data.finalize_options(self)
mpm@selenic.com
Add back links from file revisions to changeset revisions...
r0
setup(name='mercurial',
mpm@selenic.com
Bump the version number to 0.5b for the protocol change...
r193 version='0.5b',
mpm@selenic.com
Add an O(m + nlog n) patching extension
r72 author='Matt Mackall',
author_email='mpm@selenic.com',
url='http://selenic.com/mercurial',
description='scalable distributed SCM',
license='GNU GPL',
packages=['mercurial'],
ext_modules=[Extension('mercurial.mpatch', ['mercurial/mpatch.c'])],
mpm@selenic.com
Install the templates where they can be found by hgweb.py...
r157 data_files=[('mercurial/templates',
mpm@selenic.com
hgweb: put map-raw in setup.py and MANIFEST.in...
r218 ['templates/map'] +
glob.glob('templates/map-*') +
glob.glob('templates/*.tmpl'))],
mpm@selenic.com
Install the templates where they can be found by hgweb.py...
r157 cmdclass = { 'install_data' : install_package_data },
mpm@selenic.com
Replace tkmerge with hgmerge...
r240 scripts=['hg', 'hgmerge'])