Commit Graph

2274 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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