Dirkjan Ochtman
051db6ab82
merge with crew-stable
2008-09-03 19:03:57 +02:00
Dirkjan Ochtman
f785a1c716
bisect: only complain when nothing can be done
2008-09-03 19:00:43 +02:00
Dirkjan Ochtman
8c471ba704
imported patch test-check
2008-09-03 19:01:35 +02:00
Benoit Boissinot
20fc9c8d79
allow committing a removed directory
...
fix issue1089
2008-09-03 02:27:25 +02:00
Patrick Mezard
94ead662e7
convert: document source and sink identifiers, fix error message
2008-09-02 22:21:19 +02:00
Patrick Mezard
a5a7a649cf
graphlog: fix calls from outside the repository (issue1285)
2008-09-02 09:25:29 +02:00
Dirkjan Ochtman
83b9ec89ae
bisect: status message when no action is specified
2008-08-21 19:02:56 +02:00
Christian Ebert
51ca48048e
Make test-hardlinks-safety portable
...
On some systems cp cannot create/preserve hardlinks.
Use util.copyfiles instead, after making sure it actually does
create hardlinks.
2008-08-20 17:58:12 +02:00
Thomas Arendsen Hein
0e5b328695
Adjust test output for hg help qrecord since 0fd032cb1106
2008-08-20 15:04:45 +02:00
Patrick Mezard
20286160ce
Merge with crew-stable
2008-09-02 09:47:40 +02:00
Benoit Boissinot
a45e96bda8
fix test output broken by 3268cb531b33
2008-09-02 01:19:12 +02:00
Martin Geisler
897f1ddab8
i18n: avoid naive plural tricks
2008-08-31 16:12:02 +02:00
Adrian Buehlmann
c937a43696
increase code coverage of test-clone
...
* add a non-inlined filelog to the test repo
* add 'clone --pull' test case
2008-08-30 18:47:54 +02:00
Dirkjan Ochtman
0c1845ffb9
hgweb: return content iterator instead of using write() callable
...
This is a new version of b6b16fec2a60 (which was backed out in faf83e1e40f5),
with an extra line removed to fix problems with hg serve. hg's internal web
server contains checking if the app isn't trying to write more bytes than
specified by the Content-Length header. The first try still contained an old
line that wrote the response, so the response was sent twice.
2008-08-30 17:13:23 +02:00
Benoit Boissinot
5562ddda56
fix regression on empty repo cloning introduced by d87e43563bf4
...
The store directory wasn't copied. Unconditionally create the directories
instead.
2008-08-29 16:50:11 +02:00
Martin Geisler
73f6ec8db1
qimport: report filename in case of IOError
...
The old behaviour was to say "abort: unable to read" since the
patchname variable was always None.
2008-08-26 00:04:18 +02:00
Stefano Tortarolo
2892a4755b
Fix wrong redirection in test-rebase-parameters
2008-08-27 12:49:39 +02:00
Patrick Mezard
f0168e36a9
Merge with Gilles Moris
2008-08-24 22:40:34 +02:00
Gilles Moris
5d85996f85
Have verbose and debug flag print the changeset rev and hash when committing.
...
Besides updating the tests output, I had to push back at the end the test for
issue1193 in test-commit, solved by cset 31a0a36d6d95, because it was using the
current date for commit and was randomizing the subsequent hash.
2008-08-22 22:32:53 +02:00
Patrick Mezard
a8ac103268
Backed out changeset 0f390189b058
...
Replace this change with a better one.
2008-08-24 22:13:39 +02:00
Gilles Moris
4c144a2f64
Have verbose flag print the changeset hash when committing
2008-08-22 13:25:35 +02:00
Patrick Mezard
aee5d531f1
test-rebase-mq: '|' is a GNU sed extension, unfold it
2008-08-24 19:24:47 +02:00
Christian Ebert
ef7b051c64
keyword: avoid additional conflicts during merge/resolve
...
Make merge and resolve trigger kwtemplater.restricted to compare
data without keyword expansion.
The keyword stays outside the conflict:
$Keyword$
<<<<<<< local
bar
=======
foo
>>>>>>> other
and will again be expanded on commit.
Demonstrate in test case.
2008-08-22 08:26:18 +02:00
Dirkjan Ochtman
c29fabfbde
merge with crew-stable
2008-08-21 19:05:18 +02:00
Christian Ebert
a72d3adc8a
keyword: thorough hgweb testing
...
- test hgweb while keyword extension is _enabled_
- check expansion with hgweb.file
- besides log and diff, also check annotate for not expanding
2008-08-21 10:20:44 +02:00
Dov Feldstern
7805ceec07
test symlinks on symlink-capable os but non-capable filesystem (issue1149)
...
The "real" way to test this is to mount a non-symlink-capable filesystem, and
try working on it; however, I don't know how to mount filesystems as a
non-priveleged user from within the testing framework. So instead, os.symlink
is overridden to raise the exception that would be raised on such a filesystem.
2008-07-31 22:41:19 +03:00
Matt Mackall
4d074f2f87
add a fix for issue 1175
...
If we copy a file followed by an update, it's possible for the parent
manifest to no longer contain the source file of the copy, which could cause
commit to fail. If this happens, we search backwares from the first
parent to find the most likely original revision.
2008-08-10 18:01:03 -05:00
Thomas Arendsen Hein
67623d98de
Make test-convert-mtn pass on systems where mtn add -R uses different order
2008-08-09 11:46:20 +02:00
Thomas Arendsen Hein
d912d56f04
Make test-hardlinks-safety repeatable and executable
2008-08-08 18:48:26 +02:00
Bernhard Leiner
12387fffd4
add additional bisect tests
2008-08-02 22:10:54 +02:00
Bernhard Leiner
41c8918f2f
add additional complex bisect tests (with non-linear history)
2008-08-02 22:11:22 +02:00
Dirkjan Ochtman
3e077a5422
strip trailing whitespace, replace tabs by spaces
2008-08-21 11:35:17 +02:00
Dirkjan Ochtman
afa3084f5f
hgweb: fix WSGI iterators handling in CGI adapter (issue1254)
2008-08-21 10:55:24 +02:00
Thomas Arendsen Hein
dd28190592
merge with crew-stable
2008-08-20 19:00:39 +02:00
Thomas Arendsen Hein
f8baf69ea4
merge with crew-stable
2008-08-20 15:05:43 +02:00
Patrick Mezard
c717caba48
Fix subversion tests with svn 1.5
2008-07-30 22:26:41 +02:00
Benoit Boissinot
9d636a4b09
make mq and tags hardlink safe
...
The code didn't check for modes like "r+" or "rb+".
Many thanks to agriffis for noticing it.
2008-07-23 16:08:20 +02:00
Patrick Mezard
1277ce4266
test-branches: add a test for long branch name (issue 1230)
2008-07-20 21:00:13 +02:00
Patrick Mezard
42c2e73f4f
mq: fix qrefresh losing copy information (issue 1134)
2008-07-07 09:16:09 +02:00
Brendan Cully
2aef8dbc09
Check that git patches only touch files under root
2008-06-25 14:13:20 -07:00
Thomas Arendsen Hein
6fbdf04649
run-tests.py: Make tests run with python2.3 if HGTEST_* is set.
...
optparse of python2.3 does not transform default values to the specified
type so e.g. "HGTEST_JOBS=4" (introduced in b8e8d6b0ae08) causes tests
to abort, because options.jobs is set to '4' instead of the number 4.
2008-06-16 11:37:26 +02:00
Patrick Mezard
c7f6f81b90
Ignore dummy copies in dirstate and localrepo.filecommit()
2008-06-15 13:01:03 +02:00
Maxim Dounin
1ce305a01e
addremove: correctly handle intermediate symlinks
...
This fixes problems mentioned in issue660 comments (unrelated to original
issue) where directory was renamed, and symlink was added instead.
In such situation addremove wasn't able to correctly detect that old files
no longer here, but tried to add symlink (and failed due collision with
old files).
2008-05-07 14:32:00 +04:00
Patrick Mezard
574f71dd66
test-mq-qrename: test added patch renaming
2008-06-06 18:23:33 +02:00
Dirkjan Ochtman
ff7fe64e1f
mq: don't update the working copy on strip if parents aren't stripped
...
* * *
2008-06-03 12:10:14 +02:00
Patrick Mezard
ea981a320c
test-convert-mtn: test descriptions with quotes
2008-06-02 21:38:52 +02:00
Stefano Tortarolo
826bd6dc17
Active branches fix (issue1104)
2008-05-29 22:21:29 +02:00
Patrick Mezard
ada9662975
test-mq-merge: test mq merge and explicit patch queue
2008-05-24 18:11:34 +02:00
Dirkjan Ochtman
7b9076932b
tests: don't run test-convert-cvs if there's no cvs server
2008-05-23 16:50:17 +02:00
Patrick Mezard
ae8e8e5874
test-mq: update qdiff summary output
2008-05-18 20:54:10 +02:00