Matt Mackall
4412e65957
backout: disallow across branches (issue655)
2007-12-01 13:09:27 -06:00
Matt Mackall
3c8b7b8583
rename: add test for moving untracked files in directories
2007-12-01 12:54:34 -06:00
Dirkjan Ochtman
eb63af80e4
Less indirection in the WSGI web interface. This simplifies some code, and makes it more compliant with WSGI.
2007-11-30 18:23:18 +01:00
Bryan O'Sullivan
43a520697c
hgweb: account for Python 2.4 in one test
2007-11-28 11:54:39 -06:00
Bryan O'Sullivan
e19dabc11f
hgweb: return meaningful HTTP status codes instead of nonsense
2007-11-28 08:38:42 -08:00
Bryan O'Sullivan
314630c85c
convert: some tidyups, doc improvements, and test fixes
...
The various back end options are now documented.
The hg source can now be configured not to hand out a revision ID.
2007-11-27 09:44:09 -08:00
Bryan O'Sullivan
a364fef5fb
Merge with crew
2007-11-26 17:24:21 -08:00
Bryan O'Sullivan
eff109c7b0
convert: tell the source repository when a rev has been converted
...
This lets us roundtrip changes between svn and hg.
2007-11-26 17:23:20 -08:00
Patrick Mezard
eeff34ef5f
Merge with crew-stable
2007-11-25 12:42:06 +01:00
Patrick Mezard
f280a41d83
test-import: test fuzziness, ambiguous patch locations
2007-11-25 12:17:30 +01:00
Patrick Mezard
cbf322b12c
cmdutil: make "files" list all files, add "file_mods" for modified files
2007-11-24 20:16:59 +01:00
Patrick Mezard
8f3f01adea
cmdutil: always expose "files_add", "files_del" and "manifest" templater properties
2007-11-24 17:56:15 +01:00
Patrick Mezard
80735bf58c
Merge with crew-stable
2007-11-20 14:41:47 +01:00
Patrick Mezard
8ae803be30
mq: avoid qnew committing everything on invalid paths (issue 803)
...
If paths are supplied but resolve to nothing, localrepo.commit() is called with an empty set and commits the whole dirstate. Avoid this by passing the match function to commit.
2007-11-20 14:31:58 +01:00
Patrick Mezard
808b254fe1
test-convert-svn-sink: test directory additions
2007-11-17 18:41:31 +01:00
Patrick Mezard
c182383712
test-import: read email payload in binary mode
2007-11-10 21:30:43 +01:00
Alexis S. L. Carvalho
2e160ca8ff
merge with crew-stable
2007-11-09 21:24:25 -02:00
Alexis S. L. Carvalho
0086f97dc7
mq: really remove undo after a qpush (and after a strip)
...
For qpush, removeundo has to be called after the transaction has finished.
strip may use unbundle, which also leaves an undo file.
Fixes issue780.
2007-11-09 20:21:35 -02:00
Matt Mackall
d3de4f56b7
Merge with crew
2007-11-07 21:13:56 -06:00
Bryan O'Sullivan
68c398d741
convert: add support for Subversion as a sink
2007-11-07 18:26:59 -08:00
Matt Mackall
10b354f4a5
Mark failing test as a known bug
2007-11-07 14:38:04 -06:00
Bryan O'Sullivan
33c2bc9eb9
Merge with -stable
2007-11-05 13:20:24 -08:00
Manuel Holtgrewe
4a33cb8d98
Do not display passwords with pull/push/incoming/outgoing
...
Passwords specified in the repository URL are now displayed as '***'
when accessing the remote repository.
2007-11-05 20:29:32 +01:00
Alexis S. L. Carvalho
9877d9e85e
run-tests.py: add a default --date "0 0" argument to commit et al
...
Part of test-tags was modified just to be sure this works.
The change in test-archive-symlinks is necessary to avoid a "helpful"
warning from GNU tar ("implausibly old time stamp 1970-01-01 00:00:00").
2007-11-09 20:21:35 -02:00
Alexis S. L. Carvalho
cde5fb5024
tests/*: avoid losing the original settings from $HGRCPATH
2007-11-09 20:21:35 -02:00
Alexis S. L. Carvalho
959d3f5cd4
test-convert-darcs: skip if we can't find the elementtree module
...
This patch is a bit dirty to avoid having to repeat the dance required
to import elementtree.
2007-11-09 20:21:35 -02:00
Alexis S. L. Carvalho
bb984a6137
test-permissions: add a chmod +w to allow the directory to be removed
2007-11-09 20:21:35 -02:00
Alexis S. L. Carvalho
8dd3103fe5
run-tests.py: don't print a dot for skipped tests
2007-11-09 20:21:35 -02:00
Alexis S. L. Carvalho
c4d02f3fdf
purge: simplify safety net for case mangling filesystems
...
Relying on the exact return of statwalk would cause us to abort
when there was at least one tracked file inside an ignored directory.
This patch forces an extra walk of the whole working directory even
on sane filesystems, where it wouldn't be needed.
Fixes issue621.
2007-11-09 20:21:35 -02:00
Maxim Dounin
084e15f969
Fix dir-changed-to-file updates on clean workdir.
...
Workaround for dir-changed-to-file updates mentioned
in rev c3f3393b9096 doesn't actually work since tests
introduced in mentioned changeset prevented dirstate
updates even if working directory updates succeded.
Make tests more relaxed for dirstate operations
not directly accessible from cli. See also issue660.
While here, move _dirs existance check from _decpath()
to _changepath() for unification.
2007-11-07 22:57:28 +01:00
Bryan O'Sullivan
6605c95531
Test a merge of a symlink against an executable file.
...
This should result in a conflict, but the symlink always wins.
2007-11-02 14:02:28 -07:00
Bryan O'Sullivan
e08db629ad
Merge with crew-stable.
2007-11-01 15:22:10 -07:00
Dustin Sallings
bebcdac954
Use both the from and to name in mdiff.unidiff.
...
This fixes a compatibility issue with git diffs.
* * *
2007-11-01 12:17:59 -07:00
Patrick Mezard
7df367eed1
test-execute-bit: skip if execute-bit is not supported
2007-10-27 20:23:46 +02:00
Bryan O'Sullivan
2e7ccc7ee4
See if execute bit is honoured when we go back in time
2007-10-26 16:43:13 -07:00
Benoit Boissinot
37290329f4
fix typo in convert help text, update test
2007-11-05 20:15:33 +01:00
Maxim Dounin
8561d688a1
Fix file-changed-to-dir and dir-to-file commits (issue660).
...
Allow adding to dirstate files that clash with previously existing
but marked for removal. Protect from reintroducing clashes by revert.
This change doesn't address related issues with update. Current
workaround is to do "clean" update by manually removing conflicting
files/dirs from working directory.
2007-11-05 20:05:44 +03:00
Bryan O'Sullivan
209f13bbaf
See if execute bit is honoured when we go back in time
2007-10-26 16:43:13 -07:00
Jim Hague
4446a9901a
tests: make test-mq-guards work with ksh
2007-10-19 19:20:33 +00:00
Matt Mackall
c9db98f2e6
tests: tidy up reporting of skipped tests
...
if not verbose:
- print 's' rather than '.'
- pass skipped test reports back to parent for -j
- report which tests were skipped at the end
- print '.' after test completion
2007-10-19 12:53:43 -05:00
Kirill Smelkov
c46ae95f3f
convert: svn -- fix tags handling
...
They were simply not detected.
2007-10-13 15:25:11 +04:00
Bryan O'Sullivan
4b4ad223ef
test-convert-darcs: don't let $HOME/.darcs pollute the test environment
2007-10-10 15:48:08 -07:00
Bryan O'Sullivan
0ec99ed035
convert: refactor sink initialisation, to remove hardcoding of hg
...
We also introduce options to explicitly set the source and destination
repository types.
Improve testing of corner cases a little.
2007-10-10 15:42:00 -07:00
Patrick Mezard
59a5193f63
patch: fix git sendmail handling without proper mail headers
2007-10-08 22:20:23 +02:00
Patrick Mezard
91790f92bf
Test darcs converter
2007-10-07 19:03:32 +02:00
Patrick Mezard
07f69a32a2
hghave: detect darcs client
2007-10-07 18:58:44 +02:00
Patrick Mezard
dc56a66c81
hghave: reorder check functions and entries
2007-10-07 18:58:36 +02:00
Patrick Mezard
be799c79c6
Test workingctx exec/link bit for copies.
...
Also, make the test runnable on platforms without symlinks.
2007-10-07 15:13:50 +02:00
Patrick Mezard
2eb7f085fc
test-manifest: test symlink and exec bit display
2007-10-06 22:30:24 +02:00
Patrick Mezard
c9215420e8
Display symlink or executable bit with manifest -v
...
New output looks like:
644 a
755 * b/a
644 @ l
2007-10-06 22:30:22 +02:00