Hackable mercurial based on python 2.7

Matt Harbison matt_harbison at yahoo.com
Tue Jun 26 20:12:47 CDT 2012


Adrian Buehlmann <adrian <at> cadifra.com> writes:

> 
> On 2012-06-19 08:16, Angel Ezquerra wrote:
> > Matt,
> > 
> > Steve has just released the first TortoiseHg and mercurial installer
> > nightly builds which are based on Python 2.7. I believe the plan is to
> > only release 2.7 builds from now on (Steve, please correct me if I'm
> > wrong).
> > 
> > I wonder, do you have any plans to move the hackable mercurial package
> > to 2.7 as well?
> 
> Angel, do you have x64 Windows?
> 
> I've just uploaded
> 
>   hg-hackable-x64-python27-ec5ef276077f-1.7z
> 
> to https://bitbucket.org/abuehl/downloads/downloads
> 
> It includes my latest hg.exe.
> 
> It does not include Python, so you need to install that separately
> (requires Python 2.7).
> 

Hi Adrian,

I ran this as-is on Win7 Pro x64, put python (x64) in my $path and got a couple
of failures:

Failed test-clone.t: output changed
Failed test-commandserver.py: output changed
Failed test-init.t: output changed
Failed test-tag.t: output changed
# Ran 322 tests, 113 skipped, 4 failed.

They don't seem to point to anything grossly wrong with the configuration (I got
tons of missing dll popups and odd error messages when trying to use hackable
earlier this week, because I tried hacking it to get it to work with 2.7).  The
only other potentially odd thing I can think of is I have UAC on, but even
running MSYS shell as administrator didn't make a difference (and I can't think
of any reason why it would).  Any thoughts?


$ run-tests.py test-clone.t

--- c:\users\Matt\ScratchRepos\hg-crew\tests\test-clone.t
+++ c:\users\Matt\ScratchRepos\hg-crew\tests\test-clone.t.err
@@ -479,7 +479,7 @@
 No remote source

   $ hg clone http://127.0.0.1:3121/a b
-  abort: error: *refused* (glob)
+  abort: error: A socket operation was attempted to an unreachable network
   [255]
   $ rm -rf b # work around bug with http clone


ERROR: c:\users\Matt\ScratchRepos\hg-crew\tests\test-clone.t output changed



$ run-tests.py test-commandserver.py

--- c:\users\Matt\ScratchRepos\hg-crew\tests\test-commandserver.py.out
+++ c:\users\Matt\ScratchRepos\hg-crew\tests\test-commandserver.py.err
@@ -16,24 +16,24 @@

 basic commands:

- add           add the specified files on the next commit
- annotate      show changeset information by line for each file
- clone         make a copy of an existing repository
- commit        commit the specified files or all outstanding changes
- diff          diff repository (or selected files)
- export        dump the header and diffs for one or more changesets
- forget        forget the specified files on the next commit
- init          create a new repository in the given directory
- log           show revision history of entire repository or files
- merge         merge working directory with another revision
- phase         set or show the current phase name
- pull          pull changes from the specified source
- push          push changes to the specified destination
- remove        remove the specified files on the next commit
- serve         start stand-alone webserver
- status        show changed files in the working directory
- summary       summarize working directory state
- update        update working directory (or switch revisions)
+ add         add the specified files on the next commit
+ annotate    show changeset information by line for each file
+ clone       make a copy of an existing repository
+ commit      commit the specified files or all outstanding changes
+ diff        diff repository (or selected files)
+ export      dump the header and diffs for one or more changesets
+ forget      forget the specified files on the next commit
+ init        create a new repository in the given directory
+ log         show revision history of entire repository or files
+ merge       merge working directory with another revision
+ phase       set or show the current phase name
+ pull        pull changes from the specified source
+ push        push changes to the specified destination
+ remove      remove the specified files on the next commit
+ serve       start stand-alone webserver
+ status      show changed files in the working directory
+ summary     summarize working directory state
+ update      update working directory (or switch revisions)

 use "hg help" for the full list of commands or "hg -v" for details
  runcommand id --quiet
@@ -87,9 +87,7 @@
 testing hookoutput:

  runcommand --config hooks.pre-identify=python:test-commandserver.hook id
-hook talking
-now try to read something: 'some input'
-eff892de26ec tip
+abort: pre-identify hook is invalid (import of "test-commandserver" failed)

 testing outsidechanges:



ERROR: c:\users\Matt\ScratchRepos\hg-crew\tests\test-commandserver.py output cha
nged


$ run-tests.py test-init.t

--- c:\users\Matt\ScratchRepos\hg-crew\tests\test-init.t
+++ c:\users\Matt\ScratchRepos\hg-crew\tests\test-init.t.err
@@ -90,15 +90,13 @@

   $ hg init -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote1
   abort: repository remote1 already exists!
-  abort: could not create remote repo!
-  [255]

 clone to existing repo

   $ hg clone -e "python \"$TESTDIR/dummyssh\"" local ssh://user@dummy/remote1
   abort: repository remote1 already exists!
-  abort: could not create remote repo!
-  [255]
+  searching for changes
+  no changes found

 output of dummyssh

@@ -109,7 +107,9 @@
   Got arguments 1:user at dummy 2:hg init remote1
   Got arguments 1:user at dummy 2:hg -R remote1 serve --stdio
   Got arguments 1:user at dummy 2:hg init remote1
+  Got arguments 1:user at dummy 2:hg -R remote1 serve --stdio
   Got arguments 1:user at dummy 2:hg init remote1
+  Got arguments 1:user at dummy 2:hg -R remote1 serve --stdio

 comparing repositories


ERROR: c:\users\Matt\ScratchRepos\hg-crew\tests\test-init.t output changed



$ run-tests.py test-tag.t

--- c:\users\Matt\ScratchRepos\hg-crew\tests\test-tag.t
+++ c:\users\Matt\ScratchRepos\hg-crew\tests\test-tag.t.err
@@ -302,10 +302,6 @@
   $ hg init repo-tag
   $ hg init repo-tag-target
   $ hg -R repo-tag --config hooks.commit="\"hg\" push \"`pwd`/repo-tag-target\"
" tag tag
-  pushing to $TESTTMP/repo-tag-target
-  searching for changes
-  adding changesets
-  adding manifests
-  adding file changes
-  added 1 changesets with 1 changes to 1 files
-
+  '"$TESTTMP\repo-tag\python"' is not recognized as an internal or external com
mand,
+  operable program or batch file.
+

ERROR: c:\users\Matt\ScratchRepos\hg-crew\tests\test-tag.t output changed



More information about the Mercurial-devel mailing list