Commit Graph

3935 Commits

Author SHA1 Message Date
Martin Geisler
e1be8b3f05 convert: show example splice, author, and branch map entries in help
Also document that

- empty lines are skipped and comment are supported in author map

- whitespace is not allowed in branch map entries since we split on it
  when parsing the file
2010-09-10 00:22:46 +02:00
Thomas Arendsen Hein
48cd219ead verify: fix "missing revlog!" errors for revlog format v0 and add test
With revlog format v0 the .d files are empty if the only revision stored is an
empty file. Since Mercurial can no longer create format v0 repositories, but
still use it, add a script which creates a repository with a single empty file.
This can be used in other tests if wanted.
2010-09-05 22:32:11 +02:00
Mads Kiilerich
953f8baea9 test-convert-cvs: add a sleep to make test more stable
The recent addition of fuzzy tests introduced a new cvs commit which sometimes
fails.

This adds a sleep to make sure that cvs notices that the file has changed,
similar to how it is done in other tests.
2010-09-02 22:38:12 +02:00
Brodie Rao
16ed03215d remove: properly set return code when warnings are issued
This removes the warn() function in favor of issuing warnings directly
for each kind of file that Mercurial won't remove.

This also uses three separate translatable strings instead of using
string formatting to build the message. This should make it easier to
localize.
2010-08-30 20:27:25 -04:00
Brodie Rao
5a1e1994ac help: refer to user configuration file more consistently
Currently, a number of commands and help topics mention the user hgrc
file in different ways. Among these are following:

1. .hgrc - "please specify your commit editor/username in your .hgrc
file", bookmarks, color, hgk, pager, hg help environment

2. $HOME/.hgrc - hg help paths, hgrc(5), hg(1)

3. ~/.hgrc - hgrc(5)

In addition to being inconsistent, none of these make sense on
Windows. This patch replaces the above with a more general term of
"[your] configuration file".
2010-08-27 22:36:35 -04:00
Martin Geisler
bab69a5062 churn: do not crash on malformed lines in alias file 2010-08-29 22:46:00 +02:00
Ronny Pfannschmidt
1a68305741 churn: do not crash on empty lines in alias file 2010-08-29 10:54:22 +02:00
Martin Geisler
5f46f16fb7 Lowercase error messages 2010-08-29 22:37:58 +02:00
Yuya Nishihara
f2b7b3bc23 hgweb: handle exception of misconfigured path on index page
If hgweb.config contains wrong path mapping, hgweb causes internal server
error on repository index page.

This patch changes makeindex() to ignore RepoError, because it looks to be
designed to suppress configuration error.
2010-08-24 23:30:51 +09:00
Dirkjan Ochtman
1fd26b1b44 tests: use a glob for all of the host, might not be localhost 2010-10-11 13:51:10 +02:00
Brodie Rao
78b26c82ec showconfig: don't accept multiple sections and one config item
Showconfig now behaves as documented and only accepts one section.name argument
or a number of section names.
2010-10-09 16:55:33 -05:00
Adrian Buehlmann
04f7530508 store: encode first period or space in filenames (issue1713)
- Mac OS X has problems with filenames starting with '._'
  (e.g. '.FOO' -> '._f_o_o' is now encoded as '~2e_f_o_o')

- Explorer of Windows Vista and Windows 7 strip leading spaces of
  path elements of filenames when copying trees

Above problems are avoided by encoding the first space (as '~20') or
period (as '~2e') of all path elements.

This introduces a new entry 'dotencode' in .hg/requires, that is,
a new repository filename layout (inside .hg/store).

Newly created repositories require 'dotencode' by default. Specifying

  [format]
  dotencode = False

in a config file will use the old format instead.

Prior Mercurial versions will abort with the message

   abort: requirement 'dotencode' not supported!

when trying to access a local repository that requires 'dotencode'.

New 'dotencode' repositories can be converted to the previous
repository format with

  hg --config format.dotencode=0 clone --pull repoA repoB
2010-10-09 21:54:50 +02:00
Christian Ebert
f2c0019bd0 keyword: fix weeding of expansion candidates when recording
Rearrange tests to check this, i.e. that there are changes
in other files, not only the recorded one.
2010-10-10 00:30:09 +01:00
Dan Villiom Podlaski Christiansen
cff327a7f7 copies: don't detect copies as "divergent renames"
(For the purposes of this patch copy is defined as a rename where the
source continues to exist.)
2010-10-10 09:48:37 -05:00
Augie Fackler
35723d1610 strip: add --keep flag to avoid modifying wc during strip
Fixes issue1564.
2010-10-09 11:02:11 -05:00
Brodie Rao
2187fcb2bb update: use higher level wording for "crosses branches" error
When using "hg update" to update to a revision on another branch, if
the user has uncommitted changes in the working directory, hg aborts
with the following message:

  abort: crosses branches (use 'hg merge' to merge or use 'hg update
  -C' to discard changes)

If the user isn't trying to update to tip and they follow the command
examples verbatim, they would end up updating to the wrong revision.

This patch removes the command examples in favor of just telling the
user to either merge or use --clean:

  abort: crosses branches (merge branches or use --clean to discard
  changes)

hg also aborts if the user tries to use "hg update" to get to tip
(without specifying a revision) and tip is on another branch:

  abort: crosses branches (use 'hg merge' or use 'hg update -c')

This message is changed in the same fashion:

  abort: crosses branches (merge branches or use --check to force
  update)
2010-10-09 17:02:28 -05:00
Augie Fackler
954949fd67 hgweb: add help link to templates missed in 333983876439 2010-10-09 17:58:48 -05:00
Dan Villiom Podlaski Christiansen
9bcf59232d test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Use a glob instead of expecting $TESTTMP.
2010-10-09 17:58:54 -05:00
Benoit Boissinot
12abbf921a run-tests.py: remove support for .bat files 2010-10-09 16:27:10 -05:00
Benoit Boissinot
941986da07 run-tests.py: do not install hg when the tests do no exist 2010-10-09 16:25:28 -05:00
Patrick Mezard
01e8f53ff7 patch: fails immediately upon malformed hunk
patch(1) does silently ignore malformed hunks but this is not something we want
to copy.
2010-10-09 15:13:08 -05:00
Mads Kiilerich
2b0208a1d1 test-subrepo-svn.t: ignore that subversion %-encodes $TESTTMP
Use a glob instead of expecting $TESTTMP.
2010-10-09 15:06:22 -05:00
Augie Fackler
1978da6b24 web: add a help view for getting hg help output 2010-10-09 12:27:14 -05:00
Matt Mackall
bc4d4ff1d1 merge: handle no file parent in backwards merge (issue2364) 2010-10-09 14:50:20 -05:00
Benoit Boissinot
e5538ef2cc ui.paths: expand paths directly in fixconfig (issue2373)
var and home expansion should be done first.
2010-10-09 12:28:16 -05:00
Dan Villiom Podlaski Christiansen
cf9291fa61 mq: silence spurious output.
When using a versioned patch repository, you would get a spurious
warning when deleting and adding the same patch.

Before:

  $ hg qdelete --keep 3.diff
  $ hg qimport --existing 3.diff
  adding 3.diff to series file
  3.diff already tracked!

After:

  $ hg qdelete --keep 3.diff
  $ hg qimport --existing 3.diff
  adding 3.diff to series file
2010-10-09 11:53:48 -05:00
Adrian Buehlmann
9614229975 tests: add testcase for 2933824cb30c to test-alias.t
The testsuite lacks a testcase for the bug introduced in 2933824cb30c.

This patch amends 91db5130b446 (which fixed 2933824cb30c) by adding a
testcase for that bug.

With 2933824cb30c, test-alias.t (as modified by this patch) fails
with "hg tglog: invalid arguments".
2010-10-09 11:16:35 +02:00
Dan Villiom Podlaski Christiansen
f7370d289b mq: handle deleting the same patch twice in one command (issue2427) 2010-10-09 10:36:50 -05:00
Nicolas Dumazet
afb08fe68c inotify: raise correct error if server is already started in a deep repository
When path is too long to be an Unix socket address, we create a socket in a
temporary directory and link from the long path to the shorter one.
But checks in server code at startup were insufficient in this case, and used
to raise an unclear "tried linking .hg/inotify.sock to a temporary socket but
.hg/inotify.sock already exists"
2010-10-09 15:41:53 +02:00
Mads Kiilerich
8f4e4aa85d test-keyword: ignore subject in notify hook mails
Long tmpdir names caused truncation of subject anyway, and that made $TESTTMP
replacement fail.
2010-10-09 07:13:51 -05:00
Mads Kiilerich
89639fca69 test-keyword: fix test glob to ACL/SELinux flag 2010-10-09 07:13:49 -05:00
Mads Kiilerich
4a56baa937 test-notify: fix fix for line continuation in long mail header lines
Continued lines can also start with space.

Note that this hack also incorrectly patches the diff output.
2010-10-09 07:13:47 -05:00
Mads Kiilerich
227683e7b5 import: don't strip '#' lines from patch descriptions (issue 2417)
Previously no '# ' lines came through the parser.

Now only the first '# ' lines are processed, from '# HG changeset patch' and to
the first line not starting with '# '.
2010-10-08 23:39:44 -05:00
Mads Kiilerich
791b05b162 test-notify: stabilize output
test-notify is made a bit more stable by stripping "all" folders away instead
of just 3.
2010-10-08 22:36:11 -05:00
Mads Kiilerich
e490eeec3f tests: reintroduce ":$HGPORT" in test output
This reduces the number of patterns that must be adjusted when writing tests.
2010-10-08 22:36:11 -05:00
Mads Kiilerich
a8aa4fec4a tests: remove the last traces of $HGTMP
$HGTMP isn't needed - and if we need something like that then $TESTTMP is more
appropriate.
2010-10-08 22:36:11 -05:00
Mads Kiilerich
b226586b49 tests: remove filtertmp.py and helpers.sh
These nice starts ended up being replaced with globs.
2010-10-08 22:36:10 -05:00
Mads Kiilerich
3174ff376b tests: remove redundant globs
Many globs now just match $TESTTMP and is no longer needed.
2010-10-08 22:36:10 -05:00
Mads Kiilerich
a6c2677112 tests: replace test tmp directory with $TESTTMP in test output
This reduces the number of patterns that must be adjusted when writing tests.
2010-10-08 22:36:10 -05:00
Matt Mackall
f480f9a870 keyword: fix test glob 2010-10-08 20:12:40 -05:00
Brodie Rao
95903377bf dispatch: properly handle relative path aliases used with -R (issue2376)
This ensures the repo config is read relative to the repo root during
dispatch.
2010-10-04 15:07:12 -05:00
Brodie Rao
9100b4d895 test-globalopts: test hg -R file:// and hg -R path-alias 2010-10-04 14:26:37 -05:00
Brodie Rao
dfaf44c2e4 tests: unify test-check-code 2010-10-08 16:08:46 -05:00
Christian Ebert
924a741c44 keyword: specific regular expressions depending on read mode
More safeguarding against accidental (un)expansion:

Reading filelog: act only on \$(kw1|kw2|..)\$ as keywords are always
                 stored unexpanded.
Reading wdir:    act only on \$(kw1|kw2|..): [^$\n\r]*? \$ as we only
                 are interested in expanded keywords in this situation.
                 Note: we cannot use ..): [^$\n\r]+? \$ because e.g.
                 the {branch} template might be empty.

hg record is a special case as we read from the working directory and
need one regex each for modified and added files. Therefore test
recording an added file.

This way we finally also forbid sequences like $Id:  $ being treated
as keywords.
2010-10-08 18:39:46 +01:00
Christian Ebert
f377c1b282 test-keyword: remove remaining sed calls 2010-10-08 18:39:46 +01:00
Christian Ebert
f6775a8777 keyword: support copy and rename
copy/rename destinations being unversioned and possibly ignored by
the extension should not contain expanded keywords.

Files copied/renamed from an ignored source are not touched.

Add tests covering both of the above cases, plus the corner case of
cp symlink foo; hg cp -A symlink foo (where foo becomes a regular file).
2010-10-08 18:39:46 +01:00
Patrick Mezard
6332560a4d run-tests: handle .tst not ending with an LF 2010-10-08 17:00:38 -05:00
Matt Mackall
223b7c03b1 revsets: make revpair revsets-aware
revpair returns the first and last members of the computed revset(s)
2010-10-07 18:05:04 -05:00
Matt Mackall
67a62aa820 revset: lower precedence of minus infix (issue2361) 2010-10-07 11:45:17 -05:00
Henrik Stuart
e96bfa211b merge with stable 2010-10-05 20:25:51 +02:00
Adrian Buehlmann
1f4e98cf76 tests: unify test-rebase* 2010-10-01 16:10:06 +02:00
Martin Geisler
1edc738611 test-url: refactor with shorter lines 2010-10-01 16:39:55 +02:00
Brodie Rao
7356b10618 tests: unify test-casefolding 2010-09-27 13:13:34 -05:00
Mads Kiilerich
2fcbe3473c merge with stable 2010-10-01 00:54:03 +02:00
Erik Zielke
4217887b02 test-subrepo-recursion: remove empty defaults section 2010-09-30 13:38:21 +02:00
Erik Zielke
5709d44003 test-subrepo-recursion: deleted default arguments
Deleted default arguments from test-sub-repo-recursion. Rationale is
that it is confusing to read, when the arguments aren't at each
command in the test
2010-09-28 13:09:22 +02:00
Erik Zielke
512d0992fc tests: removed test names in tests
The name of the test files is replaced with a glob * expression,
thereby the tests does not depend on the filename of the file they are
in.
2010-09-30 09:49:40 +02:00
Adrian Buehlmann
86b1980ab6 tests: fix ff6b740114fc merge error in test-git-import.t 2010-09-28 19:29:14 +02:00
Mads Kiilerich
0bec1958b5 test-convert-cvs-detectmerge: add sleep so cvs notices changes 2010-09-29 01:33:31 +02:00
Mads Kiilerich
11c8cc29c9 init: expand destination url as a configured paths
Most commands expands configured paths when repositories are specified, just as
the urls help says. Clone also expands the destination path. Clone is morally
equivalent to init + push/pull, so init should also expand the destination path
- and that is what this patch makes it do.

There is no really good usecases for this and in most cases it doesn't matter,
but consistency is nice, and otherwise we would have to document the exception.
2010-09-29 01:32:51 +02:00
Mads Kiilerich
982aefe1cc test-convert-cvs-branch: add sleep so cvs notices changes 2010-09-28 03:01:35 +02:00
Mads Kiilerich
edf2794bd1 graphlog: style with header and footer (issue2395)
The glog command didn't emit header and footer from the style, as demonstrated
by "hg glog --style xml". Asciiart combined with xml markup hardly makes sense,
but header and footer might however be useful for adding for example html pre
tags around the graph.
2010-09-28 02:58:00 +02:00
Mads Kiilerich
a9146eb8c4 test-serve: use service that works on more platforms
Follow-up to 40a2055abf6d: echo is ambiguous on OS/X, and Solaris have neither
http nor gopher. daytime seems to be available everywhere.
2010-09-28 02:57:59 +02:00
Patrick Mezard
df877501f1 Merge with stable 2010-09-28 01:11:24 +02:00
Thomas Arendsen Hein
a05671580d tests: show skip reason instead of "irrelevant" with unified tests, too
parsehghaveoutput expects just the test output, not the merged test/output,
so for skipped unified tests e.g.:
Skipped test-convert-darcs.t: missing feature: irrelevant
was shown instead of:
Skipped test-convert-darcs.t: missing feature: darcs client
2010-09-27 22:49:30 +02:00
Adrian Buehlmann
057c054947 tests: fix tabs/indentation in test-strip-cross.t 2010-09-26 23:48:30 +02:00
Steve Losh
0ec78824a3 alias: only allow global options before a shell alias, pass later ones through
This patch refactors the dispatch code to change how arguments to shell aliases
are handled.

A separate "pass" to determine whether a command is a shell alias has been
added. The rough steps dispatch now performs when a command is given are these:

* Parse all arguments up to the command name.

* If any arguments such as --repository or --cwd are given (which could change
  the config file used, and therefore the definition of aliases), they are
  taken into account.

* We determine whether the command is a shell alias.

    * If so, execute the alias. The --repo and --cwd arguments are still in effect.
      Any arguments *after* the command name are passed unchanged through to the
      shell command (and interpolated as normal.

    * If the command is *not* a shell alias, the dispatching is effectively "reset"
      and reparsed as normal in its entirety.

The net effect of this patch is to make shell alias commands behave as you
would expect.

Any arguments you give to a shell alias *after* the alias name are passed
through unchanged. This lets you do something like the following:

    [alias]
    filereleased = !$HG log -r 'descendants(adds("$1")) and tagged()' -l1 $2 $3 $4 $5

    $ hg filereleased hgext/bookmarks.py --style compact

Previously the `--style compact` part would fail because Mercurial would
interpret those arguments as arguments to the alias command itself (which
doesn't take any arguments).

Also: running something like `hg -R ~/src/hg-crew filereleased
hgext/bookmarks.py` when `filereleased` is only defined in that repo's config
will now work.

These global arguments can *only* be given to a shell alias *before* the alias
name.  For example, this will *not* work in the above situation:

    $ hg filereleased -R ~/src/hg-crew hgext/bookmarks.py

The reason for this is that you may want to pass arguments like --repository to
the alias (or, more likely, their short versions like -R):

    [alias]
    own = !chown $@ `$HG root`

    $ hg own steve
    $ hg own -R steve
2010-08-24 18:25:33 -04:00
Matt Mackall
66f303811f tests: fix test-fetch port number variability 2010-09-27 10:39:22 -05:00
Matt Mackall
a83179e82c tests: unify test-convert-tagsbranch-topology 2010-09-26 17:20:24 -05:00
Matt Mackall
8ae5ecd1af tests: unify test-convert-tla 2010-09-26 17:18:53 -05:00
Matt Mackall
b2af7a3e51 tests: unify test-convert-mtn 2010-09-26 17:18:28 -05:00
Matt Mackall
4a721be0fe tests: unify test-convert-splicemap 2010-09-26 17:17:19 -05:00
Matt Mackall
75c074ba2e tests: unify test-convert-git 2010-09-26 17:16:46 -05:00
Matt Mackall
50d09c4529 tests: unify test-convert-filemap 2010-09-26 17:14:35 -05:00
Matt Mackall
e4c062e907 tests: unify test-convert-datesort 2010-09-26 16:54:28 -05:00
Matt Mackall
c88a328e4f tests: unify test-convert-hg-svn 2010-09-26 16:53:06 -05:00
Matt Mackall
2066e73671 tests: unify test-convert-hg-source 2010-09-26 16:48:57 -05:00
Matt Mackall
0691b72c3c tests: unify test-convert-hg-sink 2010-09-26 16:47:59 -05:00
Matt Mackall
6edfd1dac8 tests: unify test-convert-darcs 2010-09-26 16:45:51 -05:00
Matt Mackall
d1eea2f57b tests: unify test-convert-cvsnt-mergepoints 2010-09-26 16:43:48 -05:00
Matt Mackall
f8167456f4 tests: unify test-convert-cvs-synthetic 2010-09-26 16:39:52 -05:00
Matt Mackall
164446c4ff tests: unify test-convert-cvs-detectmerge 2010-09-26 15:42:48 -05:00
Matt Mackall
a2ca33dda2 tests: unify test-convert-cvs-branch 2010-09-26 15:33:09 -05:00
Matt Mackall
c1e84a96d4 tests: unify test-convert-cvs 2010-09-26 14:50:58 -05:00
Matt Mackall
04110ded40 tests: unify test-convert-clonebranches 2010-09-26 14:39:34 -05:00
Matt Mackall
0e01c3e732 tests: unify test-convert-bzr-treeroot 2010-09-26 14:37:47 -05:00
Matt Mackall
0d19ecca74 tests: unify test-convert-bzr-merges 2010-09-26 14:37:30 -05:00
Matt Mackall
9bc614322b tests: unify test-convert-bzr-ghosts 2010-09-26 14:36:49 -05:00
Matt Mackall
13dbf6f0f8 tests: unify test-convert-bzr-directories 2010-09-26 14:36:32 -05:00
Matt Mackall
2d08a28bd1 tests: unify test-convert-bzr-114 2010-09-26 14:35:43 -05:00
Matt Mackall
a3dced962f tests: unify test-convert-bzr 2010-09-26 14:35:24 -05:00
Matt Mackall
1094885dbb tests: unify test-convert-authormap 2010-09-26 14:33:08 -05:00
Matt Mackall
5516e0259e tests: unify test-convert 2010-09-26 14:32:13 -05:00
Brodie Rao
b469322e9a test-pull: convert regexes to globs 2010-09-26 16:01:13 -05:00
Brodie Rao
709f38fa67 test-ssh: test absolute path that exists 2010-09-26 14:35:52 -05:00
Wagner Bruna
141644d96f subrepo: improve lookup error messages 2010-09-13 10:33:49 -03:00
Martin Geisler
7313d940be run-tests: move build/ directory to HGTMP
Before, running a test would give you a build/ directory in the root
of your Mercurial source tree. The directory had a full copy of the
the source, so a grep in '**/*.py' would find files inside build/.
2010-09-26 22:22:59 +02:00
Christian Ebert
405806c3f9 keyword: support rollback by restoring expansion to previous values
Prevent spurious differences in the working directory
after a rollback.

Add tests for several rollback situations.
2010-09-26 19:18:41 +02:00
Christian Ebert
0e483b0cbe test-keyword: fix typo, rephrase 2010-09-26 19:18:41 +02:00
Matt Mackall
9a63c93203 tests: unify test-win32text 2010-09-26 13:44:49 -05:00
Matt Mackall
d95a37b8f2 tests: unify test-template-engine 2010-09-26 13:44:49 -05:00
Matt Mackall
1d248a919b tests: unify test-strip-cross 2010-09-26 13:44:49 -05:00
Matt Mackall
9d8af499bd tests: unify test-static-http 2010-09-26 13:44:49 -05:00
Matt Mackall
c81487116d tests: unify test-ssh-clone-r 2010-09-26 13:44:49 -05:00
Matt Mackall
092e9a2cb5 tests: unify test-ssh 2010-09-26 13:44:49 -05:00
Matt Mackall
7e3ddf47b5 tests: unify test-simplemerge-cmd 2010-09-26 13:44:49 -05:00
Matt Mackall
89a918b5da tests: unify test-share 2010-09-26 13:44:49 -05:00
Matt Mackall
68c0c156e4 tests: unify test-schemes 2010-09-26 13:44:49 -05:00
Matt Mackall
18d4a2f14c tests: unify test-rollback 2010-09-26 13:44:49 -05:00
Matt Mackall
c4877b48a6 tests: unify test-rename-merge2 2010-09-26 13:44:49 -05:00
Matt Mackall
835ef7f5b6 tests: unify test-push-http 2010-09-26 13:44:49 -05:00
Matt Mackall
8f1a396c5b tests: unify test-pull-pull-corruption2 2010-09-26 13:44:49 -05:00
Matt Mackall
288dacfe0c tests: unify test-pull-pull-corruption 2010-09-26 13:44:49 -05:00
Matt Mackall
b6427e2043 tests: unify test-pull-http 2010-09-26 13:44:49 -05:00
Matt Mackall
5cf7b705da tests: unify test-progress 2010-09-26 13:44:49 -05:00
Matt Mackall
eaf44b6090 tests: unify test-profile 2010-09-26 13:44:49 -05:00
Matt Mackall
8eb9149e28 tests: unify test-patch-offset 2010-09-26 13:44:49 -05:00
Matt Mackall
908997b892 tests: unify test-parseindex 2010-09-26 13:44:49 -05:00
Matt Mackall
b8ac6be918 tests: unify test-parentrevspec 2010-09-26 13:44:49 -05:00
Matt Mackall
598f022860 tests: unify test-notify-changegroup 2010-09-26 13:44:49 -05:00
Matt Mackall
2c5903de9c tests: unify test-notify 2010-09-26 13:44:42 -05:00
Matt Mackall
e72d74ff6f tests: unify test-oldcgi 2010-09-26 13:43:21 -05:00
Matt Mackall
e43a0a8d41 tests: unify test-newercgi 2010-09-26 13:43:21 -05:00
Matt Mackall
fc52a2522d tests: unify test-newcgi 2010-09-26 13:43:21 -05:00
Matt Mackall
3d1216fcbd tests: unify test-mv-cp-st-diff 2010-09-26 13:43:21 -05:00
Matt Mackall
f54c1c0030 tests: unify test-mq-qrefresh-replace-log-message 2010-09-26 13:43:21 -05:00
Matt Mackall
6f39334d7e tests: unify test-mq-qpush-fail 2010-09-26 13:43:21 -05:00
Matt Mackall
0daacba06d tests: unify test-mq-qnew 2010-09-26 13:43:21 -05:00
Matt Mackall
d77f34e36c tests: unify test-mq-qimport-fail-cleanup 2010-09-26 13:43:21 -05:00
Matt Mackall
b5561218c7 tests: unify test-mq-qimport 2010-09-26 13:43:21 -05:00
Matt Mackall
1ce94c5cc2 tests: unify test-mq-qclone-http 2010-09-26 13:43:21 -05:00
Matt Mackall
22c4e194f2 tests: unify test-mq-header-from 2010-09-26 13:43:21 -05:00
Matt Mackall
fab65c3e1b tests: unify test-mq-header-date 2010-09-26 13:43:21 -05:00
Matt Mackall
40e826de5c tests: unify test-merge-tools 2010-09-26 13:43:21 -05:00
Matt Mackall
3405f1e40a tests: unify test-merge-symlinks 2010-09-26 13:43:21 -05:00
Matt Mackall
92e256d74f tests: unify test-mactext 2010-09-26 13:43:21 -05:00
Matt Mackall
d9dad8a1dd tests: unify test-inotify-lookup 2010-09-26 13:43:21 -05:00
Matt Mackall
82fe16d228 tests: unify test-inotify-issue1556 2010-09-26 13:43:21 -05:00
Matt Mackall
435d16107f tests: unify test-inotify-issue1542 2010-09-26 13:43:21 -05:00
Matt Mackall
14ae48049d tests: unify test-inotify-issue1371 2010-09-26 13:43:21 -05:00
Matt Mackall
56def4ddeb tests: unify test-inotify-issue1208 2010-09-26 13:43:21 -05:00
Matt Mackall
5afb2ea07e tests: unify test-inotify-dirty-dirstate 2010-09-26 13:43:21 -05:00
Matt Mackall
14e132f79f tests: unify test-inotify-debuginotify 2010-09-26 13:43:21 -05:00
Matt Mackall
bf32ce9bfe tests: unify test-inotify 2010-09-26 13:43:21 -05:00
Matt Mackall
ba3e09fa61 tests: unify test-http-proxy 2010-09-26 13:43:21 -05:00
Matt Mackall
1bce7d5d55 tests: unify test-http-clone-r 2010-09-26 13:43:21 -05:00
Matt Mackall
6124b16aa6 tests: unify test-http-branchmap 2010-09-26 13:43:08 -05:00
Matt Mackall
692a52d686 tests: unify test-http 2010-09-26 13:41:32 -05:00
Matt Mackall
48ba08be0f tests: unify test-highlight 2010-09-26 13:41:32 -05:00
Matt Mackall
c3c099cc1c tests: unify test-hgwebdirsym 2010-09-26 13:41:32 -05:00
Matt Mackall
45ed2f6bf8 tests: unify test-hgwebdir 2010-09-26 13:41:32 -05:00
Matt Mackall
eebee9e8b6 tests: unify test-hgweb-removed 2010-09-26 13:41:32 -05:00
Matt Mackall
a8e19fc65a tests: unify test-hgweb-raw 2010-09-26 13:41:32 -05:00
Matt Mackall
aa59a56f47 tests: unify test-hgweb-non-interactive 2010-09-26 13:41:32 -05:00
Matt Mackall
757e43c6b1 tests: unify test-hgweb-no-request-uri 2010-09-26 13:41:32 -05:00
Matt Mackall
731bea8c37 tests: unify test-hgweb-no-path-info 2010-09-26 13:41:32 -05:00
Matt Mackall
ca4b75e508 tests: unify test-hgweb-filelog 2010-09-26 13:41:32 -05:00
Matt Mackall
fc835388a9 tests: unify test-hgweb-empty 2010-09-26 13:41:32 -05:00
Matt Mackall
fb736725c6 tests: unify test-hgweb-diffs 2010-09-26 13:41:32 -05:00
Matt Mackall
f2ac74fdb2 tests: unify test-hgweb-descend-empties 2010-09-26 13:41:32 -05:00
Matt Mackall
78c88b19f8 tests: unify test-hgweb-commands 2010-09-26 13:41:32 -05:00
Matt Mackall
b83e39df28 tests: unify test-hgweb 2010-09-26 13:41:32 -05:00
Matt Mackall
661bd03f12 tests: unify test-hgk 2010-09-26 13:41:32 -05:00
Matt Mackall
8043d43725 tests: unify test-hghave 2010-09-26 13:41:32 -05:00
Matt Mackall
e54acc7061 tests: unify test-hgcia 2010-09-26 13:41:32 -05:00
Matt Mackall
dcc1587922 tests: unify test-gpg 2010-09-26 13:41:32 -05:00
Matt Mackall
a5658319f3 tests: unify test-gendoc 2010-09-26 13:41:32 -05:00
Matt Mackall
7e404c1bcc tests: unify test-fetch 2010-09-26 13:41:32 -05:00
Matt Mackall
17dbdccf9a tests: unify test-eolfilename 2010-09-26 13:41:32 -05:00
Matt Mackall
c0b56d138a tests: unify test-eol-update 2010-09-26 13:41:32 -05:00
Matt Mackall
7b5f9a10ba tests: unify test-eol-hook 2010-09-26 13:41:32 -05:00
Matt Mackall
cbb7ec7a2d tests: unify test-eol-clone 2010-09-26 13:41:32 -05:00
Matt Mackall
08bab54997 tests: unify test-eol-add 2010-09-26 13:41:32 -05:00
Matt Mackall
43943f2ecb tests: unify test-eol-patch 2010-09-26 13:41:32 -05:00
Matt Mackall
eb2a743084 tests: unify test-eol 2010-09-26 13:41:32 -05:00
Matt Mackall
589dbb9433 tests: unify test-encoding-align 2010-09-26 13:41:32 -05:00
Matt Mackall
048deb9ab0 tests: unify test-encoding 2010-09-26 13:41:32 -05:00
Matt Mackall
0d2bcd1b2a tests: unify test-encode 2010-09-26 13:41:32 -05:00
Matt Mackall
6c4eda22f1 tests: unify test-diff-color 2010-09-26 13:41:32 -05:00
Matt Mackall
49a96309a7 tests: unify test-ssh 2010-09-26 13:41:32 -05:00
Matt Mackall
6df5dbf1c0 tests: unify test-hup 2010-09-26 13:41:32 -05:00
Matt Mackall
cd62df7450 tests: unify test-clone-pull-corruption 2010-09-26 13:41:32 -05:00
Matt Mackall
1801bd1e27 tests: unify test-clone-failure 2010-09-26 13:41:17 -05:00
Matt Mackall
91dd5557d4 tests: unify test-clone-cgi 2010-09-26 13:11:52 -05:00
Brodie Rao
e7c754957b test-ssh: test absolute paths in SSH URLs 2010-09-24 15:50:57 -05:00
Brodie Rao
2104af5ee2 revset: support raw string literals
This adds support for r'...' and r"..." as string literals. Strings
with the "r" prefix will not have their escape characters interpreted.

This is especially useful for grep(), where, with regular string
literals, \number is interpreted as an octal escape code, and \b is
interpreted as the backspace character (\x08).
2010-09-24 15:36:53 -05:00
Matt Mackall
04e06cefd9 tests: fold darcs test repository into a bundle 2010-09-26 13:11:31 -05:00
Mads Kiilerich
ea28311c45 tests: avoid checking the exitcode of false
Solaris false returns 255 instead of 1, so we remove one unneeded instance and
replaces another with (exit 1) as suggested by Brodie Rao.
2010-09-25 21:52:17 +02:00
Mads Kiilerich
f8b22bcaa0 test-rename: accept solaris diff
Solaris diff gives
@@ -1,1 +1,1 @@
instead of
@@ -1 +1 @@
2010-09-25 02:35:36 +02:00
Mads Kiilerich
9d449710b0 test-subrepo-svn: restore expr functionality for solaris
Cleanup in 131a3b518403 removed a syntactically incorrect and apparently
unnecessary escape of / for expr - but solaris needs it.
2010-09-25 02:35:35 +02:00
Mads Kiilerich
ed06ff3f48 test-serve: fix test for binding to low named port on solaris
Solaris do not know the service called http, so we use echo instead.

Trying to define KILLQUIETLY when running the hgserve function didn't set the
value within the function. Now we set the variable before calling the function.
2010-09-25 02:35:32 +02:00
Erik Zielke
ddbd88fdcf incoming/outgoing: Fix recursion on sub repositories
Incoming and outgoing are fixed so they go through the whole three of
repositories instead of only visiting first level of sub repositories.
2010-09-24 12:00:55 +02:00
Martin Geisler
3d112b3042 tests: added a short description to issue numbers
Many tests already had a short line to describe what IssueXXX is
about. I find that quite useful when reading a test.
2010-09-24 10:13:49 +02:00
Mads Kiilerich
4f78ca6825 merge with stable 2010-09-24 03:04:14 +02:00
Patrick Mezard
bb3259c957 Merge with stable 2010-09-24 00:17:04 +02:00
Christian Ebert
3fb88c8dbb Use more note admonitions in help texts 2010-09-23 16:31:38 +02:00
Erik Zielke
c732a9771b Use note admonition 2010-09-22 16:23:55 +02:00
Erik Zielke
208cfeec63 minirst: Support for admonitions
The old asciidoc format supported something like this,
this is why there is NOTE: scattered here and there.
2010-09-22 15:51:59 +02:00
Mads Kiilerich
82136a3aba merge with stable 2010-09-23 01:59:02 +02:00
Matt Mackall
b05cd46be9 merge with stable 2010-09-22 18:29:41 -05:00