Commit Graph

12 Commits

Author SHA1 Message Date
Patrick Mezard
4070a4e9d2 convert/subversion: fix default URL checker prototype 2010-04-12 21:19:53 +02:00
Mads Kiilerich
6d35022505 Tests with spaces in paths
This allows most tests to succeed with
./run-tests.py --tmpdir='/tmp/hg  test'
and introduces other tests for spaces and shell quoting
2010-03-24 01:43:24 +01:00
Adrian Buehlmann
48a03e4f27 store: only add new entries to the fncache file
Newly added fncache entries were not added to the in-memory cache,
making it possible for 'hg convert' to cause duplicates in
.hg/store/fncache.

Duplicates in the fncache file are harmless, but excessive numbers
of duplicates from large converted repositories may slow down
execution speed considerably.
2010-03-03 14:50:35 +01:00
Patrick Mezard
0e4df85691 convert: better error on invalid repository type 2009-11-30 22:23:04 +01:00
Greg Ward
3dc47b69c7 run-tests: redefine --with-hg so it takes the 'hg' script to run.
- in parseargs(), check that --with-hg value is valid
- add handy --local option for "--with-hg=../hg"
- ensure that we always set PATH and PYTHONPATH (not just
  when doing a temporary install)
- override any existing PYTHONPATH, so test success does not
  depend on whatever happens to be in the caller's environment
- give tests a little more control by exporting $PYTHON to the
  environment; needed by test-convert and test-mergetool when
  they run hg with a stripped-down $PATH

Also, add a big comment explaining all the corner cases to test for the
next person who tries to modify this script.
2009-05-31 15:20:31 -04:00
Mads Kiilerich
36ec467f85 convert: missing p4 tool is only slightly fatal
checktool with default abort=True caused convert to fail too early.
2009-03-27 13:39:18 +01:00
Patrick Mezard
4200777a7b test-convert: test before() and after() conversion actions 2008-01-04 23:43:55 +01: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
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
Thomas Arendsen Hein
c5409343d1 test-convert: Hide warning about missing subversion bindings. 2007-07-29 19:32:55 +02:00
Bryan O'Sullivan
8cd3c03796 convert: make test-convert executable 2007-07-26 14:08:39 -07:00
Bryan O'Sullivan
0242a99204 convert: add test 2007-07-26 13:34:36 -07:00