Commit Graph

843 Commits

Author SHA1 Message Date
Adrian Buehlmann
0e6715fa28 rename util.set_binary to setbinary 2011-05-06 15:25:35 +02:00
Mads Kiilerich
938d75f22d check-code: fix checking for sh style in .t tests
Restore checks after they were disabled by a1f828662ac8.
2011-05-06 00:34:10 +02:00
Dan Villiom Podlaski Christiansen
c1ff9b1ec7 check-code: disallow calling opener(...).read() and opener(..).write() 2011-05-02 10:11:24 +02:00
Pascal Quantin
6d8379cf4b win32: remove obsolete bookmarks and parentrevspec extensions from mercurial.ini 2011-05-01 20:29:44 +02:00
timeless
849f249718 check-code: check for repo in revlog and ui in util 2011-05-01 16:11:42 +02:00
timeless
153cb7a67b check-code: allow for checking multiple pattern sets per file 2011-05-01 16:10:51 +02:00
timeless
f74ce7db63 check-code: adding debug flag 2011-05-01 15:55:00 +02:00
Steve Borho
f81fa9164b wix: a new mercurial.js has replaced graph.js 2011-04-30 11:53:57 -05:00
Augie Fackler
d47b2c1afa shrink-revlog: defend against null first parents 2011-04-29 09:28:45 -05:00
Augie Fackler
74615b75c0 shrink-revlog: use a bundler object (see cddd91650ec7) 2011-04-29 08:04:54 -05:00
Augie Fackler
fb1853a333 shrink-revlog: update util.opener to scmutil.opener after d26b1348d3f6 2011-04-29 08:01:10 -05:00
Augie Fackler
c61c6d6b7c shrink-revlog: remove \ from docstring 2011-04-29 07:38:12 -05:00
Idan Kamara
169899ab9c check-code: separate warnings to avoid repetitive str.startswith 2011-04-25 13:03:26 +03:00
Idan Kamara
83e05de083 check-code: warn about naked except clauses 2011-04-23 00:52:21 +03:00
Andreas Freimuth
0a5e675fad hg-ssh: fix duplicate word in docstring 2011-04-22 16:43:06 +02:00
Adrian Buehlmann
cf126bb7dd move opener from util to scmutil 2011-04-20 19:54:57 +02:00
Matt Mackall
a8dd64dcb0 misc: replace .parents()[0] with p1() 2011-04-04 16:21:59 -05:00
Matt Mackall
7fbf746bf2 changegroup: fold progress meter into callbacks
progress meters now start at 1 rather than 0
2011-03-28 11:18:56 -05:00
Matt Mackall
f94b6206a0 changegroup: combine infocollect and lookup callbacks 2011-03-28 11:18:56 -05:00
Dan Villiom Podlaski Christiansen
ecb9e72af1 osutil: replace #import with #include, and add a check for it 2011-03-23 23:05:32 +01:00
Matt Mackall
b156bda724 osutil: fix up check-code issues 2011-03-23 09:41:58 -05:00
Steve Borho
4b3a38e051 merge with stable 2011-03-18 13:01:18 -05:00
Steve Borho
ebbe78951f wix: add new file templates/paper/bookmarks.tmpl
This file was snuck onto the stable branch with 77ea38e46cc8
2011-03-18 11:36:36 -05:00
Steve Borho
4f66f8741b mergetools: add alternate registry keys for 32bit apps on 64bit O/S
Not all applications needed the workarounds, so I did not add alternate keys for
every Windows merge application.
2011-03-08 13:35:01 -06:00
Steve Borho
f6f81fe744 wix: drop bin/ folder from MSI installers (issue 2673)
Also fixes issue 2658.
2011-03-08 10:03:01 -06:00
Gilles Moris
cd3e15208e contrib: update tcsh_completion for Mercurial 1.8
Added the following commands: bookmarks debugignore.
Fix the tcsh parse script for the current help text layout.
2011-03-01 07:28:20 +01:00
Augie Fackler
790d2fac2d zsh completion: complete bookmarks where they are accepted
This used to work because bookmarks were pseudo-tags, but broke
once bookmarks became their own first-class object.
2011-02-28 19:15:08 -06:00
Kevin Bullock
3a4f89086c bash_completion: complete bookmarks
Since bookmarks moved into core and are no longer merged with the list
of tags (8e2d23f4bd25), they don't get completed in bash_completion
along with other revision specifiers. This adds a new function to
provide the list of bookmarks for completion, and another, _hg_labels(),
to list all tags, branches, and bookmarks. It further modifies
completion for all commands where '_hg_tags; _hg_branches' was used to
use '_hg_labels' instead.
2011-02-28 16:45:15 -06:00
David Soria Parra
362bc7e128 hgk: display bookmark in commit diff window 2011-02-23 00:25:18 +01:00
David Soria Parra
9e74296485 hgk: display bookmarks as gray labels in the commitline 2011-02-23 00:25:01 +01:00
David Soria Parra
1e08f0a83e hgk: read bookmarks 2011-02-23 00:24:21 +01:00
Dan Villiom Podlaski Christiansen
ec590d5cd4 explicitly close files
Add missing calls to close() to many places where files are
opened. Relying on reference counting to catch them soon-ish is not
portable and fails in environments with a proper GC, such as PyPy.
2010-12-24 15:23:01 +01:00
Adrian Buehlmann
281d62d169 contrib: add win32/buildlocal.bat 2011-02-13 11:14:46 +01:00
Javi Merino
20536933b3 hgk: gitk->hgk in About... menu 2011-02-14 07:39:21 +00:00
Adrian Buehlmann
77ab03f101 port win32.py to using the Python ctypes library
The pywin32 package is no longer needed.

ctypes is now required for running Mercurial on Windows.

ctypes is included in Python since version 2.5. For Python 2.4, ctypes is
available as an extra installer package for Windows.

Moved spawndetached() from windows.py to win32.py and fixed it, using
ctypes as well. spawndetached was defunct with Python 2.6.6 because Python
removed their undocumented subprocess.CreateProcess. This fixes
'hg serve -d' on Windows.
2011-02-14 11:12:26 +01:00
Martin Geisler
a76e121863 backout of e4cb9628354c
Matt and a majority of crew did not like this approach.
2011-01-27 11:15:08 +01:00
Martin Geisler
77e1343f88 check-code: do not complain about 'ls x | foo -v'
Such a line was introduced in test-subrepo-git.t in 686775e575f3,
which made check-code confused.
2011-01-26 12:35:02 +01:00
Martin Geisler
d23e1973c2 specify C indention style using Emacs file local variables 2011-01-26 12:05:01 +01:00
Matt Mackall
dc0a2bb9fd perf: restore lazyindex hack
This hack (and the module it lives in) exist so that performance can
be compared across different hg versions.
2011-01-18 15:55:49 -06:00
Benoit Boissinot
0e3e49c93d perf: there is no lazy index anymore 2011-01-15 12:28:10 +01:00
Matt Mackall
186cb7506d perf: fix ordering of invalidate in perfindex 2011-01-12 11:34:42 -06:00
Matt Mackall
76efe52d35 perf: make perfindex results useful on hg with lazyparser 2011-01-11 17:01:14 -06:00
Matt Mackall
846d35e24f revlog: only build the nodemap on demand 2011-01-11 17:01:04 -06:00
Matt Mackall
efaaee2894 revlog: remove lazy index 2011-01-04 14:12:52 -06:00
Steve Borho
8ab85e67c4 merge with stable 2011-01-08 22:15:19 -06:00
Pascal Quantin
8b6499714d win32: add cacert.pem file to Inno Setup installer 2011-01-08 11:18:38 +01:00
Patrick Mezard
da2f1496a7 bash_completion: support record command 2011-01-07 20:50:41 +01:00
Steve Borho
33365c466e wix: add an ssl certificate file to the WiX installers 2010-12-29 18:27:56 -06:00
Steve Borho
933f43725b merge with stable 2010-12-30 23:36:50 -06:00
Matt Mackall
940fa28a3f check-code: catch os.path.relpath 2010-12-16 14:50:37 -06:00