Benoit Boissinot
6712106532
add missing +x flag to test-inotify-issue1542
2009-03-28 19:50:37 +01: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
John Coomes
664dabc0ed
tests: strip o/s-dependent error messages from some http tests
2009-02-27 17:28:26 -08:00
Nicolas Dumazet
ddda9ba6fe
Fixing issue1542, adding a relevant test
...
inotify is smart enough to notify you about any changes in a
directory, even if you only watch the directory, and none if its
contents: the recursive add_watch I added was unnecessary.
The only thing that matters here is the recursive status update on
directory deletion.
And scan() has to be called _before_ the deferred call is registered.
(race condition: depending on the times, the previous patch could
apparently fail on the provided test. It's not the case anymore.)
2009-03-26 19:01:06 +09:00
Matt Mackall
b6fd334dd0
Merge with -stable
2009-03-24 16:41:41 -05:00
madhu@madhu
d6166450e5
Returns lines changed for paths specified as arguments correctly.
...
This fixes issue 1569. hg churn <path> now returns only the number
of lines changed in the path, if the path is specified by filtering
files through a match filter at the changeset level. test-churn
has been updated to take care of this issue.
2009-03-25 01:49:03 +05:30
Matt Mackall
1fca17b321
Fix new CVS test output
2009-03-20 18:49:44 -05:00
Greg Ward
c9426abe07
cvsps: recognize and eliminate CVS' synthetic "file added" revisions.
2009-03-18 09:15:38 -04:00
Dirkjan Ochtman
33d6485beb
add debugcommands command: an easy to parse command + option index
2009-03-23 13:43:48 +01:00
Alexander Solovyov
475ce753d3
templater: ability to display diffstat for log-like commands
2009-03-23 10:41:42 +01:00
Matt Mackall
68f6893175
Merge with -stable
2009-03-20 18:55:20 -05:00
Lee Cantey
1f2673b393
Fix for merge changes introduced in rev 397091458855
2009-03-19 10:25:13 -07:00
Matt Mackall
4cd17487f7
Merge with stable
2009-03-17 13:46:53 -05:00
Benjamin Pollack
022828a7a5
regression test for issue1552
...
Ensures that fetch correctly infers what to merge when pulling a
repository with inactive branches.
2009-03-17 11:34:40 -04:00
Matt Mackall
7d51e0b1f6
bundlerepo: reintroduce dirstate
2009-03-17 13:43:11 -05:00
Matt Mackall
e31a8bb788
atom: fix URLs used in entry GUIDs
2009-03-16 17:21:06 -05:00
Matt Mackall
891ec3832e
resolve: keep .orig files
2009-03-16 16:58:41 -05:00
Mads Kiilerich
21fd26f154
test-merge-tools: test ui.merge functionality and selection of internal tools
2009-03-09 18:44:44 +01:00
Matt Mackall
56a3a8557f
Merge with crew-stable
2009-03-09 11:41:38 -05:00
Benoit Boissinot
c34938cba1
verify: find correct first corrupted cset for missing/corrupted revlogs
2009-03-07 20:16:03 +01:00
Mads Kiilerich
240dc61d24
test-identify: require no-outer-repo
...
The test expects "There is no Mercurial repository here (.hg not found)"
2009-03-05 14:53:59 +01:00
Frank Kingswood
a2f1d401c2
convert: Perforce source for conversion to Mercurial
2009-03-03 21:32:23 +00:00
Matt Mackall
f91e781c87
remove tests for long-gone imerge extension
2009-03-04 18:42:24 -06:00
Augie Fackler
bf90b0cbb4
merge: better error messages to lead users to hg update --clean to abandon merges.
...
Fixes issue1533.
2009-03-04 13:06:16 -06:00
Matt Mackall
5871cdf2c8
audit: be even pickier (issue1450)
2009-03-04 17:02:16 -06:00
Alex Unden
eb753f04dc
bookmarks: fixes bug where a deleted bookmark may still be treated as current when track.current option is set
2009-02-27 02:01:45 -08:00
David Soria Parra
f6ec2e9b01
bookmarks: Set current bookmark if we create a new one on the tip
...
If track.current is enabled we set the newly created bookmark as the
current tracked bookmark. We do not do this if a revision is specified.
2009-03-01 00:30:01 +01:00
Matt Mackall
6ed04dc163
convert: change hg.saverev default to False
...
This needlessly breaks changeset identifiers for the common case (cleaning
history), which is sad.
2009-03-02 19:19:12 -06:00
Matt Mackall
104cda5c20
tag: force load of tag cache
2009-03-02 19:19:09 -06:00
Mads Kiilerich
2694fdc1a4
run-tests.py: avoid using popen2.Popen4 - use subprocess instead
...
Use subprocess to emulate Popen4 if available - similar to how it is done in
util.py.
Using popen2 under python 2.6 gives
DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
2009-02-27 19:10:38 +01:00
Mads Kiilerich
9686279212
test-convert-cvs*: mute output from "cvs up"
...
Apparently some versions of cvs outputs more than other versions. That is
however not relevant for these tests.
2009-02-27 17:52:31 +01:00
timeless
26d95caa99
help: miscellaneous language fixes
2009-02-28 12:38:45 +01:00
Frank Wierzbicki
975c4301af
tests: use same popen strategy for jython as for nt
2009-02-18 13:19:30 +01:00
Matt Mackall
cb4d50ff04
Introduce HG_PREPEND to solve pretxn races
...
- add writepending to flush delayed writes to separate file
- add support in hooks for lazy evaluation of callable parameters
- add HG_PENDING to pretxn hooks
- call writepending if hook is used
- pass repo root to hook environment
- if HG_PENDING = repo root, we're in pretxn hook
- read pending data to make pending changesets visible
- filter HG_PENDING in tests/printenv.py
2009-02-16 19:35:07 -06:00
Stefano Tortarolo
ae208b3a98
rebase: pull --rebase updates if there is nothing to rebase
2009-01-18 19:59:51 +01:00
Mads Kiilerich
d6ab2f95b5
test-merge-tool: Make sure no hgmerge can be found in $PATH
...
The merge tool selecting algorithm is hardcoded to look for hgmerge in $PATH
before it falls back to use internal merge. This fixes the test for this
fallback to be tolerant to existing hgmerges.
2009-02-10 22:47:38 +01:00
Matt Mackall
2e1730294c
patch: teach selectfile about symlinks (issue1438)
2009-02-16 17:37:23 -06:00
Matt Mackall
1a2d87e4e1
mq: handle empty patches more gracefully (issue1501)
2009-02-16 17:37:23 -06:00
Simon Heimberg
23251d5bdf
test suite: saver check if bzr is installed
...
Test if bzrlib.__doc__ is not empty. Ignores an empty lib.
2009-02-08 13:46:04 +01:00
Augie Fackler
7131a2f8b7
fancyopts: Parse options that occur after arguments.
...
This changes the behavior of qguard in the case of setting negative guards, as -- will now always be required.
Fixes issue1402.
Doc fixes for mq by mpm.
2009-02-10 13:26:00 -06:00
Augie Fackler
0dd0e4f46d
tests: Add a test for the behavior of 'hg export -- -2'
2009-02-10 16:31:52 -06:00
Mads Kiilerich
9b111ad022
test-merge-tools: Don't use tac
...
"tac" was a bad tool - is not available on all platforms.
The test now only uses the "tools" true, false, head, echo, cat and /bin/cat
2009-02-10 16:11:48 +01:00
Matt Mackall
d7c2a2e49b
merge: mark kept local files as readded on linear update (issue539)
2009-02-15 10:50:48 -06:00
Jim Correia
78e5b53d7d
add --git option to commands supporting --patch (log, incoming, history, tip)
...
No short -g form, since it would conflict with -g from the graphlog extension.
2009-02-14 22:40:39 +01:00
Dirkjan Ochtman
29fd92e139
tests: fix for test-identify returning 255
2009-02-13 13:52:34 +01:00
Gilles Moris
60d2f6f240
extdiff: add --change option to display single changeset diff
...
This is the counterpart for extdiff of 44ccab2b73f0.
2009-02-07 19:41:05 +01:00
Dirkjan Ochtman
73563fa8ff
identify: have consistent output for local repositories
...
Also, add some extensive testing for it (hardly any in the suite so far).
2009-02-13 11:32:33 +01:00
Martin Geisler
8d98ac17bc
reset mergestate after commit
2008-12-25 10:42:01 +01:00
Mads Kiilerich
d775f5aa2a
Make util.find_exe alway returns existing file, fixing issue1459
...
It seems like the old behaviour with different handling for commands with and
without path was intended, but I think this behaviour of util.find_exe is
better:
* Always returns existing file
* or None if command not found - no default
* Windows: Returned file thus always ends with extension from PATHEXT
This fixes http://www.selenic.com/mercurial/bts/issue1459 . The change might
fix other unintended behaviour too.
2009-01-25 21:20:13 +01:00
Mads Kiilerich
ec83cadc8e
test-merge-tools
...
Some tests of merge-tools configuration and selection, mostly excercising
filemerge.py
2009-01-25 21:20:11 +01:00