Commit Graph

48 Commits

Author SHA1 Message Date
Angel Ezquerra
5ba2d3ae3d hgignore: ignore the PyCharm workspace folder 2014-10-13 11:46:04 +02:00
anatoly techtonik
bff9cb0660 contrib/vagrant: use Vagrant for running tests on virtual machine
$ cd contrib/vagrant
  $ vagrant up
  $ vagrant ssh -c ./run-tests.sh

Repository is shared at /hgshared in guest machine.
2014-07-05 16:32:28 +03:00
Matt Mackall
761e95b927 packaging: move output directory from build/ to packages/
setuptools owns build/ and dist/ and we want to have our own scheme
2014-05-27 11:52:39 -07:00
Simon Heimberg
31f38eee9f Makefile: do update on a temporary copy of a po file
This avoids having a half completed file (with a new timestamp) when msgmerge
has failed.
2013-11-05 09:43:36 +01:00
Takumi IINO
2d38f7b9dd doc: make man and html from translated documents
Before this patch, man and html are english only, and there sources are not
translatable.
This patch make translatable all documents.
2013-07-03 21:49:43 +09:00
Adrian Buehlmann
d768b47592 exewrapper: adapt for legacy HackableMercurial
We give up using CPython's PythonXX.lib import libraries (and Python.h), and
now "manually" call the LoadLibrary() / GetProcAddress() Windows API's instead.

If there is a "hg-python" subdirectory (the canonical directory name for
HackableMercurial's private Python copy) next to the hg.exe, we load the
pythonXX.dll from there (feeding an absolute path to LoadLibrary) and we set
Py_SetPythonHome() to that directory, so that the Python libraries are used
from there as well.

If there is no "hg-python" subdir found next to the hg.exe, we do not feed an
absolute path to LoadLibrary. This continues to allow to find a globally
installed Python DLL, as before this change - that is, without having to edit,
delete, rename, or configure anything.

Note that the hg.exe built is still bound to a *specific* major version of the
pythonXX.dll (e.g. python27.dll). What version it is, is inferred from the
version of the python interpreter that was used when calling setup.py. For
example

  C:\python27_x86\python.exe setup.py build_hgexe -i --compiler=mingw32

builds a hg.exe (using the mingw32 tool chain) bound to (x86) Python 2.7. And

  C:\python27_x86\python.exe setup.py build_hgexe -i

builds the same using the Microsoft C compiler/linker. (Note that the Microsoft
toolchain combined with x64 CPython can be used to build an x64 hg.exe.)

setup.py is changed to write the name of the pythonlib into the generated header
file "mercurial/hgpythonlib.h", which is #included by exewrapper.c. For a Python
2.7 build, it for example contains:

  #define HGPYTHONLIB "python27"

exewrapper.c then uses HGPYTHONLIB for the name of the Python dll to load.

We don't want to track mercurial/hgpythonlib.h, so we add it to .hgignore.
2012-08-07 11:04:41 +02:00
Adrian Buehlmann
da5e137138 hgignore: ignore zip files 2012-07-29 09:03:51 +02:00
Adrian Buehlmann
f4e0fd8be9 hgignore: simply ignore all *.exe's everywhere
it's not like we're going to add any exe anywhere ever
2012-07-01 10:06:16 +02:00
Mads Kiilerich
d6cf79df9b update .hgignore for hackable with Python 2.7 2012-04-28 01:22:35 +02:00
Markus Zapke-Gründemann
46ae5d8243 tests: add htmlcov option 2012-01-11 15:38:31 +01:00
Laurens Holst
557293b353 ignore: add files present in the hackable-hg windows distribution 2011-12-20 20:36:40 +01:00
Thomas Arendsen Hein
17271f3afa hgignore: ignore MANIFEST.in (generated since 3f7ee5b12708) 2011-06-10 20:38:02 +02:00
Yuya Nishihara
64bae20381 setup: add command to generate index of extensions
It generates prebuilt index of all extensions, which will be used by
frozen exe when running 'hg help extensions'.

Now py2exe invokes this command automatically.
2011-06-04 20:11:10 +09:00
Craig Leres
f94332b098 hgignore: ignore dll files generated under cygwin 2011-03-14 12:42:05 -04:00
Simon Heimberg
4fba4095f5 hgignore: ignore more bytecode
ignore optimized bytecode and jython bytecode
2011-02-03 07:58:54 +01:00
Lee Cantey
9a1c1c83c3 Ignore mercurial.egg-info build output 2010-06-18 10:45:40 -07:00
Bryan O'Sullivan
39f59a8aee win32text: be more careful about rejecting violating changesets
We now try to walk changesets in reverse order from newest to oldest,
so that if we see a file multiple times, we treat the newest version
as canonical.

This should prevent us from rejecting a changegroup that contains an
unacceptable commit followed later by a commit that fixes the problem.
2009-04-24 00:06:01 -07:00
Martin Geisler
80b277c7ef use PURE option in Makefile 2009-01-24 01:47:36 +01:00
Martin Geisler
8a1d290eb9 i18n: new build_mo command for setup.py
This command will generate .mo files under locale/ for the .po files
found under i18n/.
2009-01-15 00:11:54 +01:00
Martin Geisler
12b2d519d0 i18n: let Makefile generate i18n/hg.pot
The target update-pot extracts strings using pygettext and updates the
i18n/hg.pot file. The translators can then use msgmerge to merge the
new strings in hg.pot with their xx.po file when they want to.

The setup.py file now includes files under both templates/ and i18n/
as data files.
2009-01-15 00:10:54 +01:00
Brendan Cully
a5e959f9ed Ignore eclipse droppings 2008-11-27 11:05:50 -08:00
Adrian Buehlmann
3a20fdaaea ignore *.pyd files
*.c modules on Windows are compiled to *.pyd
2008-04-14 00:36:01 +02:00
Kirill Smelkov
ce6e0fe0b0 .hgignore += tags & cscope files 2007-12-25 18:48:43 +03:00
Steve Borho
96b2ad022b win32: ignore all installers generated in Output/ 2007-12-07 18:14:16 -06:00
Bryan O'Sullivan
8b47a0ee32 Ignore mergebackup files generated by mpatch 2007-07-26 13:38:20 -07:00
Lee Cantey
32853e0761 Ignore .DS_Store directories
These are used by Finder on OS X.
2006-08-21 17:47:02 -07:00
Vadim Gelfer
0dd4907595 merge with crew. 2006-06-01 13:47:34 -07:00
Vadim Gelfer
44fdf5e0a9 contrib: add restricted shell. 2006-05-23 09:33:09 -07:00
Marco Barisione
9a51ef43f2 The line used to ignore the setup file for win32 is a regexp but it was after a "syntax: glob" 2006-05-22 16:47:40 +02:00
Marco Barisione
518766595d Ignore the .exe setup file for Windows 2006-05-22 14:06:12 +02:00
Thomas Arendsen Hein
ad417300c3 Ignore annotated coverage output of run-tests.py -C 2006-04-28 12:38:11 +02:00
Vadim Gelfer
82f373878f let run-tests run optional code coverage tests.
to enable, set env var TEST_COVERAGE to non-empty string. run-tests will
print report after running.

after coverage run, file tests/.coverage will contain coverage data. use
tests/coverage.py to get more info, like annotated source code.
2006-04-13 17:11:04 -07:00
Thomas Arendsen Hein
e7eeb0351d Ignore generated documentation 2006-03-01 09:09:50 +01:00
Bryan O'Sullivan
ae02dc4df3 Switch to new syntax for .hgignore files.
Here is the new syntax, in summary.
Trailing white space is dropped.
The escape character is "\".
Comments start with #.
Empty lines are skipped.
Lines can be of the following formats:
syntax: regexp # defaults following lines to non-rooted regexps
syntax: glob   # defaults following lines to non-rooted globs
re:pattern     # non-rooted regular expression
glob:pattern   # non-rooted glob
pattern        # pattern of the current default type
The default pattern type is regexp, which is completely backwards
compatible with the old hgignore syntax.
In the dirstate class, the ignore method has been reworked to be based
on the util.matcher function, by way of a new dirstate.hgignore
method.
2005-09-17 00:27:27 -07:00
Bryan O'Sullivan
efcb2fa17c In-progress Emacs snapshot. 2005-08-19 06:41:29 -08:00
Samuel Tardieu
61e2d27b5b Add temporary documentation files and profiling output to .hgignore 2005-08-06 21:18:21 +01:00
Thomas Arendsen Hein
e4d1a01f40 Ignore test error files, protect dot in .pc/ 2005-07-29 14:49:04 +01:00
Thomas Arendsen Hein
7b598def1e Be even more specific with .hgignore regexps, added *.swp files.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Be even more specific with .hgignore regexps, added *.swp files.

manifest hash: 6664148b687983a41ef50d5bd4fd40426fb96621
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC2TThW7P1GVgWeRoRAhObAJ9ZuBxwCBSTZ9MSonw4q1EaluxMMQCfdrBo
Czu2RdQEK4RZQh/ngzm73p8=
=8XOM
-----END PGP SIGNATURE-----
2005-07-16 17:25:05 +01:00
Bryan O'Sullivan
79be8fe5e5 Fix up ignore regexps. 2005-07-16 17:19:58 +01:00
Bryan O'Sullivan
a2873f02e1 Move hgrc documentation out to its own man page, hgrc(5).
# HG changeset patch
# User Bryan O'Sullivan <bos@serpentine.com>
# Node ID 5076cf1fd6a1b8eb410e5e03cb004ca6a52a30f9
# Parent  d5198e5dd8087ca487031662f0908a6296512e5d
Move hgrc documentation out to its own man page, hgrc(5).
The new man page expands on the existing documentation by describing
the file format and the purpose of each section and field.
2005-07-10 16:14:06 -08:00
Thomas Arendsen Hein
26b86a9abe Support for 'hg --version'. setup.py stores version from hg repository.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Support for 'hg --version'. setup.py stores version from hg repository.

manifest hash: c69058298ea12035f2cf356f987ba2fb5ff4bbae
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCtD6ZW7P1GVgWeRoRAnGHAKCLscthht2UlBEMDmxL9cku4PlcswCffOVo
wTOhYkW4Ie5+8bdmL8EqsvY=
=uGpn
-----END PGP SIGNATURE-----
2005-06-18 16:32:41 +01:00
mpm@selenic.com
69225e6b21 ignore files associated with quilt
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ignore files associated with quilt

manifest hash: f0da2c0465fb27005d5bde30e0171ae9a76951d0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCsGpIywK+sNU5EO8RAi+uAJ4/cXWFBnXoLHH8bN8Xbe/nzXHycgCfQkO2
WdEoWI4YpiNQ+s5id6Xxphw=
=6cXJ
-----END PGP SIGNATURE-----
2005-06-15 09:50:00 -08:00
mpm@selenic.com
f161c8bdc8 Add an O(m + nlog n) patching extension 2005-05-16 22:08:33 -08:00
mpm@selenic.com
507be67a72 Ignore .orig and .rej files from patch 2005-05-11 14:32:03 -08:00
mpm@selenic.com
4c67396819 Ignore MANIFEST 2005-05-03 18:51:29 -08:00
mpm@selenic.com
386c928b37 Add some ignore expressions 2005-05-03 18:50:07 -08:00
mpm@selenic.com
c99cd3d6ad Ignore build/ and .pyc files 2005-05-03 18:35:26 -08:00
mpm@selenic.com
a5cbcd625f Update README to discuss remote pull, rsync, and the hg repo
add a .hgignore file
2005-05-03 13:27:13 -08:00