Commit Graph

575 Commits

Author SHA1 Message Date
Gilles Moris
dc8e526f5e buildrpm: enhance changelog of the RPM file
Now the changelog is different depending if the parent is tagged:
- for tags, keep the previous content, i.e. changelog of the tags.
- for nightly build, changelog of the changesets since the latest tag

As RPM is expecting strictly descending dates, I have used a python
script to reorder the mercurial changelog.
2009-11-06 10:06:08 +01:00
Gilles Moris
22e16b7eb9 buildrpm: build full RPM package including sources 2009-11-06 09:59:55 +01:00
Gilles Moris
7f93b8d88a buildrpm: cleanup script 2009-11-06 09:53:23 +01:00
Gilles Moris
90efd6a603 buildrpm: enable to start the script from anywhere
Previously the script worked only from the hg root.
2009-11-06 09:35:38 +01:00
Gilles Moris
99dbd348b2 buildrpm: warn if there is outstanding uncommitted changes 2009-11-06 09:30:18 +01:00
Gilles Moris
01c82a9f23 buildrpm: build from working dir parent and use hg version for RPM versioning
Previous, RPMs was always built from tip, and the release number did not match
the 'hg version' put in place for 1.4.
This will enable also to this script to be able to build official tag and not
only nightly build.
2009-11-06 09:26:29 +01:00
Jesse Glick
1c304ddf8b Issue919: add a standard extension to recreate hardlinks between repositories.
Having to run a standalone Python script from the contrib dir is a nuisance.
Also makes various improvements to locking, file discovery, etc.
Should also update: http://www.selenic.com/mercurial/wiki/index.cgi/RecreateHardlinksBetweenRepositories
2009-11-05 17:38:03 -05:00
Dirkjan Ochtman
12c5890a70 kill trailing whitespace 2009-11-05 10:44:36 +01:00
Gilles Moris
bed857bb1e update tcsh_completion for the new forget and summary commands 2009-10-24 12:29:39 +02:00
Gilles Moris
33dae3e063 mercurial.spec: update requirements for the build 2009-10-23 23:10:05 +02:00
Pascal Quantin
0c0e1b3aec Add style.css file to Inno Setup script 2009-10-22 23:41:01 +02:00
Mads Kiilerich
0f7110ec11 Merge with redone 9660769e6539 (issue1860) 2009-10-16 11:19:39 +02:00
Steve Losh
d8eb61a4f6 contrib/bash_completion: add tab completion for some bookmark commands 2009-09-17 22:30:45 -04:00
Greg Ward
48fc9e07a3 Add script to rewrite revlog to workaround lack of parent deltas.
Defaults to rewriting the manifest in the current repository.

Based on a patch to rewrite-log by Benoit Boissinot that I found here:
  http://article.gmane.org/gmane.comp.version-control.mercurial.general/11908
2009-08-27 10:21:32 -04:00
Kevin Bullock
7d9f94de98 bash_completion: add completions for shelve extension 2009-09-23 21:29:47 -05:00
Steve Borho
ef214fdcd8 Merge with crew-stable 2009-08-17 20:20:34 -05:00
Steve Borho
5d6c914525 iss: make mfc*.dll and msvc*.dll optional
mfc71.dll was only needed for Python2.4
msvc*.dll is similarly optional
Do not bail installer build if not found
2009-08-16 20:53:49 -05:00
Steve Borho
bef6f273c2 iss: take version from iscc command line or __version__.py
Requires InnoSetup Preprocessor to be installed.
2009-08-16 21:23:48 -05:00
Patrick Mezard
ef63c1e5f9 Mention GnuWin32 gettext in win32 build instructions 2009-07-19 18:23:37 +02:00
Brendan Cully
18d0727ce3 zsh completion: update bisect for builtin syntax 2009-06-30 19:23:50 -07:00
Brendan Cully
1ad5037a50 zsh completion: add hg branch 2009-06-30 18:47:16 -07:00
Brendan Cully
c6f44d1bc6 zsh completion: add hg branches 2009-06-30 18:45:09 -07:00
Brendan Cully
adcf3f9f6d zsh completion: basic merge support 2009-06-30 18:41:43 -07:00
Brodie Rao
cc7929d81c zsh completion: disable defaults and verbose output when completing
If ui.verbose is set to True in hgrc, commands used to provide completions
would yield bad results. For example, qpush completion would include the
patch numbers and statuses as returned by qunapplied -v, instead of just
the patch names.

Defaults are also disabled when completing to prevent similar issues when
an option is set that changes a command's output.
2009-06-30 17:58:17 -04:00
Brendan Cully
76c4e9d8bc zsh completion: include guarded patches in qdelete 2009-06-30 14:31:16 -07:00
Steve Borho
164c094422 mercurial.ini: provide more useful info
* Add warning about not editing the site-wide file on Vista
* More detail about where to create user Mercurial.ini
* Provide examples for ssh tools
* List extensions, all disabled
* add [patch] section, for fixing patch behavior when using win32text
* example [extdiff] section, all disabled
* example [diff] section, all disabled
2009-08-03 23:27:25 -05:00
Patrick Mezard
c18b5e4660 Update win32 build instructions for rst2html 2009-07-19 18:44:20 +02:00
Patrick Mezard
5b2d10b6fe Merge with crew-stable 2009-07-19 18:28:43 +02:00
Greg Ward
37b1525e95 localrepo: rename in-memory tag cache instance attributes (issue548).
- self.tagscache to self._tags
- self._tagstypecache to self._tagtypes
- this is for consistency, readability, privacy, and to subtly hint
  that "caching" is something else
2009-07-16 10:39:41 -04:00
Nicolas Dumazet
7eadbe8d42 for calls expecting bool args, pass bool instead of int
str.splitlines and email.message.as_string both expect a bool argument
defaulting at False: replace f(1) by f(True) and f(0) by f()
2009-07-13 09:50:26 +09:00
Brendan Cully
1743b600cb Relicense zsh completion script under zsh license.
Steve agreed some time ago.
2009-06-29 09:32:06 -07:00
Mads Kiilerich
230b15e299 Make RPM spec in contrib more aligned with the one from Fedora
This is mostly syntactical changes which make the real differences more obvious
when looking at a diff.

contrib/mergetools.rc is now also installed and enabled by default.
2009-06-24 03:05:01 +02:00
Dirkjan Ochtman
1d29e68744 change wiki/bts URLs to point to new hostname 2009-06-24 15:32:37 +02:00
Stefano Tortarolo
a94892f192 contrib/buildrpm: force en_US locale during changelog's creation
Running this script using a different locale (i.e., Italian) returns
an error:
$ ./contrib/buildrpm
sto aggiornando la directory di lavoro
1060 file aggiornati, 0 file merge, 0 file rimossi, 0 file non risolti
errore: data errata in %changelog: mar giu 23 2009 Stefano Tortarolo <stefano.tortarolo@gmail.com> 1.2.1-1034
2009-06-23 14:14:48 +02:00
Stefano Tortarolo
24b7df6192 contrib/buildrpm: set python requirement to 2.4 2009-06-23 14:12:17 +02:00
Dirkjan Ochtman
a774ff01bc help: add/fix docstrings for a bunch of extensions 2009-06-21 16:45:47 +02:00
Mads Kiilerich
eb27d6f1b7 contrib/buildrpm: Don't require installed hg, use local hg with pure extensions 2009-06-20 16:06:55 +02:00
Mads Kiilerich
d0145b8d82 contrib/buildrpm: Don't use perl 2009-06-20 16:06:55 +02:00
Mads Kiilerich
4f6d9d0917 contrib/buildrpm: Support python 2.4 and 2.6 2009-06-20 16:06:54 +02:00
Steve Losh
ffd2524669 Support branch names in contrib/bash_completion
Anywhere a revision is needed a branch name can be used to specify
the tip of that branch, so branch names should be tab completed.
2009-06-03 22:58:43 -04:00
Steve Losh
15b3451b67 Support merge in contrib/bash_completion 2009-06-03 22:54:53 -04:00
Martin Geisler
58e8fb6277 removed unused imports 2009-05-30 23:20:30 +02:00
Martin Geisler
6ab8a62f66 zsh-comp: explain how to use for non-global install 2009-05-24 23:53:28 +02:00
Martin Geisler
0a365d5ca2 use 'x is None' instead of 'x == None'
The built-in None object is a singleton and it is therefore safe to
compare memory addresses with is. It is also faster, how much depends
on the object being compared. For a simple type like str I get:

            | s = "foo" | s = None
  ----------+-----------+----------
  s == None | 0.25 usec | 0.21 usec
  s is None | 0.17 usec | 0.17 usec
2009-05-20 00:52:46 +02:00
Martin Geisler
ee6f4bf040 contrib/win32: add simple style sheet 2009-05-16 08:46:42 +02:00
Martin Geisler
449d0084f2 contrib/win32: updated title of the hgbook 2009-05-16 08:38:04 +02:00
Martin Geisler
c08fe914b5 contrib/win32: format file names and env vars with <tt> 2009-05-16 08:37:06 +02:00
Martin Geisler
caab648bf1 contrib/win32: indent and word wrap consistently 2009-05-16 08:33:23 +02:00
Martin Geisler
d3744da5b7 contrib/win32: add missing <p> tags 2009-05-16 08:26:36 +02:00
Martin Geisler
5cd17cb3ee contrib/win32: fix HTML tag nesting 2009-05-16 08:22:30 +02:00