Martin Geisler
112ccb5aa0
convert/subversion: wrap long lines in comments
2009-05-31 01:26:23 +02:00
Martin Geisler
37b00fb404
test-hybridencode: break long string literals
2009-05-31 01:13:45 +02:00
Martin Geisler
7fc350327e
revlog: make triple-quoted string a real comment
2009-05-31 00:58:20 +02:00
Martin Geisler
cac71647b1
posix: do not use fstat in isowner
...
The fstat function was undefined, but never used since a stat object
was always passed in the optional st argument. Passing st is now
mandatory.
This bug crept in when util was split up into posix and windows
modules. The fstat function is still defined in util, but importing it
into posix would create an import cycle which seems unnecessary.
2009-05-30 23:42:35 +02:00
Martin Geisler
58e8fb6277
removed unused imports
2009-05-30 23:20:30 +02:00
Brendan Cully
5189b36798
Move alias into core
2009-05-30 11:32:23 -07:00
Cédric Duval
dc685aa920
mq: rename setheader to updateheader and fix comment
2009-05-30 19:37:01 +02:00
Cédric Duval
ee45037723
mq: initializing patchheader class directly from patch content
...
The patch header needs only be read in order to instantiate the class,
and as such it makes more sense to do it within the class.
2009-05-30 19:18:29 +02:00
Bryan O'Sullivan
d3e34e566d
Merge with mpm
2009-05-29 21:31:33 -07:00
Greg Ward
4ad6973308
run-tests: clarify timeout log message.
2009-05-29 10:00:03 -04:00
Benoit Boissinot
13b1ecd60e
clone: fall back to pull source repo cannot be locked, 039087cb3900 was a noop
...
039087cb3900 was a noop, it was missing the wait keyword
2009-05-28 17:44:57 +02:00
Garth Roxburgh-Kidd
ec8fc1a93b
fixed 0xc0150004 error building Mercurial under Python 2.6 for Windows
2009-05-28 17:03:35 +02:00
Adrian Buehlmann
7a0533d1fa
localrepo: move comment
2009-05-28 08:29:40 +02:00
Matt Mackall
28a532efb7
revlog: refactor chunk cache interface again
...
- chunk to _chunk
- _prime to _chunkraw
- _chunkclear for cache clearing
- _chunk calls _chunkraw
- clean up _prime a bit
- simplify users in revision and checkinlinesize
- drop file descriptor passing (we're better off opening fds lazily
2009-05-27 16:01:34 -05:00
Simon Heimberg
1d6b2ca034
localrepo: use lock.release for single lock
2009-05-27 14:16:13 +02:00
Martin Geisler
09d5799bbb
dirstate: fixed typo in comment
2009-05-27 23:39:41 +02:00
Matt Mackall
23a569538b
changelog: make delayopener less intrusive
2009-05-27 14:44:55 -05:00
Matt Mackall
4dc9e4309d
revlog: report indexfile rather than datafile for integrity check
2009-05-27 14:44:54 -05:00
Matt Mackall
07ba4cbe2d
ui: fix two bugs in %% warning
2009-05-27 14:44:52 -05:00
Matt Mackall
df215f1dab
revlog: move stat inside lazyparser
2009-05-27 14:44:51 -05:00
Matt Mackall
66cde5c7cb
dirstate: notice truncated parents read
2009-05-25 12:48:15 -05:00
Matt Mackall
1c30179455
lookup: check for dirstate damage on failure
2009-05-25 10:44:37 -05:00
Christian Ebert
8860aab738
keyword: rename matcher() to match() mimicking changes in main
2009-05-26 23:09:38 +02:00
Cédric Duval
09fe588f0d
tests: test for dispatch on [defaults]: more clearly differing output
...
Using '-r null' instead of '-v' as the overriden command default.
The latter did not have any effect on output, thus not giving much
indication on whether the modified defaults were really in use or not.
2009-05-24 22:15:48 +02:00
Peter Arrenbrecht
7faf52b00f
merge: whitespace cleanup
2009-05-27 16:25:31 +02:00
Peter Arrenbrecht
38e7748fe0
revlog: add test for 96029cc19930 (issue1678)
2009-05-27 14:11:41 +02:00
Benoit Boissinot
1d46ec6dc3
changegroup: the node list might be an empty generator (fix issue1678)
2009-05-27 02:46:59 +02:00
Benoit Boissinot
d81f680b31
store encoding: .i/.d encoding for non-store repo (broken by 67e6074ba430)
2009-05-26 23:49:53 +02:00
Martin Geisler
5b4e5428df
replace "i in range(len(xs))" with "i, x in enumerate(xs)"
...
The remaining occurrences should be the ones where "xs" is mutated or
where "i" is used for index arithmetic.
2009-05-26 22:59:52 +02:00
Martin Geisler
d8ad0f17b4
util: simplify range expression
...
The n index variable was unused. Every iteration would pop one element
off of parts, so the for loop can be replaced with a while loop.
2009-05-26 22:37:26 +02:00
Martin Geisler
39cc7c7ced
color: cleanup extra commas
2009-05-26 22:09:39 +02:00
Martin Geisler
dcc3781fa0
setup: execute hg in C locale
2009-05-26 22:02:10 +02:00
Martin Geisler
350a0986a8
setup: handle trust warnings when determining version
2009-05-26 21:13:21 +02:00
Martin Geisler
27457436c6
setup: renamed l, e vars to out, err
2009-05-26 21:07:41 +02:00
Martin Geisler
cb2e1d2019
hggettext: ensure correct Mercurial is imported
2009-05-26 20:12:37 +02:00
Martin Geisler
ded47ba985
Makefile: do not create i18n/, it is already there
2009-05-26 19:51:22 +02:00
Martin Geisler
4176f5b789
replace xrange(0, n) with xrange(n)
2009-05-25 23:06:11 +02:00
Martin Geisler
09b1280157
color: replace re.split with ui.configlist
2009-05-25 22:54:16 +02:00
Martin Geisler
cb4aca83ce
color: use lists instead of tuples for effects
2009-05-25 22:44:53 +02:00
Dirkjan Ochtman
e4b1a0608c
hgweb: extract config values after reading webdir-config
2009-05-26 10:16:17 +02:00
Dirkjan Ochtman
f9911763f7
tests: make coverage run in parallel mode, clean up coverage code
2009-05-25 18:34:35 +02:00
Benoit Boissinot
d861db9be5
revlog: fix undefined variable introduced in 042cecef3ad7
2009-05-25 13:52:09 +02:00
Cédric Duval
a438820dfe
parentrevspec: remove a trailing colon
2009-05-24 22:17:10 +02:00
Cédric Duval
8ab8d67bca
purge: fix spelling error
2009-05-24 22:17:12 +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
d6db5e0057
use ui instead of repo.ui when the former is in scope
2009-05-24 22:37:20 +02:00
Matt Mackall
a30eb02911
cmdutils: Take over glob expansion duties from util
2009-05-24 16:38:29 -05:00
Matt Mackall
bd7c2104ff
match: fix _patsplit breakage with drive letters
2009-05-24 16:37:34 -05:00
Patrick Mezard
945857d352
statichttprepo: handle remote not supporting Range headers
...
- If remote does not support Range header, 200 is answered instead of 206. The
HTTPRangeHandler left these responses unchanged, so the data has to be sliced
by the receiver.
- httprangereader file pointer was not updated.
2009-05-24 18:31:01 +02:00
Patrick Mezard
64fcf86ad8
convert: better feedback when filtering out empty revisions
...
Original patch by Herbert Griebel <herbertg@gmx.at>
2009-05-24 18:30:59 +02:00