tests on windows

j w jwdevel at gmail.com
Thu Jan 31 00:57:03 CST 2008


On Jan 21, 2008 1:38 AM, Patrick Mézard <pmezard at gmail.com> wrote:
>
> Thank you for trying this, please keep posting about other issues you may have.
>

Ok, I finally got to try again (my monitor had died in the interim).

I got the patch queue to apply cleanly, and ran the tests. Now to deal
with all the ones that fail (:

I guess my first question is: how can I best help improve the windows
test situation? Just try to fix the errors one at a time, confirm they
still work on a unix machine, churn churn churn?

Here are the results from my first attempt.
Keep in mind, I'm trying to do this using GnuWin32 tools instead of
installing cygwin (which the WindowsTestingPlan lists as a
requirement), so that may explain some of the failures.

Some recurring issues:
  - complains about spawnvp not being present (doesn't exist on
Windows since there's no fork)
  - 'connection refused' urlopen errors
  - symbolic link complaints (should be skipped, no? maybe use NTFS
junction points if available?)
  - various NotImplemented errors from pysh
  - tries to run various commands that aren't present, such as darcs and git
  - various unixisms ('Unknown interpreter "#!/usr/bin/perl -w"
referenced in shebang', 'Unknown command: "umask"', etc.)
        - Those are probably ones that would be fixed under cygwin
        - in fact I *do* have perl installed, and it would be nice if
that could be detected and used.
  - I got a few popup dialogs yell at me as I was running the tests
(screenshots attached)

At the end it seemed to be hanging, so I killed it. Just before that
point, Windows Firewall asked me if I wanted to unblock python from
connecting to the internet. I chose 'unblock' but then it seemed to
get hung anyway...

Here's the gory details:

E:\Dev\projects\external\Mercurial\crew-stable\tests>run-tests.py
WARNING: cannot run tests with timeouts
........
ERROR: test-archive output changed
--- Expected output
+++ Test output
@@ -1,20 +1,102 @@
+hghave: unknown feature: failure
 adding foo
 adding bar
 adding baz/bletch
-test-archive-TIP/.hg_archival.txt
-test-archive-TIP/bar
-test-archive-TIP/baz/bletch
-test-archive-TIP/foo
-test-archive-TIP/.hg_archival.txt
-test-archive-TIP/bar
-test-archive-TIP/baz/bletch
-test-archive-TIP/foo
+** unknown exception encountered, details follow
+** report bug details to http://www.selenic.com/mercurial/bts
+** or mercurial at selenic.com
+** Mercurial Distributed SCM (version 8f3a51144e86)
+Traceback (most recent call last):
+  File "c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/install/bin/hg",
line 14, in <module>
+    mercurial.dispatch.run()
+  File "c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\install\lib\python\mercurial\dispatch.py",
line 20, in r
un
+    sys.exit(dispatch(sys.argv[1:]))
+  File "c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\install\lib\python\mercurial\dispatch.py",
line 29, in d
ispatch
+    return _runcatch(u, args)
+  File "c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\install\lib\python\mercurial\dispatch.py",
line 45, in _
runcatch
+    return _dispatch(ui, args)
+  File "c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\install\lib\python\mercurial\dispatch.py",
line 348, in
_dispatch
+    ret = _runcommand(ui, options, cmd, d)
+  File "c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\install\lib\python\mercurial\dispatch.py",
line 401, in
_runcommand
+    return checkargs()
+  File "c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\install\lib\python\mercurial\dispatch.py",
line 357, in
checkargs
+    return cmdfunc()
+  File "c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\install\lib\python\mercurial\dispatch.py",
line 340, in
<lambda>
+    d = lambda: func(ui, repo, *args, **cmdoptions)
+  File "c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\install\lib\python\mercurial\commands.py",
line 2536, in
 serve
+    cmdutil.service(opts, initfn=service.init, runfn=service.run)
+  File "c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\install\lib\python\mercurial\cmdutil.py",
line 296, in s
ervice
+    pid = os.spawnvp(os.P_NOWAIT | getattr(os, 'P_DETACH', 0),
+AttributeError: 'module' object has no attribute 'spawnvp'
+Traceback (most recent call last):
+  File "getarchive.py", line 11, in <module>
+    % (os.environ['HGPORT'], node, archive))
+  File "E:\Programs\Python25\lib\urllib2.py", line 121, in urlopen
+    return _opener.open(url, data)
+  File "E:\Programs\Python25\lib\urllib2.py", line 374, in open
+    response = self._open(req, data)
+  File "E:\Programs\Python25\lib\urllib2.py", line 392, in _open
+    '_open', req)
+  File "E:\Programs\Python25\lib\urllib2.py", line 353, in _call_chain
+    result = func(*args)
+  File "E:\Programs\Python25\lib\urllib2.py", line 1100, in http_open
+    return self.do_open(httplib.HTTPConnection, req)
+  File "E:\Programs\Python25\lib\urllib2.py", line 1075, in do_open
+    raise URLError(err)
+urllib2.URLError: <urlopen error (10061, 'Connection refused')>
+
+gzip: stdin: unexpected end of file
+Traceback (most recent call last):
+  File "getarchive.py", line 11, in <module>
+    % (os.environ['HGPORT'], node, archive))
+  File "E:\Programs\Python25\lib\urllib2.py", line 121, in urlopen
+    return _opener.open(url, data)
+  File "E:\Programs\Python25\lib\urllib2.py", line 374, in open
+    response = self._open(req, data)
+  File "E:\Programs\Python25\lib\urllib2.py", line 392, in _open
+    '_open', req)
+  File "E:\Programs\Python25\lib\urllib2.py", line 353, in _call_chain
+    result = func(*args)
+  File "E:\Programs\Python25\lib\urllib2.py", line 1100, in http_open
+    return self.do_open(httplib.HTTPConnection, req)
+  File "E:\Programs\Python25\lib\urllib2.py", line 1075, in do_open
+    raise URLError(err)
+urllib2.URLError: <urlopen error (10061, 'Connection refused')>
+E:/Programs/mycommands/bunzip2.exe: No error
+
+E:/Programs/mycommands/bunzip2.exe: Compressed file ends unexpectedly;
+       perhaps it is corrupted?  *Possible* reason follows.
+       Input file = (stdin), output file = (stdout)
+
+It is possible that the compressed file(s) have become corrupted.
+You can use the -tvv option to test integrity of such files.
+
+You can use the `bzip2recover' program to attempt to recover
+data from undamaged sections of corrupted files.
+
+Traceback (most recent call last):
+  File "getarchive.py", line 11, in <module>
+    % (os.environ['HGPORT'], node, archive))
+  File "E:\Programs\Python25\lib\urllib2.py", line 121, in urlopen
+    return _opener.open(url, data)
+  File "E:\Programs\Python25\lib\urllib2.py", line 374, in open
+    response = self._open(req, data)
+  File "E:\Programs\Python25\lib\urllib2.py", line 392, in _open
+    '_open', req)
+  File "E:\Programs\Python25\lib\urllib2.py", line 353, in _call_chain
+    result = func(*args)
+  File "E:\Programs\Python25\lib\urllib2.py", line 1100, in http_open
+    return self.do_open(httplib.HTTPConnection, req)
+  File "E:\Programs\Python25\lib\urllib2.py", line 1075, in do_open
+    raise URLError(err)
+urllib2.URLError: <urlopen error (10061, 'Connection refused')>
 Archive:  archive.zip
-    testing: test-archive-TIP/.hg_archival.txt   OK
-    testing: test-archive-TIP/bar   OK
-    testing: test-archive-TIP/baz/bletch   OK
-    testing: test-archive-TIP/foo   OK
-No errors detected in compressed data of archive.zip.
+  End-of-central-directory signature not found.  Either this file is not
+  a zipfile, or it constitutes one disk of a multi-part archive.  In the
+  latter case the central directory and zipfile comment will be found on
+  the last disk(s) of this archive.
+unzip:  cannot find zipfile directory in archive.zip,
+        and cannot find archive.zip.zip, period.
 test/.hg_archival.txt
 test/bar
 test/baz/bletch
@@ -34,10 +116,8 @@
     testing: test/baz/bletch          OK
     testing: test/foo                 OK
 No errors detected in compressed data of test.zip.
+E:/Programs/GnuWin32/bin/tar.exe: Skipping to next file header
 test-TIP/.hg_archival.txt
-test-TIP/bar
-test-TIP/baz/bletch
-test-TIP/foo
 rev-0.tar created
 % empty repo
 abort: repository has no revisions
.
ERROR: test-archive-symlinks output changed
--- Expected output
+++ Test output
@@ -1,6 +1,20 @@
+hghave: missing feature: symbolic links
+hghave: missing feature: symbolic links
 % files
-dangling -> nothing
+dangling ->
+Traceback (most recent call last):
+  File "../readlink.py", line 5, in <module>
+    print f, '->', os.readlink(f)
+AttributeError: 'module' object has no attribute 'readlink'
 % tar
-dangling -> nothing
+dangling ->
+Traceback (most recent call last):
+  File "../readlink.py", line 5, in <module>
+    print f, '->', os.readlink(f)
+AttributeError: 'module' object has no attribute 'readlink'
 % zip
-dangling -> nothing
+dangling ->
+Traceback (most recent call last):
+  File "../readlink.py", line 5, in <module>
+    print f, '->', os.readlink(f)
+AttributeError: 'module' object has no attribute 'readlink'

ERROR: test-archive-symlinks failed with error code 1
.
ERROR: test-audit-path output changed
--- Expected output
+++ Test output
@@ -2,7 +2,8 @@
 abort: path contains illegal component: .hg/00changelog.i
 adding a/a
 % should fail
-abort: path 'b/b' traverses symbolic link 'b'
+b/b: The system cannot find the path specified
 % should succeed
+b: The system cannot find the file specified
 % should still fail - maybe
-abort: path 'b/b' traverses symbolic link 'b'
+b/b: The system cannot find the path specified
..
ERROR: test-backwards-remove output changed
--- Expected output
+++ Test output
@@ -1,3 +1,23 @@
-a
+ Volume in drive C is C (windows)
+ Volume Serial Number is D44B-EC2C
+
+ Directory of c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\test-backwards-remove
+
+01/30/2008  10:25 PM    <DIR>          .
+01/30/2008  10:25 PM    <DIR>          ..
+01/30/2008  10:25 PM    <DIR>          .hg
+01/30/2008  10:25 PM                16 a
+               1 File(s)             16 bytes
+               3 Dir(s)  114,763,087,872 bytes free
 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
-a
+ Volume in drive C is C (windows)
+ Volume Serial Number is D44B-EC2C
+
+ Directory of c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\test-backwards-remove
+
+01/30/2008  10:25 PM    <DIR>          .
+01/30/2008  10:25 PM    <DIR>          ..
+01/30/2008  10:25 PM    <DIR>          .hg
+01/30/2008  10:25 PM                16 a
+               1 File(s)             16 bytes
+               3 Dir(s)  114,763,087,872 bytes free
...........
ERROR: test-changelog-exec output changed
--- Expected output
+++ Test output
@@ -1,3 +1,4 @@
+hghave: missing feature: executable bit
 % manifest of p2:
 bar
 foo
@@ -7,10 +8,10 @@
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
 (branch merge, don't forget to commit)
 % this should not mention bar:
-changeset:   3:ef2fc9b4a51b
+changeset:   3:e878bfcab2b3
 tag:         tip
 parent:      2:ed1b79f46b9a
-parent:      1:d394a8db219b
+parent:      1:effea6de0384
 user:        test
 date:        Thu Jan 01 00:00:00 1970 +0000
 description:
...
ERROR: test-clone-failure output changed
--- Expected output
+++ Test output
@@ -6,7 +6,34 @@
 255
 abort: destination '../a' already exists
 255
-abort: repository a not found!
-255
-destination directory: q
-abort: destination 'q' already exists
+Traceback (most recent call last):
+  File "<string>", line 1, in <module>
+  File "E:\Programs\Python25\lib\site-packages\pysh\pysh.py", line 130, in main
+    sys.exit(sh())
+  File "E:\Programs\Python25\lib\site-packages\pysh\pysh.py", line 122, in sh
+    return ip.execute_script(input, ast)
+  File "E:\Programs\Python25\lib\site-packages\pysh\interp.py", line
719, in execute_script
+    status = self.execute(cmd)
+  File "E:\Programs\Python25\lib\site-packages\pysh\interp.py", line
758, in execute
+    res = self.execute(t, redirs)
+  File "E:\Programs\Python25\lib\site-packages\pysh\interp.py", line
774, in execute
+    status = self._execute_pipeline(value, redirs)
+  File "E:\Programs\Python25\lib\site-packages\pysh\interp.py", line
856, in _execute_pipeline
+    status = self.execute(pipeline.commands[0], redirs)
+  File "E:\Programs\Python25\lib\site-packages\pysh\interp.py", line
786, in execute
+    status = self._execute_if_clause(value, redirs)
+  File "E:\Programs\Python25\lib\site-packages\pysh\interp.py", line
807, in _execute_if_clause
+    return self.execute(if_clause.if_cmds, redirs)
+  File "E:\Programs\Python25\lib\site-packages\pysh\interp.py", line
758, in execute
+    res = self.execute(t, redirs)
+  File "E:\Programs\Python25\lib\site-packages\pysh\interp.py", line
774, in execute
+    status = self._execute_pipeline(value, redirs)
+  File "E:\Programs\Python25\lib\site-packages\pysh\interp.py", line
856, in _execute_pipeline
+    status = self.execute(pipeline.commands[0], redirs)
+  File "E:\Programs\Python25\lib\site-packages\pysh\interp.py", line
770, in execute
+    status = self._execute_simple_command(value, redirs_copy)
+  File "E:\Programs\Python25\lib\site-packages\pysh\interp.py", line
979, in _execute_simple_command
+    redirs.stderr(), self._debugflags)
+  File "E:\Programs\Python25\lib\site-packages\pysh\interp.py", line
568, in utility_not_implemented
+    raise NotImplementedError('%s utility is not implemented' % name)
+NotImplementedError: mkfifo utility is not implemented

ERROR: test-clone-failure failed with error code 1
...
ERROR: test-command-template output changed
--- Expected output
+++ Test output
@@ -79,13 +79,12 @@
   line 1

 # error if style not readable
-abort: Permission denied: ./q
+abort: ./q: no key named 'changeset'
 # error if no style
 abort: No such file or directory: notexist
 # error if style missing key
 abort: ./t: no key named 'changeset'
 # error if include fails
-abort: template file ./q: Permission denied
 # include works
 7
 6
..........
ERROR: test-convert-cvs output changed
--- Expected output
+++ Test output
@@ -1,4 +1,6 @@
+hghave: missing feature: cvsps utility
 % create cvs repository
+cvs init: Repository
c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\test-convert-cvs\cvsrepo
initialised
 % create source directory
 % import source directory
 N src/a
@@ -17,29 +19,12 @@
 scanning source...
 sorting...
 converting...
-2 Initial revision
-1 import
-0 ci0
-updating tags
-a
-c
-c
 % convert fresh repo with --filemap
 initializing destination src-filemap repository
 connecting to cvsrepo
 scanning source...
 sorting...
 converting...
-2 Initial revision
-1 import
-rolling back last transaction
-0 ci0
-updating tags
-c
-c
-2 update tags files: .hgtags
-1 ci0 files: b/c
-0 Initial revision files: b/c
 % commit new file revisions
 checking in src/a,v
 checking in src/b/c,v
@@ -49,26 +34,12 @@
 scanning source...
 sorting...
 converting...
-0 ci1
-a
-a
-c
-c
-c
 % convert again with --filemap
 destination src-filemap is a Mercurial repository
 connecting to cvsrepo
 scanning source...
 sorting...
 converting...
-0 ci1
-c
-c
-c
-3 ci1 files: b/c
-2 update tags files: .hgtags
-1 ci0 files: b/c
-0 Initial revision files: b/c
 % commit branch
 U b/c
 T a
@@ -80,34 +51,9 @@
 scanning source...
 sorting...
 converting...
-0 ci2
-a
-a
-c
-d
 % convert again with --filemap
 destination src-filemap is a Mercurial repository
 connecting to cvsrepo
 scanning source...
 sorting...
 converting...
-0 ci2
-c
-d
-4 ci2 files: b/c
-3 ci1 files: b/c
-2 update tags files: .hgtags
-1 ci0 files: b/c
-0 Initial revision files: b/c
-o  5 (branch) ci2 files: b/c
-|
-| o  4 () ci1 files: a b/c
-| |
-| o  3 () update tags files: .hgtags
-| |
-| o  2 () ci0 files: b/c
-|/
-| o  1 (INITIAL) import files:
-|/
-o  0 () Initial revision files: a b/c
-
.
ERROR: test-convert-darcs output changed
--- Expected output
+++ Test output
@@ -1,29 +1,23 @@
+hghave: missing feature: darcs client
 % initialize darcs repo
-Finished recording patch 'p0'
+Unknown command: "darcs"
+Unknown command: "darcs"
 % branch and update
-Finished recording patch 'p1.1'
+Unknown command: "darcs"
+Invalid directory
c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\test-convert-darcs\darcs-clone
+Unknown command: "darcs"
 % update source
-Finished recording patch 'p1.2'
+Invalid directory c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\darcs-repo
+Unknown command: "darcs"
 % merge branch
-We have conflicts in the following files:
-./a
-Finished pulling and applying.
-Finished recording patch 'p2'
+Unknown command: "darcs"
+Unknown command: "darcs"
 initializing destination darcs-repo-hg repository
-scanning source...
-sorting...
-converting...
-3 p0
-2 p1.2
-1 p1.1
-0 p2
-o  3 "p2" files: a
-|
-o  2 "p1.1" files:
-|
-o  1 "p1.2" files: a b
-|
-o  0 "p0" files: a
-
-7225b30cdf38257d5cc7780772c051b6f33e6d6b 644   a
-1e88685f5ddec574a34c70af492f95b6debc8741 644   b
+darcs-repo does not look like a CVS checkout
+darcs-repo does not look like a Git repo
+Subversion python bindings could not be loaded
+darcs-repo is not a local Mercurial repo
+darcs-repo does not look like a darcs repo
+abort: darcs-repo: unknown repository type
+abort: repository darcs-repo-hg not found!
+abort: repository darcs-repo-hg not found!

ERROR: test-convert-darcs failed with error code 255
..
ERROR: test-convert-git output changed
--- Expected output
+++ Test output
@@ -1,90 +1,72 @@
-rm 'd/b'
+hghave: missing feature: git command line client
+Unknown command: "git"
+Unknown command: "git"
+Unknown command: "git"
+git commit error
+Unknown command: "git"
+Unknown command: "git"
+git commit error
+[Errno 13] Permission denied:
'c:\\docume~1\\jrw\\locals~1\\temp\\hgtests.56ywv5\\test-convert-git\\git-repo\
\d'
+Unknown command: "git"
+Unknown command: "git"
+git commit error
+Unknown command: "git"
+git commit error
+Unknown command: "git"
+Unknown command: "git"
+git commit error
+Unknown command: "git"
+Unknown command: "git"
+Unknown command: "git"
+git commit error
 assuming destination git-repo-hg
 initializing destination git-repo-hg repository
-scanning source...
-sorting...
-converting...
-5 t1
-4 t2
-3 t3
-2 t4.1
-1 t4.2
-0 Merge branch other
-changeset:   5:c6d72c98aa00
-tag:         tip
-parent:      3:a18bdfccf429
-parent:      4:48cb5b72ce56
-user:        test <test at example.org>
-date:        Mon Jan 01 00:00:15 2007 +0000
-files:       a
-description:
-Merge branch other
-
-committer: test <test at example.org>
-
-
+git-repo does not look like a CVS checkout
+git-repo does not look like a Git repo
+Subversion python bindings could not be loaded
+git-repo is not a local Mercurial repo
+git-repo does not look like a darcs repo
+abort: git-repo: unknown repository type
+abort: repository git-repo-hg not found!
+Unknown command: "git"
+Unknown command: "git"
+Unknown command: "git"
+git commit error
+Unknown command: "git"
+git commit error
+Unknown command: "git"
+Unknown command: "git"
+Unknown command: "git"
+git commit error
+Unknown command: "git"
+Unknown command: "git"
+git commit error
+Unknown command: "git"
+Unknown command: "git"
+Unknown command: "git"
+git commit error
+Unknown command: "git"
+Unknown command: "git"
+Unknown command: "git"
+git commit error
+Unknown command: "git"
+git commit error
+Unknown command: "git"
+Unknown command: "git"
+git commit error
+Unknown command: "git"
+Unknown command: "git"
+Unknown command: "git"
+git commit error
 % full conversion
-o    9 "Discard change to foo" files: foo
-|\
-| o  8 "change foo" files: foo
-| |
-o |  7 "change bar" files: bar
-|/
-o    6 "(octopus merge fixup)" files:
-|\
-| o    5 "Octopus merge" files: baz
-| |\
-o | |  4 "add baz" files: baz
-| | |
-+---o  3 "add bar" files: bar
-| |
-o |  2 "add quux" files: quux
-| |
-| o  1 "change foo" files: foo
-|/
-o  0 "add foo" files: foo
-
-245a3b8bc653999c2b22cdabd517ccb47aecafdf 644   bar
-354ae8da6e890359ef49ade27b68bbc361f3ca88 644   baz
-9277c9cc8dd4576fc01a17939b4351e5ada93466 644   foo
-88dfeab657e8cf2cef3dec67b914f49791ae76b1 644   quux
+abort: git-repo2: unknown repository type
+abort: repository fullrepo not found!
+abort: repository fullrepo not found!
 % foo bar baz: octopus merge
-o    8 "Discard change to foo" files: foo
-|\
-| o  7 "change foo" files: foo
-| |
-o |  6 "change bar" files: bar
-|/
-o    5 "(octopus merge fixup)" files:
-|\
-| o    4 "Octopus merge" files: baz
-| |\
-o | |  3 "add baz" files: baz
-| | |
-+---o  2 "add bar" files: bar
-| |
-| o  1 "change foo" files: foo
-|/
-o  0 "add foo" files: foo
-
-245a3b8bc653999c2b22cdabd517ccb47aecafdf 644   bar
-354ae8da6e890359ef49ade27b68bbc361f3ca88 644   baz
-9277c9cc8dd4576fc01a17939b4351e5ada93466 644   foo
+abort: git-repo2: unknown repository type
+abort: repository foo-bar-baz.repo not found!
+abort: repository foo-bar-baz.repo not found!
 % foo baz quux: only some parents of an octopus merge; "discard" a head
-o  6 "Discard change to foo" files: foo
-|
-o  5 "change foo" files: foo
-|
-o    4 "Octopus merge" files:
-|\
-| o  3 "add baz" files: baz
-| |
-| o  2 "add quux" files: quux
-| |
-o |  1 "change foo" files: foo
-|/
-o  0 "add foo" files: foo
-
-354ae8da6e890359ef49ade27b68bbc361f3ca88 644   baz
-9277c9cc8dd4576fc01a17939b4351e5ada93466 644   foo
-88dfeab657e8cf2cef3dec67b914f49791ae76b1 644   quux
+abort: git-repo2: unknown repository type
+abort: repository foo-baz-quux.repo not found!
+abort: repository foo-baz-quux.repo not found!

ERROR: test-convert-git failed with error code 255
...
ERROR: test-convert-svn output changed
--- Expected output
+++ Test output
@@ -1,3 +1,4 @@
+hghave: missing feature: subversion python bindings
 % initial svn import
 Adding         t/a

@@ -13,11 +14,12 @@
 % convert to hg once
 assuming destination trunk-hg
 initializing destination trunk-hg repository
-scanning source...
-sorting...
-converting...
-1 init
-0 changea
+file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/trunk
does not look like a CVS
 checkout
+file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/trunk
does not look like a Git
 repo
+Subversion python bindings could not be loaded
+file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/trunk
is not a local Mercurial
 repo
+file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/trunk
does not look like a dar
cs repo
+abort: file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/trunk:
unknown reposito
ry type
 % update svn repository again
 Sending        a
 Sending        b
@@ -25,23 +27,22 @@
 Committed revision 3.
 % test incremental conversion
 assuming destination trunk-hg
-destination trunk-hg is a Mercurial repository
-scanning source...
-sorting...
-converting...
-0 changeb
+initializing destination trunk-hg repository
+file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/trunk
does not look like a CVS
 checkout
+file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/trunk
does not look like a Git
 repo
+Subversion python bindings could not be loaded
+file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/trunk
is not a local Mercurial
 repo
+file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/trunk
does not look like a dar
cs repo
+abort: file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/trunk:
unknown reposito
ry type
 % test filemap
 initializing destination fmap repository
-scanning source...
-sorting...
-converting...
-2 init
-1 changea
-0 changeb
-o  1 changeb files: b
-|
-o  0 changea files: b
-
+file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/trunk
does not look like a CVS
 checkout
+file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/trunk
does not look like a Git
 repo
+Subversion python bindings could not be loaded
+file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/trunk
is not a local Mercurial
 repo
+file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/trunk
does not look like a dar
cs repo
+abort: file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/trunk:
unknown reposito
ry type
+abort: repository fmap not found!
 # now tests that it works with trunk/branches/tags layout

 % initial svn import
@@ -66,14 +67,12 @@
 Committed revision 8.
 % convert to hg once
 initializing destination A-hg repository
-scanning source...
-sorting...
-converting...
-3 init projA
-2 hello
-1 world
-0 nice day
-updating tags
+file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/projA
does not look like a CVS
 checkout
+file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/projA
does not look like a Git
 repo
+Subversion python bindings could not be loaded
+file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/projA
is not a local Mercurial
 repo
+file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/projA
does not look like a dar
cs repo
+abort: file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/projA:
unknown reposito
ry type
 % update svn repository again
 A         todo
 A         todo/letter2.txt
@@ -88,29 +87,18 @@
 Transmitting file data .
 Committed revision 11.
 % test incremental conversion
-destination A-hg is a Mercurial repository
-scanning source...
-sorting...
-converting...
-1 second letter
-0 work in progress
-updating tags
-o  7 update tags files: .hgtags
+initializing destination A-hg repository
+file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/projA
does not look like a CVS
 checkout
+file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/projA
does not look like a Git
 repo
+Subversion python bindings could not be loaded
+file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/projA
is not a local Mercurial
 repo
+file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/projA
does not look like a dar
cs repo
+abort: file:///c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/test-convert-svn/svn-repo/projA:
unknown reposito
ry type
+Invalid directory
c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\test-convert-svn\A-hg
+@  2 added .kdiff3rc files: .hgk .kdiff3rc
 |
-o  6 work in progress files: todo/letter2.txt
+o  1 removed a file, added some others files: .hgignore_global .hgk
.jedit/perspective.xml .recently-used.xbe
l Mercurial.ini
 |
-o  5 second letter files: letter.txt todo/letter2.txt
-|
-o  4 update tags files: .hgtags
-|
-o  3 nice day files: letter.txt
-|
-o  2 world files: letter.txt
-|
-o  1 hello files: letter.txt
-|
-o  0 init projA files:
+o  0 added .jedit files to hg repo files: .jedit/abbrevs
.jedit/console/commando/g++.xml .jedit/console/comma
ndo/gcc.xml .jedit/console/commando/lua.xml
.jedit/console/commando/perl.xml .jedit/macros/Windows/Explorer.bs
h .jedit/modes/elmo.xml .jedit/modes/hero.xml .jedit/modes/jam.xml
.jedit/modes/tock.xml .jedit/modes/yacc.xml
 .jedit/perspective.xml .jedit/properties .jedit/recent.xml .recently-used.xbel

 tip
-v0.2
-v0.1
.
ERROR: test-copy output changed
--- Expected output
+++ Test output
@@ -39,8 +39,7 @@
    rev    offset  length   base linkrev nodeid       p1           p2
      0         0      65      0       1 9a263dd772e0 000000000000 000000000000
 this should show the rename information in the metadata
-copyrev: b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3
-copy: a
+Unknown interpreter "#!/usr/bin/perl -w" referenced in shebang
 ed156f22f0a6fde642de0b5eba0cbbb2  .hg/store/data/b.i
 60b725f10c9c85c70d97880dfe8191b3  bsum
 60b725f10c9c85c70d97880dfe8191b3  asum
..............
ERROR: test-dispatch output changed
--- Expected output
+++ Test output
@@ -29,4 +29,44 @@
 a
 a
 % no repo
-abort: There is no Mercurial repository here (.hg not found)!
+hg cat: invalid arguments
+hg cat [OPTION]... FILE...
+
+output the current or given revision of files
+
+    Print the specified files as they were at the given revision.
+    If no revision is given, the parent of the working directory is used,
+    or tip if no revision is checked out.
+
+    Output may be to a file, in which case the name of the file is
+    given using a format string.  The formatting rules are the same as
+    for the export command, with the following additions:
+
+    %s   basename of file being printed
+    %d   dirname of file being printed, or '.' if in repo root
+    %p   root-relative path name of file being printed
+
+options:
+
+ -o --output          print output to file with formatted name
+ -r --rev             print the given revision
+ -I --include         include names matching the given patterns
+ -X --exclude         exclude names matching the given patterns
+
+global options:
+ -R --repository      repository root directory or symbolic path name
+    --cwd             change working directory
+ -y --noninteractive  do not prompt, assume 'yes' for any required answers
+ -q --quiet           suppress output
+ -v --verbose         enable additional output
+    --config          set/override config option
+    --debug           enable debugging output
+    --debugger        start debugger
+    --encoding        set the charset encoding (default: ascii)
+    --encodingmode    set the charset encoding mode (default: strict)
+    --lsprof          print improved command execution profile
+    --traceback       print traceback on exception
+    --time            time how long the command takes
+    --profile         print command execution profile
+    --version         output version information and exit
+ -h --help            display help and exit
...........
ERROR: test-execute-bit output changed
--- Expected output
+++ Test output
@@ -1,5 +1,7 @@
+hghave: missing feature: executable bit
 adding a
-1549299e88d1 tip
+nothing changed
+d69afc33ff8a tip
 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
-d69afc33ff8a
-not executable -- whew
+d69afc33ff8a tip
+executable -- eek
...
ERROR: test-extension output changed
--- Expected output
+++ Test output
@@ -4,14 +4,14 @@
 ui == repo.ui
 Foo
 uisetup called
-ui.parentui is None
+ui.parentui isnot None
 reposetup called for a
 ui == repo.ui
 reposetup called for b
 ui == repo.ui
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
 uisetup called
-ui.parentui is None
+ui.parentui isnot None
 Bar
 % module/__init__.py-style
 uisetup called
..
ERROR: test-fetch output changed
--- Expected output
+++ Test output
@@ -22,6 +22,16 @@
 merging with new head 2:97d72e5f12c7
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
 new changeset 3:cd3a41621cf0 merges remote changes with local
-a
-b
-c
+ Volume in drive C is C (windows)
+ Volume Serial Number is D44B-EC2C
+
+ Directory of c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\test-fetch\c
+
+01/30/2008  10:29 PM    <DIR>          .
+01/30/2008  10:29 PM    <DIR>          ..
+01/30/2008  10:29 PM    <DIR>          .hg
+01/30/2008  10:29 PM                 2 a
+01/30/2008  10:29 PM                 2 b
+01/30/2008  10:29 PM                 2 c
+               3 File(s)              6 bytes
+               3 Dir(s)  114,762,964,992 bytes free
..
ERROR: test-flags output changed
--- Expected output
+++ Test output
@@ -1,3 +1,4 @@
+Unknown command: "umask"
 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
 pulling from ../test1
 requesting all changes
@@ -7,35 +8,20 @@
 added 1 changesets with 2 changes to 2 files
 (run 'hg update' to get a working copy)
 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
+nothing changed
 % the changelog should mention file a:
-a
+a b
 pulling from ../test2
 searching for changes
-adding changesets
-adding manifests
-adding file changes
-added 1 changesets with 0 changes to 0 files (+1 heads)
-(run 'hg heads' to see heads, 'hg merge' to merge)
-changeset:   2:37dccb76c058
+no changes found
+changeset:   1:a187cb361a5a
 tag:         tip
-parent:      0:4536b1c2ca69
-user:        test
-date:        Mon Jan 12 13:46:40 1970 +0000
-summary:     chmod +x a
-
-changeset:   1:a187cb361a5a
 user:        test
 date:        Mon Jan 12 13:46:40 1970 +0000
 summary:     a updated

-changeset:   2:37dccb76c058
+changeset:   1:a187cb361a5a
 tag:         tip
-parent:      0:4536b1c2ca69
-user:        test
-date:        Mon Jan 12 13:46:40 1970 +0000
-summary:     chmod +x a
-
-changeset:   1:a187cb361a5a
 user:        test
 date:        Mon Jan 12 13:46:40 1970 +0000
 summary:     a updated
@@ -45,36 +31,18 @@
 date:        Mon Jan 12 13:46:40 1970 +0000
 summary:     added a b

-resolving manifests
-0 files updated, 0 files merged, 0 files removed, 0 files unresolved
-(branch merge, don't forget to commit)
+abort: there is nothing to merge
 pulling from ../test2
 searching for changes
-adding changesets
-adding manifests
-adding file changes
-added 1 changesets with 0 changes to 0 files (+1 heads)
-(run 'hg heads' to see heads, 'hg merge' to merge)
-changeset:   2:37dccb76c058
+no changes found
+changeset:   1:d54568174d8e
 tag:         tip
-parent:      0:4536b1c2ca69
-user:        test
-date:        Mon Jan 12 13:46:40 1970 +0000
-summary:     chmod +x a
-
-changeset:   1:d54568174d8e
 user:        test
 date:        Mon Jan 12 13:46:40 1970 +0000
 summary:     b updated

-changeset:   2:37dccb76c058
+changeset:   1:d54568174d8e
 tag:         tip
-parent:      0:4536b1c2ca69
-user:        test
-date:        Mon Jan 12 13:46:40 1970 +0000
-summary:     chmod +x a
-
-changeset:   1:d54568174d8e
 user:        test
 date:        Mon Jan 12 13:46:40 1970 +0000
 summary:     b updated
@@ -84,12 +52,29 @@
 date:        Mon Jan 12 13:46:40 1970 +0000
 summary:     added a b

-resolving manifests
-0 files updated, 0 files merged, 0 files removed, 0 files unresolved
-(branch merge, don't forget to commit)
--rwxr-x---
--rwxr-x---
--rwxr-x---
+abort: there is nothing to merge
+File Not Found
+ Volume in
+ Volume Se
+
+ Directory
+
+
+ Directory
+
+01/30/2008
+
+
+ Directory
+
+01/30/2008
+
+
+ Directory
+
+01/30/2008
+
+
    rev    offset  length   base linkrev nodeid       p1           p2
      0         0       0      0       0 b80de5d13875 000000000000 000000000000
    rev    offset  length   base linkrev nodeid       p1           p2
.
ERROR: test-git-export output changed
--- Expected output
+++ Test output
@@ -27,13 +27,17 @@
 diff --git a/src b/src
 old mode 100644
 new mode 100755
+nothing changed
+dst: not overwriting - file exists
+nothing changed
 % rename+mod+chmod
+abort: unknown revision '6'!
 diff --git a/src b/dst
 old mode 100755
 new mode 100644
 rename from src
 rename to dst
---- a/src
+--- a/dst
 +++ b/dst
 @@ -3,3 +3,4 @@ 3
  3
@@ -41,9 +45,7 @@
  5
 +a
 % nonexistent in tip+chmod
-diff --git a/src b/src
-old mode 100644
-new mode 100755
+abort: unknown revision '6'!
 % binary diff
 diff --git a/binfile.bin b/binfile.bin
 new file mode 100644
@@ -72,13 +74,13 @@
 rename to renamed.bin

 % diff across many revisions
-diff --git a/dst2 b/dst3
-rename from dst2
-rename to dst3
+dst: not copying - file is not managed
+abort: no files to copy
+dst2: The system cannot find the file specified
+abort: no files to copy
+abort: unknown revision '11'!
 %  reversed
-diff --git a/dst3 b/dst2
-rename from dst3
-rename to dst2
+abort: unknown revision '11'!

 % file created before r1 and renamed before r2
 diff --git a/foo b/bar
.
ERROR: test-git-import output changed
--- Expected output
+++ Test output
@@ -7,6 +7,7 @@
 applying patch from stdin
 % copy
 applying patch from stdin
+failed
 a
 a
 % rename
...
ERROR: test-grep output changed
--- Expected output
+++ Test output
@@ -1,10 +1,15 @@
+Unknown interpreter "#!/usr/bin/perl -w" referenced in shebang
 % pattern error
 grep: invalid match pattern: nothing to repeat!
 % simple
-port:4:export
-port:4:vaportight
-port:4:import/export
+port:3:export
+port:3:vaportight
+port:3:import/export
+port:3:import/export
 % all
+port:4:1:-:spam:export
+port:4:2:-:spam:vaportight
+port:4:3:-:spam:import/export
 port:4:4:-:spam:import/export
 port:3:4:+:eggs:import/export
 port:2:1:-:spam:import
@@ -15,10 +20,14 @@
 port:1:2:+:eggs:export
 port:0:1:+:spam:import
 % other
-port:4:import/export
+port:3:import/export
+port:3:import/export
 % follow
 port:0:import
-port2:6:4:+:eggs:deport
+port2:6:1:+:eggs:deport
+port:4:1:-:spam:export
+port:4:2:-:spam:vaportight
+port:4:3:-:spam:import/export
 port:4:4:-:spam:import/export
 port:3:4:+:eggs:import/export
 port:2:1:-:spam:import
....
ERROR: test-hgweb output changed
--- Expected output
+++ Test output
@@ -1,16 +1,82 @@
 adding da/foo
 adding foo
+** unknown exception encountered, details follow
+** report bug details to http://www.selenic.com/mercurial/bts
+** or mercurial at selenic.com
+** Mercurial Distributed SCM (version 8f3a51144e86)
+Traceback (most recent call last):
+  File "c:/docume~1/jrw/locals~1/temp/hgtests.56ywv5/install/bin/hg",
line 14, in <module>
+    mercurial.dispatch.run()
+  File "c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\install\lib\python\mercurial\dispatch.py",
line 20, in r
un
+    sys.exit(dispatch(sys.argv[1:]))
+  File "c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\install\lib\python\mercurial\dispatch.py",
line 29, in d
ispatch
+    return _runcatch(u, args)
+  File "c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\install\lib\python\mercurial\dispatch.py",
line 45, in _
runcatch
+    return _dispatch(ui, args)
+  File "c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\install\lib\python\mercurial\dispatch.py",
line 348, in
_dispatch
+    ret = _runcommand(ui, options, cmd, d)
+  File "c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\install\lib\python\mercurial\dispatch.py",
line 401, in
_runcommand
+    return checkargs()
+  File "c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\install\lib\python\mercurial\dispatch.py",
line 357, in
checkargs
+    return cmdfunc()
+  File "c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\install\lib\python\mercurial\dispatch.py",
line 340, in
<lambda>
+    d = lambda: func(ui, repo, *args, **cmdoptions)
+  File "c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\install\lib\python\mercurial\commands.py",
line 2536, in
 serve
+    cmdutil.service(opts, initfn=service.init, runfn=service.run)
+  File "c:\docume~1\jrw\locals~1\temp\hgtests.56ywv5\install\lib\python\mercurial\cmdutil.py",
line 296, in s
ervice
+    pid = os.spawnvp(os.P_NOWAIT | getattr(os, 'P_DETACH', 0),
+AttributeError: 'module' object has no attribute 'spawnvp'
 % manifest
-200 Script output follows
-
-
-drwxr-xr-x da
--rw-r--r-- 4 foo
-
-
-200 Script output follows
-
-
--rw-r--r-- 4 foo
-
-
+Traceback (most recent call last):
+  File "E:/Dev/projects/external/Mercurial/crew-stable/tests/get-with-headers.py",
line 9, in <module>
+    conn.request("GET", sys.argv[2])
+  File "E:\Programs\Python25\lib\httplib.py", line 862, in request
+    self._send_request(method, url, body, headers)
+  File "E:\Programs\Python25\lib\httplib.py", line 885, in _send_request
+    self.endheaders()
+  File "E:\Programs\Python25\lib\httplib.py", line 856, in endheaders
+    self._send_output()
+  File "E:\Programs\Python25\lib\httplib.py", line 728, in _send_output
+    self.send(msg)
+  File "E:\Programs\Python25\lib\httplib.py", line 695, in send
+    self.connect()
+  File "E:\Programs\Python25\lib\httplib.py", line 679, in connect
+    raise socket.error, msg
+socket.error: (10061, 'Connection refused')
+Traceback (most recent call last):
+  File "E:/Dev/projects/external/Mercurial/crew-stable/tests/get-with-headers.py",
line 9, in <module>
+    conn.request("GET", sys.argv[2])
+  File "E:\Programs\Python25\lib\httplib.py", line 862, in request
+    self._send_request(method, url, body, headers)
+  File "E:\Programs\Python25\lib\httplib.py", line 885, in _send_request
+    self.endheaders()
+  File "E:\Programs\Python25\lib\httplib.py", line 856, in endheaders
+    self._send_output()
+  File "E:\Programs\Python25\lib\httplib.py", line 728, in _send_output
+    self.send(msg)
+  File "E:\Programs\Python25\lib\httplib.py", line 695, in send
+    self.connect()
+  File "E:\Programs\Python25\lib\httplib.py", line 679, in connect
+    raise socket.error, msg
+socket.error: (10061, 'Connection refused')
+Traceback (most recent call last):
+  File "<string>", line 1, in <module>
+  File "E:\Programs\Python25\lib\site-packages\pysh\pysh.py", line 130, in main
+    sys.exit(sh())
+  File "E:\Programs\Python25\lib\site-packages\pysh\pysh.py", line 122, in sh
+    return ip.execute_script(input, ast)
+  File "E:\Programs\Python25\lib\site-packages\pysh\interp.py", line
719, in execute_script
+    status = self.execute(cmd)
+  File "E:\Programs\Python25\lib\site-packages\pysh\interp.py", line
758, in execute
+    res = self.execute(t, redirs)
+  File "E:\Programs\Python25\lib\site-packages\pysh\interp.py", line
774, in execute
+    status = self._execute_pipeline(value, redirs)
+  File "E:\Programs\Python25\lib\site-packages\pysh\interp.py", line
856, in _execute_pipeline
+    status = self.execute(pipeline.commands[0], redirs)
+  File "E:\Programs\Python25\lib\site-packages\pysh\interp.py", line
770, in execute
+    status = self._execute_simple_command(value, redirs_copy)
+  File "E:\Programs\Python25\lib\site-packages\pysh\interp.py", line
979, in _execute_simple_command
+    redirs.stderr(), self._debugflags)
+  File "E:\Programs\Python25\lib\site-packages\pysh\builtin.py", line
371, in utility_kill
+    raise NotImplementedError()
+NotImplementedError

ERROR: test-hgweb failed with error code 1
..
interrupted!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no_disk.png
Type: image/png
Size: 5435 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20080130/e4a32a0c/attachment.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: funny.png
Type: image/png
Size: 3278 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20080130/e4a32a0c/attachment-0001.png 


More information about the Mercurial-devel mailing list