Commit Graph

248 Commits

Author SHA1 Message Date
Augie Fackler
7dc6835322 gitignore: gate feature on dirstate having rootcache and ignore having readpats 2013-12-14 11:19:25 -05:00
Augie Fackler
cbc2e09223 test-timezone.t: add missing (but needed) trailing whitespace 2013-12-13 12:42:55 -05:00
Augie Fackler
1a8f8d54f1 tests: dulwich is now smarter about sending fewer objects, update output 2013-12-13 12:41:41 -05:00
Jordi Gutiérrez Hermoso
adf3575aa8 git-handler: turn refs from None to {} so that empty git repos can convert 2013-12-03 16:55:17 -05:00
Ben Kehoe
6f094a5bfe Fix for #68 | Use .gitignore files (with proper semantics) 2013-11-27 09:27:59 -05:00
Augie Fackler
5b6275ec8c test-subrepos: cope with unsorted output in .hgsub 2013-08-28 13:52:38 -04:00
Augie Fackler
ff1e9014cf merge 2013-08-28 13:49:01 -04:00
Augie Fackler
c455d88068 Update test output to handle 65d8a43b adding some more objects. 2013-08-28 13:41:22 -04:00
Augie Fackler
8032d62596 test-tree-decomposition: work around git command format changes 2013-08-28 11:27:13 -04:00
nsuke
291493c743 git_handler: skip exporting hg tags whose names are not valid as git tag name 2013-08-12 23:20:41 +09:00
André Felipe Dias
071243136a Fixes #54 | option branch_bookmark_suffix doesn't move bookmarks along
Test case based on the one proposed by David Carr at
https://bitbucket.org/durin42/hg-git/issue/54/with-option-branch_bookmark_suffix-set
2013-07-01 16:04:53 -03:00
Hal Wine
aea14993e9 Add test to show dulwich fault on invalid timezone data
A recent real world occurrence - user hand edited the timezone field in
an hg export to provide a unique value (from prior export). Hg imported
the export okay, but dulwich threw an exception.

This test shows the fault.
2013-02-06 17:35:08 -08:00
David M. Carr
114a8500cb push: provide better output about changed references (issue #64)
As pointed out by l33t, Hg-Git's output for push doesn't currently do a very
good job of telling the user what happened.  My previous changes in this area
had moved some of the output from status to note, making it only show if
--verbose was specified.  However, I hadn't realized at the time that the
reference information (though overly verbose) was providing a valueable purpose
that otherwise wasn't met; telling the user that a remote reference had changed.

This changeset makes it so that:
*   default output will include simple messages like "adding reference
    refs/heads/feature" and "updating reference refs/heads/master" (omitting any
    mention of unchanged references)
*   verbose output will include more detailed messages like "adding reference
    default::refs/heads/feature => GIT:aba43c" and "updating reference
    default::refs/heads/master => GIT:aba43c" (omitting any mention of unchanged
    references)
*   debug output will include the detailed output like in verbose, but
    addtionally will include messages like "unchanged reference
    default::refs/heads/other => GIT:aba43c"

https://bitbucket.org/durin42/hg-git/issue/64/push-confirmation
2013-01-06 02:31:37 -05:00
David M. Carr
a6e63bd878 push: add more output about what was added (issue #64)
l33t pointed out that currently, Hg-Git doesn't provide any confirmation that a
push was successful other than the exit code.  Normal Mercurial provides a
couple other messages followed by "added X changesets with Y changes to
Z files".  After this change, Hg-Git will provide much more similar output.
It's not identical, as the underlying model is substantially different, but the
concept is the same.  The main message is "added X commits with Y trees and
Z blobs".

This change doesn't affect the output of what references/branches were touched.
That will be addressed in a subsequent commit.

Dulwich doesn't provide an easy hook to get the information needed for this
output.  Instead of passing generate_pack_contents as the pack generator
function to send_pack, I pass a custom function that determines the "missing"
objects, stores the counts, and then calls generate_pack_contents (which then
will determine the "missing" objects again.

The new expected output:
searching for changes # unless quiet true
<N> commits found     # if verbose true
list of commits:      # if debugflag true and at least one commit found
<each hash>           # if debugflag true and at least one commit found
adding objects        # if at least one commit found unless quiet true
added <N> commits with <N> trees and <N> blobs # if at least one object unless
                                               # quiet true

https://bitbucket.org/durin42/hg-git/issue/64/push-confirmation
2013-01-06 01:46:57 -05:00
David M. Carr
04a92f210c tests: use fn_git_commit in test-encoding.t
In f32e473ff520, the "commit" function was extracted into a testutil for re-use.
However, test-encoding.t was skipped over in that changeset, as I was seeing
unexplained test failures.  Since those test failures have now been explained
(and fixed), this changeset performs the same extraction on test-encoding.t as
was done on all the other tests.

The version of fn_git_commit that was used in testutil redirected all output
(including errors) to /dev/null, which didn't match the expectations of this
test.  The test utility functions for commit/tag now no longer throw away error
output, instead leaving it to individual tests to decide if error output should
be ignored.
2012-11-03 22:36:13 -04:00
David M. Carr
d41ee25025 tests: make test-encoding.t compatible with git 1.8.0
It looks like Git 1.8.0 started silently converting latin1 commit messages to
utf-8.  That changed the result of this test.  This changeset alters the test
to make it accept both the pre-1.8.0 and post-1.8.0 behaviors.

https://raw.github.com/git/git/master/Documentation/RelNotes/1.8.0.txt
2012-11-03 22:22:43 -04:00
David M. Carr
514b502815 tests: remove filterhash from test-incoming.t
This test had some form of legacy hash filtering, marked with a TODO to remove
it when we're only supporting Mercurial 1.5 or later.  Well, that time has
come, so I removed it.
2012-11-03 19:25:13 -04:00
David M. Carr
a3edcfce3e tests: remove mercurial version check from test-incoming.t
This test was only running on Mercurial 1.7 or later.  Since now we only
support versions that are 1.7 or later, there isn't a need to perform this
check any more.
2012-11-03 19:20:52 -04:00
David M. Carr
c0ec4f8882 tests: remove mercurial version check from test-pull-after-strip.t
This test was being skipped in Mercurial < 1.5.  We don't support Mercurial
that old any more, so there isn't a need to worry about it in the tests.
2012-11-03 19:20:39 -04:00
David M. Carr
7fc5793d3d tests: convert echos to comments
Now that we're in the unified test format, there isn't a need to use echo
to provide context to command output.  This technique actually ends up resulting
in redundant output.  To preserve the original context, but eliminate the
redundancy, such echo statements have been converted into comment lines.
2012-11-03 19:14:17 -04:00
David M. Carr
ef24ee33fc tests: avoid changing the current directory
Mercurial allows specifying which repository to use via the -R/--repository
option.  Git allows a similar function using the --git-dir option.  By using
these options, in many cases we can avoid checking the current directory.
This makes tests easier to understand, as you don't need to remember which
directory you're in to understand what's going on.  It also makes tests easier
to write, as you don't need to remember to cd out of a directory when you're
done doing things there.

Thanks to Felipe Contreras for the patch which this was based on.
2012-11-03 19:12:08 -04:00
David M. Carr
33f1efdddf tests: extract git command-line client and dulwich requirements into testutil
One or both of these requirements were in almost every test in exactly the same
way.  Now, these checks are performed in every test that uses the testutil.
This makes it easier for test authors to add these checks into new tests (just
add a reference to the testutil, which you'd probably want anyway).

We considered having each test declare their requirements (currently, either
"git" or "dulwich"), but in this case, preferred the simplicity of having the
check always performed (even if a particular test doesn't need one or the
other).  You can't perform any meaningful testing of Hg-Git without both of
these dependencies properly configured.  The main value to checking for them
in the tests (rather than just letting the tests fail) is that it gives a
meaningful error message to help people figure out how to fix their environment.
In the case that either git or dulwich is missing, the information will be
just as clearly conveyed regardless of whether its all the tests that are
skipped, or just most of them.

I didn't add dulwich to hghave (even though this is clearly the sort of thing
that hghave is intended for) because hghave is currently pulled from Mercurial
completely unchanged, and it's probably best to keep it that way.

Tested by running the tests in three configurations:
 * No dulwich installed (ran 0, skipped 28, failed 0, output:
        Skipped *: missing feature: dulwich)
 * Bad git on path (ran 1, skipped 27, failed 0, output:
        Skipped *: missing feature: git command line client)
 * Working git and correct version of dulwich installed
        (ran 28, skipped 0, failed 0)

Thanks to Felipe Contreras for the idea to extract this logic into a library.
2012-11-03 19:11:50 -04:00
David M. Carr
905e581176 tests: let git init create directories when applicable
It's functionally equivalent to create a directory, cd into it, git init, and
cd out of the directory, or simply git init with the directory specified.

In several cases, we were doing the former without performing any other
operations in the git repo, which just made the test unneccesarily complex.
Even in the case where we still want to cd into the directory, calling git
init with the directory name eliminates the need for a separate mkdir command.

This changeset converts the former approach to the latter with the goal of
increasing the readability of the tests.

Thanks to Felipe Contreras for the patch which this was based on.
2012-10-31 00:01:03 -04:00
David M. Carr
1abce70deb tests: add check for dulwich in test-url-parsing.py
Previously, if dulwich wasn't available, this test would fail with a traceback
(example included below).  This changeset makes it so that the test will be
skipped with an informative message if dulwich isn't available.

Traceback (most recent call last):
  File "/Users/carrd/hg-repos/hg-git-queue/tests/test-url-parsing.py", line 6, in <module>
    from hggit.git_handler import GitHandler
  File "/Users/carrd/hg-repos/hg-git-queue/tests/../hggit/__init__.py", line 42, in <module>
    import gitrepo, hgrepo
  File "/Users/carrd/hg-repos/hg-git-queue/tests/../hggit/gitrepo.py", line 13, in <module>
    from git_handler import GitHandler
  File "/Users/carrd/hg-repos/hg-git-queue/tests/../hggit/git_handler.py", line 4, in <module>
    from dulwich.errors import HangupException, GitProtocolError, UpdateRefsError
ImportError: No module named dulwich.errors
2012-10-30 23:16:07 -04:00
David M. Carr
d1a4bffd12 tests: extract commonly used commit/tag functions into testutil library
Thanks to Felipe Contreras for the patch which this was based on.

The functions were renamed to make it clearer that these are shell functions
rather than normal git/hg commands, and to make it clearer which tool is being
invoked.

Old name | New name
------------------------
commit   | fn_git_commit
tag      | fn_git_tag
hgcommit | fn_hg_commit
hgtag    | fn_hg_tag

Extraction from test-encoding.t was left for a subsequent patch, as I was seeing
unexpected output changes when I attempted the extraction.

The gitcommit and hgcommit functions in test-bookmark-workflow.t were left
as-is for now, as they have a different behavior than the standard version
(separate counters for each).
2012-10-30 22:59:20 -04:00
David M. Carr
8d69bf5e9a tests: extract extension configuration into a testutil library
Thanks to Felipe Contreras for the patch which this was based on.

Even though the MQ extension was only used in a single test
(test-pull-after-strip.t), I included it in the testutil.  It shouldn't hurt
anything to have it enabled and not used, and saves us from having to deal
with enabling extensions in individual tests at all.

Similarly, this changeset results in the graphlog extension being enabled
for all tests, even though there were some that didn't use it before.  This is
even less significant in Mercurial 2.3+, since in those versions, graphlog is
part of core, and is available even when the extension is disabled.
2012-10-30 20:03:26 -04:00
David M. Carr
1db989e400 tests: remove git-daemon check from test-subrepos.t
This check is a remnant from back when we were using git-daemon in the tests.
2012-10-30 00:08:43 -04:00
Augie Fackler
ebc4a036f8 test-pull.t: normalize git-merge output 2012-10-29 21:25:24 -05:00
David M. Carr
7aba6f4536 tests: fix check for dulwich in test-subrepos.t
In converting this test to the unified format, it looks like we missed this
line.  It was accidentally being treated as a comment rather than executable.
2012-10-29 00:19:44 -04:00
David M. Carr
57982de0d4 tests: uncomment calls to hghave git
Now that hghave git works properly, uncomment the calls, and add ones that were
missing.
2012-10-29 00:17:55 -04:00
David M. Carr
d68b444d5f tests: pull in hghave
Previously, the hghave checks that were commented out in the tests were broken
if uncommented.  One cause was that it was expecting hghave in the testdir,
while our testdir didn't contain hghave.  Now it does.

The hghave was pulled unmodified from Mercurial 2.3, to match the version of
run-tests.py in use.
2012-10-28 21:05:51 -04:00
David M. Carr
ee0a3edb54 pull: don't pull tags as bookmarks
This should fix a bug introduced by 4f4ab2d which caused all tags to be
duplicated as bookmarks on pull.

Test coverage has been added for pull to allow verifying the fix.
2012-10-26 22:46:02 -04:00
David M. Carr
c38972cc67 tests: rename test-pull.t to test-clone.t
This test wasn't actually testing anything to do with pulling.
2012-10-26 22:06:57 -04:00
David M. Carr
deba26ad93 push: suppress "exporting hg objects to git" message
When communicating with the user on push/outgoing, Mercurial doesn't show a
"exporting hg objects to git" message, so we shouldn't.  The message has been
changed to be shown if --verbose is specified.
2012-10-25 21:47:44 -04:00
David M. Carr
fb74ae0f84 push: suppress ref output by default
When communicating with the user on push, Mercurial doesn't show much on
success.  Currently, Hg-Git shows every changed ref.  After this change,
the default output will more closely match Mercurial's regular behavior (no
per-ref output), while changed refs will be shown if --verbose is specified,
and all refs will be shown if --debug is specified.
2012-10-25 21:47:36 -04:00
David M. Carr
67b13fd7be tests: add coverage for outgoing with bookmark changes only 2012-10-25 20:49:26 -04:00
David M. Carr
7168922e8f gitrepo: initial support for listkeys
This changeset adds test coverage for comparing "hg outgoing -B" in normal
Mercurial usage with Hg-Git usage.  This didn't match, since previously, gitrepo
didn't provide a meaningful listkeys implementation.  Now, it does.

gitrepo now has access to a GitHandler when a localrepo is available.  This
handler is used to access the information needed to implement listkeys for
namespaces (currently, only bookmarks) and bookmarks.

A couple of other tests were testing "divergent bookmark" scenarios.  These
tests have been updated to filter out the divergent bookmark output, as it isn't
consistent across the supported Mercurial versions.
2012-10-25 20:49:08 -04:00
David M. Carr
92f7dd666e push: fix traceback when pushing empty hg repo to empty git repo (issue #58)
In the logic that was attempting to handle the case where the local repo doesn't
have any bookmarks, the assumption was being made that tip resolved to a
non-null revision.  In the case of a totally empty local repo, however, that
isn't a valid assumption, and resulted in attempting to set the master ref
to None, which broke dulwich.

The "fix", which avoids the traceback and allows the push to complete (though
still do nothing, since in this case there aren't any changes to push), is to
not tweak the refs at all if tip is nullid.  Leaving the special capabilities
ref and not adding a master ref appears to be fine in this case.
2012-10-25 00:40:35 -04:00
David M. Carr
deeefd08e1 tests: add workflow coverage for push with no changes
test-bookmark-workflow.t now skips all Mercurial versions below 2.1, as the
return code is different, and it's more important for this test to accurately
show that we match the behavior of current Mercurial than that all versions
behave the same.
2012-10-07 20:19:51 -04:00
David M. Carr
33ac80b524 push: change "no changes" default output to match normal mercurial
The output for "hg push" when there were no changes didn't quite match between
Mercurial with and without Hg-Git, so I changed the behavior to bring it into
synch.  The existing "creating and sending data" message was changed to be
included if --verbose is specified.
2012-10-07 20:11:27 -04:00
David M. Carr
9437452e31 tests: add coverage for outgoing with no changes 2012-10-07 19:58:24 -04:00
David M. Carr
d1fdf13545 tests: add coverage for bookmark workflow comparison; cloning 2012-10-07 19:48:51 -04:00
David M. Carr
ca11f771fb tests: fix test-subrepos.t sporadically failing
I was seeing sporadic failures running this test on Mac OS X 10.8.
They looked like this:
+  sed: 1: "s_/private/var/folders/ ...": bad flag in substitute command: 'T'

My assumption is that some character was being included in the path of the
temporary directory that sed didn't like.  It looks like the sed function was
being used to eliminate differences between test runs due to the path changing
each run.  That isn't needed any more now that we're using the unified test
format, since said replacement is taken care of for us by run-tests.py.  Thus,
this changeset removes the calls to sed and updates the output to use the result
from the framework-level replacement.
2012-10-07 19:37:59 -04:00
David M. Carr
727eff8e96 outgoing: don't delete remote refs
There was a bug introduced in fa5f235be2cd such that calling hg outgoing on
a Git repository would result in all refs being deleted from the remote
repository (with the possible exception of the currently checked out branch).
It wasn't noticed before because the existing test for outgoing didn't actually
verify the refs on the remote.  This changeset fixes the bug, as well as adding
test coverage to allow verifying that the fix works.
2012-09-27 22:32:01 -04:00
David M. Carr
559f12d7a8 tests: remove use of git-daemon in test-subrepos
This change was already applied to all the other tests.
2012-09-14 19:10:18 -04:00
David M. Carr
364a71f9b9 tests: remove piping of command git init from test-subrepos
This change was already applied to all the other tests.
2012-09-14 19:10:05 -04:00
David M. Carr
e024c30fb0 tests: remove configuration of bookmarks extension from test-subrepos
This change was already applied to all the other tests.
2012-09-14 19:09:42 -04:00
David M. Carr
c6032be868 tests: unify test-subrepos 2012-09-14 19:08:51 -04:00
Augie Fackler
b4c0cfe688 test-subrepos: fix test to actually pass against all supported versions 2012-09-14 14:09:25 -05:00
David M. Carr
f6564520bb tests: eliminate use of git-daemon
Dulwich now supports local repositories just fine.  Not using the daemon makes
the tests easier to read and more reliable (less likely to be skipped because
a stray daemon is holding onto the port).
2012-09-13 20:49:45 -04:00
David M. Carr
77a9e3062f tests: remove piping of command git init to remove leading path
In many cases we were piping to a python script to strip out the varying leading
path to the test repos.  This is no longer needed, as the modern run-test.py
automatically substitutes the leading path as $TESTTMP.  Eliminating the piping
makes the tests easier to read and write, as well as allowing the exit codes
to be verified by the test.
2012-09-13 20:49:42 -04:00
David M. Carr
91ca9b4626 tests: remove configuration of bookmarks extension
All of our supported Hg versions include bookmarks in core.  Thus, actovating
it in the hgrc and setting bookmarks.track.current are no longer needed.
2012-09-13 20:48:11 -04:00
David M. Carr
8fd7357cd1 tests: drop test-sane-without-bookmarks
Since bookmarks become a core feature in Hg 1.8, and our minimum supported
version is now greater than that, the test is skipped for all supported
versions.
2012-09-13 18:50:21 -04:00
David M. Carr
56b2e2b8e6 tests: unify test-outgoing 2012-09-13 18:48:46 -04:00
David M. Carr
523efe6ee9 outgoing: re-introduce support for outgoing 2012-09-13 18:47:11 -04:00
Augie Fackler
3ee9490c5b test-subrepos: fix up test now that it's executable 2012-09-13 09:36:24 -05:00
Augie Fackler
2456183e1f Merge more test cleanups from David. 2012-09-13 09:19:38 -05:00
Augie Fackler
76a700ffe5 test-git-submodules: update expected output 2012-09-13 09:17:46 -05:00
David M. Carr
36db5b353a tests: make test-subrepos executable
Previously, I was getting this message when running tests:

Skipped test-subrepos: not executable
2012-09-11 23:16:15 -04:00
David M. Carr
2b053b0765 tests: unify test-encoding 2012-09-11 18:51:19 -04:00
David M. Carr
8d1a9d21db tests: unify test-tree-decomposition 2012-09-10 00:28:05 -04:00
David M. Carr
ac8d2d8bac tests: unify test-sane-without-bookmarks 2012-09-10 00:27:57 -04:00
David M. Carr
0bbf714c18 tests: unify test-push-r 2012-09-10 00:27:56 -04:00
David M. Carr
ecd8836801 tests: unify test-push 2012-09-10 00:27:45 -04:00
David M. Carr
4665bf2530 tests: unify test-pull-after-strip 2012-09-10 00:27:44 -04:00
David M. Carr
89919e98b2 tests: unify test-pull 2012-09-10 00:27:43 -04:00
David M. Carr
4acf2aa1b4 tests: unify test-octopus 2012-09-10 00:27:41 -04:00
David M. Carr
4672de85cd tests: unify test-merge 2012-09-10 00:27:33 -04:00
David M. Carr
aa31bde6e3 tests: unify test-incoming 2012-09-10 00:27:32 -04:00
David M. Carr
06248858ad tests: unify test-hg-tags 2012-09-10 00:27:30 -04:00
David M. Carr
6a856e878c tests: unify test-hg-branch 2012-09-10 00:27:17 -04:00
David M. Carr
902925dc8c tests: unify test-hg-author 2012-09-10 00:27:16 -04:00
David M. Carr
66201c79ab tests: unify test-git-workflow 2012-09-10 00:27:14 -04:00
David M. Carr
315765db73 tests: unify test-git-tags 2012-09-10 00:27:12 -04:00
David M. Carr
50404ed1bf tests: unify test-git-submodules 2012-09-10 00:27:09 -04:00
David M. Carr
2b7092669d tests: unify test-git-clone 2012-09-10 00:26:59 -04:00
David M. Carr
c1849beb59 tests: unify test-file-removal 2012-09-10 00:26:58 -04:00
David M. Carr
62185c7a94 tests: unify test-empty-working-tree 2012-09-10 00:26:43 -04:00
David M. Carr
8ba7aae895 tests: unify test-convergedmerge 2012-09-10 00:26:41 -04:00
David M. Carr
2010c1fc34 tests: unify test-conflict-2 2012-09-10 00:26:39 -04:00
David M. Carr
43dcf302b7 tests: unify test-conflict-1 2012-09-10 00:26:37 -04:00
David M. Carr
8abb31d212 tests: unify test-help 2012-09-10 00:26:33 -04:00
David M. Carr
86f7189548 tests: unify test-keywords 2012-09-10 00:25:59 -04:00
David M. Carr
25923e2745 tests: upgrade run-tests.py
This is the version from Hg 2.3.
2012-09-10 00:24:47 -04:00
Augie Fackler
fbc67fee2e Merge master into next. 2012-09-09 16:13:02 -05:00
David M. Carr
1b832796d9 push: state when no changes are found 2012-09-05 23:27:31 -04:00
David M. Carr
050798d918 push: only output updated refs 2012-09-05 23:27:31 -04:00
David M. Carr
fb9384235f push: return 1 if no changes found, 0 if success
While working on some other tests, I noticed that the push command was returning
exit code 1 on success.  This changeset makes hgrepo.push use the same return
code contract as localrepo.push, which makes the exit codes behave as expected.
2012-09-05 23:27:31 -04:00
David M. Carr
6d5f028bb1 tests: fix exec mode on test-help and test-keywords
These tests were being skipped with "not executable" messages
2012-09-05 23:27:31 -04:00
David M. Carr
20a3702adc revsets: add fromgit and gitnode selectors
Support for Hg 1.5.4 was removed, as it doesn't support revsets and is older
than the earliest version we want to put special effort into supporting.
2012-08-22 23:39:45 -04:00
David M. Carr
11cde56154 templatekw: add support for gitnode template keyword 2012-08-22 23:39:45 -04:00
David M. Carr
9e4da6cfb3 help: add additional help topics 2012-08-22 23:39:45 -04:00
Artem Tikhomirov
d87f82457b Subrepos: generate .hgsubstate and .hgsub based on gitlinks and .gitmodules, preserve gitlinks on hg commit export. Tests included. Dependency from PyPI's ordereddict to use OrderedDict 2012-08-06 18:30:33 +02:00
David M. Carr
3c9f459864 tests: fix for hg 1.5.4
On Hg 1.5.4, util.version() appears to return "unknown", which wasn't an
expected value in the version parsing logic in test-incoming and test-outgoing.
The net result of the change is that test-incoming no longer fails in 1.5.4,
but is skipped instead.
2012-08-04 14:43:48 -04:00
David M. Carr
66df8cc78c tests: fix test-merge and test-octopus
Both were failing due to extra spaces in the output from merges, which seems
to have been caused by a sed expression not working as intended.  According
to my copy of "man re_format", basic regular expressions (such as used by sed
without the -E option) don't support using + as a special character.  Thus, I
replaced it with one of the recommended alternatives (x+ to xx*).
2012-08-03 01:24:03 -04:00
Augie Fackler
58e29c9254 tests: cope with change in git merge output format 2012-07-31 17:08:37 -05:00
David M. Carr
f89059b98d tests: tweak which hg versions run test-pull-after-strip
Without this change, the test is skipped for modern versions of Mercurial
with minor version less than 5, despite the test actually passing for said
versions.
2012-07-31 22:55:15 -04:00
Augie Fackler
768d569dec tests: cope with yet another git output format change 2012-04-21 12:37:08 -05:00
Augie Fackler
9ada7156ea test-url-parsing.py: add a test for a username that starts with a number
This had broken at some point, and it's currently fixed. Added a test
to keep it from regressing in the future.
2012-04-20 21:16:32 -05:00
Augie Fackler
ecc1e7635e test-url-parsing.py: stop manually enumerating test methods 2012-04-20 21:11:19 -05:00