Jeremy Whitlock
c090150d2d
hgweb: make hgwebdir handle dict/list paths the same as config paths
...
Before this patch, the only way to get hgwebdir to honor the recursive paths
was to create a config object or a config file with the recursive paths in it.
This patch makes hgwebdir treat paths the same whether passed in as a list,
tuple, config or however hgwebdir supports passing paths.
2009-05-20 16:04:37 +02:00
Martin Geisler
92a59fc839
tests: replace #...# syntax with {...}
2009-05-19 23:02:17 +02:00
Dirkjan Ochtman
d99b64b14b
patchbomb: don't localize Date headers
2009-05-19 15:10:45 +02:00
Benoit Boissinot
aa464dbde5
alias: e916ee90bfbd did not correctly handle whitespace in the args
2009-05-19 14:14:07 +02:00
Benoit Boissinot
fc43ae9519
update --clean: do not unlink added files (issue575)
2009-05-19 03:59:58 +02:00
Cédric Duval
781163e886
patchbomb: with --in-reply-to, still thread message under first in series
...
When specifying --in-reply-to for a message M, have
[M]
[0/2]
[1/2]
[2/2]
instead of
[M]
[0/2]
[1/2]
[2/2]
which is more consistent with the way messages are being threaded
when --in-reply-to is not used.
2009-05-19 01:37:38 +02:00
Martin Geisler
5571c196f3
merge with mpm
2009-05-19 01:17:54 +02:00
Matt Mackall
16d4ef56bc
commit: explain how to abort commit in editor
2009-05-18 17:36:24 -05:00
Matt Mackall
89cb6de980
commit: move editor outside transaction
...
The commit editor is now invoked before files and manifest are
committed. The editor is now run with only the wlock held and aborting
an edit no longer requires rolling back a transaction. Changes to
files during a commit still result in undefined behavior.
(This is preliminary work for committing subrepositories)
2009-05-18 17:36:24 -05:00
Martin Geisler
ecadaada56
spartan: ensure equal heights for file and annotate views
...
The display used to jump up and down when switching from the file view
to the annotate view. It now stays still: when switching from the file
view to the annotate view it looks like the file content is simply
right-shifted to make room for the author names.
2009-05-19 00:28:47 +02:00
Martin Geisler
301bf629e6
spartan: simplify CSS colors (#xxxxxx -> #xxx)
2009-05-18 23:35:27 +02:00
Martin Geisler
12caf17e05
coal/paper/spartan: remove extra line break in annotate view
2009-05-18 23:27:51 +02:00
Benoit Boissinot
6743bf50c5
merge with crew
2009-05-17 23:07:23 +02:00
Martin Geisler
3952bb3de2
coal, paper: add newlines when displaying a file in hgweb
...
The newlines make the HTML somewhat readable and gives much smaller,
readable diffs when the tests change.
2009-05-17 22:51:50 +02:00
Benoit Boissinot
bee6cb3d55
addremove/findrenames: find renames according to the match object (issue1527)
...
Instead of only finding similarities in the added/removed files found
by the addremove step, follow the match object:
hg addremove -s80 foo -> add and removes files in foo
+ find similarities between files in foo
hg addremove -s80 -> add and removes files in the whole repo
+ find similarities between files in the whole repo
hg import --similarity will still work correctly (only find similarities
between files found in the patch).
2009-05-17 22:51:17 +02:00
Martin Geisler
f51ce71d96
test-highlight: decouple test from get-with-headers.py
...
The test copied get-with-headers.py from $TESTDIR and committed it to
a test repository. The test output therefore depended unnecessarily on
the exact content of get-with-headers.py. It has now been replaced
with another small Python script.
2009-05-17 21:47:24 +02:00
Patrick Mezard
e76a7010bb
Merge with crew-stable
2009-05-17 20:00:11 +02:00
Patrick Mezard
3e92f126a2
Add tests for qfold
2009-05-17 19:54:26 +02:00
Benoit Boissinot
44f0b80109
alias: honor the [defaults] section, fix issue1642
2009-05-17 16:15:37 +02:00
Patrick Mezard
e391da8024
convert/bzr: warn when source is a lightweight checkout (issue1647)
2009-05-17 14:35:06 +02:00
Martin Geisler
9b272e271a
tests: add missing interpreter lines
2009-05-17 02:15:21 +02:00
Martin Geisler
c40b8bf294
cvsnt-mergepoints test: use sh instead of bash
2009-05-17 02:10:09 +02:00
Martin Geisler
aedc0ac57f
tests: removed unnecessary execute bit on Python tests
2009-05-17 01:42:21 +02:00
Martin Geisler
a645da9ed1
tests: renamed Python tests to .py
2009-05-17 01:39:31 +02:00
Martin Geisler
5930e2185d
tests: renamed helper to avoid clash with stdlib repr module
2009-05-17 02:31:12 +02:00
Martin Geisler
9aedf5dabd
tests: fix doc string in get-with-headers.py
2009-05-17 01:24:45 +02:00
Marti Raudsepp
1d10c4d979
tests: use repr.py to avoid binary characters in test output
2009-05-17 01:16:56 +02:00
Martin Geisler
4bdb838b6b
tests: new helper for tests with binary output
2009-05-17 01:10:35 +02:00
Martin Geisler
fc8a97dac3
changelog: refuse to add revisions with empty usernames
...
An empty username or a username with a "\n" will make the revision
text contain two "\n\n" sequences -> corrupt repository.
The problem is that changelog.read expects to find exactly one "\n\n"
separator and thus cannot unpack the revision.
2009-05-16 11:12:49 +02:00
Patrick Mezard
d3d9100f4a
convert/bzr: fix symlinks target (issue1626/2)
2009-05-15 16:12:09 +02:00
Martin Geisler
f138e91851
merge with crew-stable
2009-05-16 11:16:23 +02:00
Patrick Mezard
8a575f0b78
Merge with crew-stable
2009-05-15 16:17:56 +02:00
Dirkjan Ochtman
1e9b20dc8f
mq: qpush shouldn't complain if working dir is at a non-tip head
2009-05-15 15:21:17 +02:00
Brett Carter
d69cd3912f
clone: try updating to the actual changeset specified in options
...
When cloning with the -r option or # url format from a tag the destination
repo most likely won't have the tag. We can save the lookup result to get to
the correct parent anyway. Similar to issue1306, but for tags.
2009-05-14 22:00:56 +02:00
Matt Mackall
fa65ae0679
remove deprecated rawcommit
2009-05-14 13:20:40 -05:00
Peter Arrenbrecht
35e8011b63
verify: detect manifest revs not in any changeset
2009-05-14 16:22:49 +02:00
Martin Geisler
2dec1cac72
test-debugcomplete: add --show merge option to output
2009-05-14 17:28:26 +02:00
Dirkjan Ochtman
2f19dcd8ee
merge: add -S/--show option to review revisions without merging
2009-05-14 16:03:17 +02:00
Martin Geisler
a231ff4f38
highlight: updated changed test output
...
It was changed in 00697060e4d8, but I forgot to update it.
2009-05-14 13:21:47 +02:00
Michael J. Pedersen
5874aad1d7
convert: adding branchmap functionality to convert extension
2009-05-13 15:03:31 -04:00
Martin Geisler
e03fc942e6
spartan: break long lines in map file
2009-05-13 22:42:40 +02:00
Martin Geisler
80ce65be72
gitweb: break long lines in map file
2009-05-13 22:41:58 +02:00
Martin Geisler
264d2453c3
paper: break long lines in map file
2009-05-13 22:40:49 +02:00
Rocco Rutte
a7d36bb777
coal/paper: Wrap diff in <pre/>
...
In text-mode browsers the diff is otherwise rendered
as just one long line per file. Other styles do the same.
2009-05-13 16:31:19 +02:00
Dirkjan Ochtman
9b104a6a4a
mq: add -P/--push option to qimport
2009-05-12 11:15:54 +02:00
Dirkjan Ochtman
6f7f8e3dec
templater: make the templating engine pluggable to some extent
2009-05-12 12:05:19 +02:00
Dirkjan Ochtman
ffa181f4fd
tests: add test for branches webcommand
2009-05-12 11:05:13 +02:00
Sune Foldager
e88b228e4c
spartan: add branches page
2009-05-12 11:58:39 +02:00
Sune Foldager
ffb22da91d
paper/coal: add branches page
2009-05-12 12:00:54 +02:00
Rocco Rutte
4ed7542551
test-patchbomb: fix style
...
Specifying revisions without -r is deprecated, break long lines.
2009-05-12 11:27:26 +02:00
Martin Geisler
aa4858058d
tests: avoid export FOO=bar bashism
2009-05-11 23:42:03 +02:00
Martin Geisler
ccf16e42d8
record: better formatting for qrecord help
2009-05-10 01:18:38 +02:00
Alexander Solovyov
d57b80d44e
add verbose output to compact template style
2009-05-11 13:03:34 +03:00
Sune Foldager
4a665141b4
allow http authentication information to be specified in the configuration
2009-05-04 20:26:27 +02:00
Rocco Rutte
00891e0e67
patchbomb: quoted-printable encode overly long lines
...
RfC2822 mandates a line length limit of 998 byte + CRLF.
Python mail tools break lines at 990 byte. To prevent
that, we quoted-printable encode overly long lines.
2009-05-08 18:30:44 +02:00
Mads Kiilerich
61b324eeb6
test-glog: Remove sed hack - '...$HGTMP...' isn't expanded anyway
2009-05-02 12:57:20 +02:00
Mads Kiilerich
9a2371955d
test-convert-baz: hide GNU tar deprecation warning
2009-05-02 12:13:24 +02:00
Patrick Mezard
832313e290
rebase: fix bug where --keepbranches could leave wrong branch in dirstate
...
Report and original fix by Augie Fackler <durin42@gmail.com>
2009-05-01 12:26:37 +02:00
Patrick Mezard
bd41c37f9b
convert/svn: keep latest and not oldest tag value
2009-04-29 21:44:25 +02:00
Martijn Pieters
0a6e43e789
Fix typeerror when specifying both --rebase and --pull
2009-04-29 11:39:49 +02:00
Matt Mackall
ee9ffff851
Merge with crew-stable
2009-04-26 16:49:47 -05:00
Patrick Mezard
ccca7abe8e
convert/bzr: make it work with filemaps (issue1631)
...
The bzr converter maintains a child -> parents mapping and drop entries
whenever a child is read. It does not work with filemaps, getchangedfiles() may
be called more than once when filtered files belong to merge revisions.
getchanges() still works that way but it is not clear whether a similar issue
can arise when interacting with merges.
2009-04-26 11:35:53 +02:00
Patrick Mezard
62eea60737
convert/bzr: fix symlink handling (issue1626)
2009-04-24 10:34:11 +02:00
Matt Mackall
5c870ca09d
Merge with crew-stable
2009-04-23 15:25:27 -05:00
Patrick Mezard
75233223fe
convert/bzr: handle files replaced by directories (issue1623)
2009-04-23 15:07:05 +02:00
Patrick Mezard
f7e8a4c038
convert/mtn: handle directory move into moved directory (issue1619/3)
2009-04-22 10:25:05 +02:00
Patrick Mezard
6bbead8918
convert/mtn: handle files moved in a moved directory (issue1619/2)
2009-04-21 22:31:16 +02:00
Matt Mackall
e612ed45dd
Merge with crew-stable
2009-04-21 12:53:06 -05:00
Patrick Mezard
551e0cf361
convert/mtn: handle new files in moved directories (issue1619)
...
Reported and investigated by Paul Aurich <paul@darkrain42.org>
2009-04-21 14:17:29 +02:00
Matt Mackall
56cd5d40bb
Merge with crew-stable
2009-04-17 11:16:50 -05:00
Patrick Mezard
0d13db37f7
extdiff: preserve execute-bit across copies (issue1562)
...
Bug report and test by Mads Kiilerich <mads@kiilerich.com>
2009-04-09 14:32:44 +02:00
Patrick Mezard
b3f0d7b5b8
convert/p4: win32 fixes
...
* cmd.exe does not know single quotes
* win32 does not like trailing whitespace very much. Trade test coverage for
maintenance time and drop the trailing whitespaces tests.
2009-04-13 16:15:45 +02:00
Patrick Mezard
3ca6ee213a
test-issue1438: make executable
2009-04-13 21:18:53 +02:00
Patrick Mezard
0dbcb77e35
convert/mtn: record changes from directory renames (issue1587)
...
Bug report and initial path by Pavel Volkovitskiy <int@mtx.ru>
2009-04-11 23:12:42 +02:00
Augie Fackler
00f768d1f1
test-convert-svn-sink: rewrite output for svn compatibility
...
Addition by Patrick Mezard <pmezard@gmail.com>:
* drop 'kind=' lines from svn 1.6 output
2009-04-04 20:39:46 -05:00
Patrick Mezard
2ae17cf19b
convert/bzr: fix file rename replaced by a dir case (issue1583)
...
We were not checking entry types, and getting file content was working with
directories instead of raising IOError.
2009-04-11 20:18:51 +02:00
Patrick Mezard
1e07615a4a
test-convert-bzr: check renamed files are removed (issue1505)
2009-04-08 23:17:33 +02:00
Benoit Boissinot
e5ea532970
raise RevlogError when parser can't parse the revlog index
...
Initial patch and test thanks to Nicolas Dumazet.
2009-04-06 19:48:11 +02:00
Dmitriy Kostunin
913ecbba5c
inotify: adding test for issue1556
2009-03-31 00:04:07 +09:00
Greg Ward
47d2411255
issue1577: fix broken test by assuming less about CVS output.
...
Specifically, output of "cvs ci" varies unpredictably across CVS versions,
so any test that includes the output of "cvs ci" is doomed to fail
some of the time. This fixes that by discarding the output of "cvs ci".
2009-03-28 12:24:53 -04:00
Sverre Rabbelier
1c34b4064b
commit: be more verbose in the -u help text
...
Make the requirement of an argument for -u a little more explicit.
2009-05-08 16:30:51 +02:00
Greg Ward
5485b0d573
test-convert-bzr: tweak sed hack to preserve timezone in 'bzr log' output
2009-05-07 21:35:12 -04:00
Martin Geisler
c6d62b90de
test-convert-bzr: use sed instead of awk
...
The run-tests.py script has a list of required tools and awk is not
one of them -- luckily it could be replaced by sed in this case.
2009-05-07 19:02:39 +02:00
Greg Ward
ccfd8df373
convert/bzr: handle Bazaar timestamps correctly (issue1652).
2009-05-06 17:48:03 -04:00
Martin Geisler
6533e94352
util: remove md5
...
This hash function is broken and should not be used by new code. It is
currently only used by keepalive.
2009-05-04 21:30:39 +02:00
Henrik Stuart
d0b7d204d4
transaction: refactor transaction.abort and rollback to use the same code
...
This adds a change to the way that abort is processed, as it will not continue
truncating files beyond the first failure, otherwise the respective
functionality is maintained, i.e. abort will not unlink files, but rollback
will.
Co-contributor: Sune Foldager <cryo@cyanite.org>
2009-05-04 15:31:57 +02:00
Henrik Stuart
b0183e01a2
test: change repair strip test to illustrate manifest errors
2009-05-04 13:47:12 +02:00
Benoit Boissinot
fdd0aa0449
verify: reference the correct linkrev when a filelog is missing
...
when a filelog is missing, the first bad revision is the first revision
where the filelog is referenced, not 0.
2009-05-04 19:51:08 +02:00
Patrick Mezard
8636bd4633
Merge with crew-stable
2009-05-03 13:49:04 +02:00
Martin Geisler
11190d5aaa
util: always use subprocess
2009-05-02 23:05:35 +02:00
Richard Quirk
1652c239fa
Add committer tag only when needed in git conversion
...
Convert from a git repo added a committer: tag in the log message
even if the committer and the author were the same person.
2009-05-01 11:32:19 +02:00
Patrick Mezard
c620d68ecc
Merge with crew-stable
2009-05-01 12:35:13 +02:00
Bryan O'Sullivan
092a707d59
run-tests.py: ensure that hgpkg is always visible
2009-04-24 14:40:56 -07:00
Martin Geisler
9302c79c56
churn: use .hgchurn in repo root as default map file
2009-04-29 20:03:54 +02:00
Greg Ward
8e956c0016
Reproduce crash where synthetic revs break merge detection (issue1578).
...
(The fix for this was committed as ca297bc0642d.)
Slightly edited by Patrick Mezard <pmezard@gmail.com>
2009-04-18 13:29:48 -04:00
Patrick Mezard
a623c855d8
Merge with crew-stable
2009-04-29 21:48:15 +02:00
Martijn Pieters
be04752b60
Don't use sed -r; instead use old-style regexp
...
Rev 428419380b9f introduced some sed -r tests, but -r is only available on GNU
sed, while BSD sed uses -E. Better to use old-style regular expressions, that
way the tests work on all sed variants.
2009-04-28 17:17:54 +02:00
Martijn Pieters
03d5e1ec41
Fix typeerror when specifying both --rebase and --pull
2009-04-29 11:39:49 +02:00
Martin Geisler
eee44d410e
webcommands: move nonempty logic from JavaScript to Python
...
This avoids hard-coding the '(none)' string in the JavaScript for each
style and avoids the {nonexisting|nonempty} hack which only works
since the template system don't complain about undefined variables.
2009-04-28 17:28:00 +02:00
Rocco Rutte
0324c58f8b
hgweb: use "nonempty" filter in templates for the changelog message
...
At least subversion allows empty commit logs which, after conversion,
show up as empty fields in hgweb and don't allow selecting the
changeset. Using "nonempty" as filter, "(none)" is used to get
clickable links for empty commit messages.
2009-04-20 12:10:04 +02:00
Martin Geisler
750183bdad
updated license to be explicit about GPL version 2
2009-04-26 01:08:54 +02:00
Dirkjan Ochtman
80de6974e4
more whitespace cleanup and some other style nits
2009-04-27 12:37:19 +02:00
Dirkjan Ochtman
9acb549bd6
tests: add tests for styled hgwebdir pages
2009-04-27 11:35:18 +02:00
Patrick Mezard
a001fce5fc
hghave: handle Windows raising on popen() failure
2009-04-26 19:39:15 +02:00
Patrick Mezard
48f64be1f8
test-extdiff: replace shell script with python for portability
2009-04-26 19:26:22 +02:00
Patrick Mezard
caba144775
Declare bzr TERM=dumb to silence progress bars
...
In theory, one could set BZR_PROGRESS_BAR=none but it does not work in 1.14rc2
2009-04-26 18:36:36 +02:00
Matt Mackall
2f9b02c62d
replace util.sort with sorted built-in
...
This is marginally faster for small and moderately-sized lists
2009-04-26 16:50:44 -05:00
Matt Mackall
efc3ded95f
ui: report_untrusted fixes
...
- report_untrusted -> _reportuntrusted
- only report config shadows if enabled
- config shadows are debug messages
2009-04-26 16:50:44 -05:00
Matt Mackall
be7d59ab85
ui: kill most users of parentui name and arg, replace with .copy()
2009-04-26 16:50:43 -05:00
Matt Mackall
88b13fecec
ui: replace parentui mechanism with repo.baseui
2009-04-26 16:50:43 -05:00
Matt Mackall
68db339c4b
clone: config escaping no longer needed
2009-04-26 16:50:43 -05:00
Martijn Pieters
4abe231925
hg: allow hg.parseurl(url, None)
...
In many places hg.parseurl is called with a url and "opts.get('rev')",
suggesting the second, optional argument can be None. Because opts['rev']
usually defaults to [] this never happens in practice.
However, extensions don't necessarily behave the same, but do copy this
pattern.
Also, include wider hg.parseurl tests, beyond a demonstration of the problem.
2009-04-24 18:17:42 +02:00
Jacob Lee
9dd517638d
transplant: remove the restriction that the destination be nonempty.
...
Test fixed by Patrick Mezard <pmezard@gmail.com>
2009-04-24 17:00:18 -05:00
Greg Ward
c5b50c8953
cvsps: fix crash when log message refers to non-existent branch (issue1615).
2009-04-19 13:12:20 -04:00
Greg Ward
a7ab6b3c51
cvsps: add test for merge detection (issue1615).
...
Currently only testing convert.cvsps.mergefrom; this script should also
probably test convert.cvsps.mergeto.
2009-04-19 12:20:39 -04:00
Patrick Mezard
71875461a3
convert/cvs: add an option to disable remote log caching
...
Useful for debugging or testing when using --tmpdir.
2009-04-26 16:30:37 +02:00
Martin Geisler
d850e0459d
tests: removed redundant "-u test" from test scripts
...
The tests are executed with a .hgrc file which adds "-u test" by
default.
2009-04-26 14:49:49 +02:00
Martin Geisler
65537ad291
tests: removed redundant "-d '0 0'" from test scripts
...
The tests are executed with a .hgrc file which adds "-d '0 0'" by
default.
2009-04-26 14:29:02 +02:00
Patrick Mezard
eb5b6f47f6
Merge with crew-stable
2009-04-26 11:49:17 +02:00
Simon Heimberg
36693ceb6a
run-tests: cosmetics
2009-04-22 15:49:33 +02:00
Henrik Stuart
54d1e80807
patchbomb: add user agent header to mails
2009-04-23 08:39:27 +02:00
Martin Geisler
1deb417a82
util: use built-in set and frozenset
...
This drops Python 2.3 compatibility.
2009-04-22 00:55:32 +02:00
Patrick Mezard
db8b25f86d
Merge with crew-stable
2009-04-24 10:43:12 +02:00
Bryan O'Sullivan
39f59a8aee
win32text: be more careful about rejecting violating changesets
...
We now try to walk changesets in reverse order from newest to oldest,
so that if we see a file multiple times, we treat the newest version
as canonical.
This should prevent us from rejecting a changegroup that contains an
unacceptable commit followed later by a commit that fixes the problem.
2009-04-24 00:06:01 -07:00
Matt Mackall
3322f13534
test-archive: silence stupid messages from GNU tar
...
Recent versions of GNU tar have apparently decided they're old enough
that it's ok for them to prattle on senselessly about things no one
cares about without anyone objecting. We object; apply duct tape.
2009-04-23 15:40:10 -05:00
Matt Mackall
e8b3de6bf8
ui: introduce new config parser
2009-04-23 15:40:10 -05:00
Matt Mackall
371257fd73
ui: fold readsections into readconfig
...
readconfig now reads only single files
readconfig takes an optional list of sections
readconfig trusts files we're looking for sections in
2009-04-23 15:40:10 -05:00
Matt Mackall
c85f431ef9
ui: cleanup _is_trusted a bit
2009-04-23 15:40:10 -05:00
Matt Mackall
0174734c46
ui: kill updateopts
...
Move setconfig into dispatch._parseconfig
2009-04-23 15:40:10 -05:00
Matt Mackall
ebffe5ccb8
ui: refactor option setting
...
No more passing options as constructor keywords. Basic options are now
always stored in the overlay for simplicity and consistency.
2009-04-23 15:40:10 -05:00
Patrick Mezard
6205446ef7
Merge with crew-stable
2009-04-23 16:52:25 +02:00
Martin Geisler
80dd126e92
remove unnecessary outer parenthesis in if-statements
2009-04-22 01:39:47 +02:00
Simon Heimberg
e9ecbcc326
run-tests: fix error when timeout occurs
2009-04-22 09:11:46 +02:00
Benoit Boissinot
3da3b1d1e0
run-tests: fix -jN broken by eb47f6866e97
2009-04-22 01:53:15 +02:00
Patrick Mezard
33d1383a9e
Merge with crew-stable
2009-04-21 14:25:36 +02:00
Martin Geisler
f3f344d0c5
run-tests: removed some underscores (coding style)
2009-04-21 11:19:10 +02:00
Martin Geisler
6f1fe4b8fc
run-tests: upper-case global PYTHON variable
2009-04-21 10:53:42 +02:00
Greg Ward
7b736bed65
run-tests: reduce global variables set by parse_args().
2009-04-20 21:50:11 -04:00
Greg Ward
e0391753e2
run-tests: factor out main(); reduce use of globals a bit.
2009-04-20 21:42:20 -04:00
Greg Ward
2f2a34c5e7
run-tests: move bits of main program so it's all at the bottom.
2009-04-20 21:10:39 -04:00
Greg Ward
5de1444cff
run-tests: move _hgpath() up so it's not in the middle of the main program.
2009-04-20 21:07:05 -04:00
Greg Ward
0f9eca8100
run-tests: factor out parse_args(). Clarify use of globals a bit.
2009-04-20 21:04:24 -04:00
Greg Ward
c1e5c578c4
Add comment about this test failing under bzr 1.13 due to a bug in bzr.
2009-04-19 07:55:53 -04:00
Christian Ebert
510a4bc8a5
test-highlight: adapt output to latest pygments keeping backwards compatibility
2009-04-19 13:27:03 +01:00
Benoit Boissinot
4114ea7f05
merge with stable
2009-04-18 22:54:37 +02:00
Martin Geisler
52ce98c9a8
help texts: write command line switches as -a/--abc
2009-04-18 14:40:21 +02:00
Henrik Stuart
c1e6537e5f
strip: make repair.strip transactional to avoid repository corruption
...
Uses a transaction instance from the local repository to journal the
truncation of revlog files, such that if a strip only partially completes,
hg recover will be able to finish the truncate of all the files.
The potential unbundling of changes that have been backed up to be restored
later will, in case of an error, have to be unbundled manually. The
difference is that it will be possible to recover the repository state so
the unbundle can actually succeed.
2009-04-16 15:34:03 +02:00
Patrick Mezard
cd3505dbbc
Merge with crew-stable
2009-04-13 21:57:17 +02:00
Nicolas Dumazet
36eacb3699
run-tests: detect when hghave fails to check for a feature and fail test
...
hghave exitcode != 0 might mean that hghave failed to check for feature
avaibility. Detect those cases, and fail the test, instead of skipping it.
2009-04-08 02:38:23 +09:00
Nicolas Dumazet
f5d17ae79b
hghave: checking that all targets are Exception-free
2009-04-08 02:34:00 +09:00