Mercurialのビルド3

ビルドはできたような気はするが、バイナリパッケージとはずいぶん異なるようである。この状態でmercurial.iniを読み込ませるのはどうすればいいのか良く分からない。
とりあえず、
http://www.selenic.com/mercurial/wiki/BuildingWindowsInstaller
を試してみる。

以下をインストール
Python for Windows Extensions
http://sourceforge.net/projects/pywin32/

The py2exe distutils extension
http://sourceforge.net/projects/py2exe/

C:\work\hg\mercurial>python setup.py py2exe -b 1

C:\python26\lib\site-packages\py2exe\build_exe.py:16: DeprecationWarning: the se
ts module is deprecated
  import sets
running py2exe
running build_py
copying mercurial\__version__.py -> build\lib.win32-2.6\mercurial
running build_ext
running build_scripts
running build_mo
warning: build_mo: could not find msgfmt executable, no translations will be built

 *** searching for required modules ***
 *** parsing results ***
 *** finding dlls needed ***
 *** create binaries ***
 *** byte compile python files ***
(略)
 *** copy extensions ***
 *** copy dlls ***
 *** copy data files ***
copying C:\python26\lib\site-packages\py2exe\run.exe -> C:\work\hg\dist\hg.exe
warning: py2exe: Version Info will not be included:
  could not parse version number '9afef2eba84c'
Adding python26.dll to C:\work\hg\dist\library.zip
The following modules appear to be missing
['MySQLdb', 'OpenSSL', 'OpenSSL.SSL', 'bzrlib', 'bzrlib.revisionspec', 'dummy.Pr
ocess', 'elementtree.ElementTree', 'elementtree.cElementTree', 'email.Charset',
'email.Encoders', 'email.Errors', 'email.Generator', 'email.Header', 'email.Iter
ators', 'email.MIMEAudio', 'email.MIMEBase', 'email.MIMEImage', 'email.MIMEMessa
ge', 'email.MIMEMultipart', 'email.MIMEText', 'email.Message', 'email.Parser', '
email.Utils', 'email.base64MIME', 'email.quopriMIME', 'pygments', 'pygments.form
atters', 'pygments.lexers', 'pygments.util', 'svn', 'svn.client', 'svn.core', 's
vn.delta', 'svn.ra', 'win32com.gen_py']

 *** binary dependencies ***
Your executable(s) also depend on these dlls which are not included,
you may or may not need to distribute them.

Make sure you have the license if you distribute any of them, and
make sure you don't distribute files belonging to the operating system.


   OLEAUT32.dll - C:\WINDOWS\system32\OLEAUT32.dll
   USER32.dll - C:\WINDOWS\system32\USER32.dll
   MSWSOCK.dll - C:\WINDOWS\system32\MSWSOCK.dll
   SHELL32.dll - C:\WINDOWS\system32\SHELL32.dll
   ole32.dll - C:\WINDOWS\system32\ole32.dll
   WSOCK32.dll - C:\WINDOWS\system32\WSOCK32.dll
   ADVAPI32.dll - C:\WINDOWS\system32\ADVAPI32.dll
   WS2_32.dll - C:\WINDOWS\system32\WS2_32.dll
   VERSION.dll - C:\WINDOWS\system32\VERSION.dll
   KERNEL32.dll - C:\WINDOWS\system32\KERNEL32.dll

うまくいっているのかどうか良く分からないが、hg.exe, library.zipは生成され、mercurial.iniも読み込まれているようである。

ただし、library.zipはmercurial ver.1.2.1純正版と比較して以下が異なる。
(121orgが純正で、121modが手元でビルドしたもの)

ファイル名,フォルダ,比較結果,左日付,右日付,拡張子
_abcoll.pyc,., C:\temp\121mod 内のみ存在,,* 2009/05/03 15:24:46,pyc
_ctypes.pyd,., C:\temp\121mod 内のみ存在,,* 2009/04/14 22:44:00,pyd
_multiprocessing.pyd,., C:\temp\121mod 内のみ存在,,* 2009/04/14 22:46:14,pyd
abc.pyc,., C:\temp\121mod 内のみ存在,,* 2009/05/03 15:24:46,pyc
collections.pyc,., C:\temp\121mod 内のみ存在,,* 2009/05/03 15:24:46,pyc
contextlib.pyc,., C:\temp\121mod 内のみ存在,,* 2009/05/03 15:24:46,pyc
functools.pyc,., C:\temp\121mod 内のみ存在,,* 2009/05/03 15:24:50,pyc
genericpath.pyc,., C:\temp\121mod 内のみ存在,,* 2009/05/03 15:24:50,pyc
gopherlib.pyc,., C:\temp\121org 内のみ存在,* 2009/03/22 11:39:58,,pyc
keyword.pyc,., C:\temp\121mod 内のみ存在,,* 2009/05/03 15:24:50,pyc
macpath.pyc,., C:\temp\121org 内のみ存在,* 2009/03/22 11:39:58,,pyc
pythoncom25.dll,., C:\temp\121org 内のみ存在,* 2008/07/27 16:27:36,,dll
pythoncom26.dll,., C:\temp\121mod 内のみ存在,,* 2008/07/28 8:42:38,dll
pywintypes25.dll,., C:\temp\121org 内のみ存在,* 2008/07/27 16:23:36,,dll
pywintypes26.dll,., C:\temp\121mod 内のみ存在,,* 2008/07/28 8:33:44,dll
Queue.pyc,., C:\temp\121mod 内のみ存在,,* 2009/05/03 15:24:46,pyc
ssl.pyc,., C:\temp\121mod 内のみ存在,,* 2009/05/03 15:24:52,pyc
__init__.pyc,ctypes, C:\temp\121mod\ctypes 内のみ存在,,* 2009/05/03 15:24:46,
_endian.pyc,ctypes, C:\temp\121mod\ctypes 内のみ存在,,* 2009/05/03 15:24:46,pyc
util.pyc,ctypes, C:\temp\121mod\ctypes 内のみ存在,,* 2009/05/03 15:24:48,pyc
__init__.pyc,ctypes\macholib, C:\temp\121mod\ctypes\macholib 内のみ存在,,* 2009/05/03 15:24:48,pyc
dyld.pyc,ctypes\macholib, C:\temp\121mod\ctypes\macholib 内のみ存在,,* 2009/05/03 15:24:48,pyc
dylib.pyc,ctypes\macholib, C:\temp\121mod\ctypes\macholib 内のみ存在,,* 2009/05/03 15:24:48,pyc
framework.pyc,ctypes\macholib, C:\temp\121mod\ctypes\macholib 内のみ存在,,* 2009/05/03 15:24:48,pyc
utf_32.pyc,encodings, C:\temp\121mod\encodings 内のみ存在,,* 2009/05/03 15:24:50,pyc
utf_32_be.pyc,encodings, C:\temp\121mod\encodings 内のみ存在,,* 2009/05/03 15:24:50,pyc
utf_32_le.pyc,encodings, C:\temp\121mod\encodings 内のみ存在,,* 2009/05/03 15:24:50,pyc
__init__.pyc,multiprocessing, C:\temp\121mod\multiprocessing 内のみ存在,,* 2009/05/03 15:24:50,pyc
connection.pyc,multiprocessing, C:\temp\121mod\multiprocessing 内のみ存在,,* 2009/05/03 15:24:50,pyc
forking.pyc,multiprocessing, C:\temp\121mod\multiprocessing 内のみ存在,,* 2009/05/03 15:24:50,pyc
heap.pyc,multiprocessing, C:\temp\121mod\multiprocessing 内のみ存在,,* 2009/05/03 15:24:50,pyc
managers.pyc,multiprocessing, C:\temp\121mod\multiprocessing 内のみ存在,,* 2009/05/03 15:24:50,pyc
pool.pyc,multiprocessing, C:\temp\121mod\multiprocessing 内のみ存在,,* 2009/05/03 15:24:50,pyc
process.pyc,multiprocessing, C:\temp\121mod\multiprocessing 内のみ存在,,* 2009/05/03 15:24:50,pyc
queues.pyc,multiprocessing, C:\temp\121mod\multiprocessing 内のみ存在,,* 2009/05/03 15:24:50,pyc
reduction.pyc,multiprocessing, C:\temp\121mod\multiprocessing 内のみ存在,,* 2009/05/03 15:24:50,pyc
sharedctypes.pyc,multiprocessing, C:\temp\121mod\multiprocessing 内のみ存在,,* 2009/05/03 15:24:50,pyc
synchronize.pyc,multiprocessing, C:\temp\121mod\multiprocessing 内のみ存在,,* 2009/05/03 15:24:50,pyc
util.pyc,multiprocessing, C:\temp\121mod\multiprocessing 内のみ存在,,* 2009/05/03 15:24:50,pyc
__init__.pyc,multiprocessing\dummy, C:\temp\121mod\multiprocessing\dummy 内のみ存在,,* 2009/05/03 15:24:50,pyc
connection.pyc,multiprocessing\dummy, C:\temp\121mod\multiprocessing\dummy 内のみ存在,,* 2009/05/03 15:24:50,pyc

Mercurialのビルド2

[ビルド環境]
Windows XP Pro. sp3
Python 2.6.2
VS 2008
C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat
実行後

C:\work\hg>python setup.py build
running build
running build_py
creating build\lib.win32-2.6
creating build\lib.win32-2.6\mercurial
copying mercurial\ancestor.py -> build\lib.win32-2.6\mercurial
copying mercurial\archival.py -> build\lib.win32-2.6\mercurial
copying mercurial\bundlerepo.py -> build\lib.win32-2.6\mercurial
copying mercurial\byterange.py -> build\lib.win32-2.6\mercurial
copying mercurial\changegroup.py -> build\lib.win32-2.6\mercurial
copying mercurial\changelog.py -> build\lib.win32-2.6\mercurial
copying mercurial\cmdutil.py -> build\lib.win32-2.6\mercurial
copying mercurial\commands.py -> build\lib.win32-2.6\mercurial
copying mercurial\config.py -> build\lib.win32-2.6\mercurial
copying mercurial\context.py -> build\lib.win32-2.6\mercurial
copying mercurial\copies.py -> build\lib.win32-2.6\mercurial
copying mercurial\demandimport.py -> build\lib.win32-2.6\mercurial
copying mercurial\dirstate.py -> build\lib.win32-2.6\mercurial
copying mercurial\dispatch.py -> build\lib.win32-2.6\mercurial
copying mercurial\encoding.py -> build\lib.win32-2.6\mercurial
copying mercurial\error.py -> build\lib.win32-2.6\mercurial
copying mercurial\extensions.py -> build\lib.win32-2.6\mercurial
copying mercurial\fancyopts.py -> build\lib.win32-2.6\mercurial
copying mercurial\filelog.py -> build\lib.win32-2.6\mercurial
copying mercurial\filemerge.py -> build\lib.win32-2.6\mercurial
copying mercurial\graphmod.py -> build\lib.win32-2.6\mercurial
copying mercurial\hbisect.py -> build\lib.win32-2.6\mercurial
copying mercurial\help.py -> build\lib.win32-2.6\mercurial
copying mercurial\hg.py -> build\lib.win32-2.6\mercurial
copying mercurial\hook.py -> build\lib.win32-2.6\mercurial
copying mercurial\httprepo.py -> build\lib.win32-2.6\mercurial
copying mercurial\i18n.py -> build\lib.win32-2.6\mercurial
copying mercurial\ignore.py -> build\lib.win32-2.6\mercurial
copying mercurial\keepalive.py -> build\lib.win32-2.6\mercurial
copying mercurial\localrepo.py -> build\lib.win32-2.6\mercurial
copying mercurial\lock.py -> build\lib.win32-2.6\mercurial
copying mercurial\lsprof.py -> build\lib.win32-2.6\mercurial
copying mercurial\lsprofcalltree.py -> build\lib.win32-2.6\mercurial
copying mercurial\mail.py -> build\lib.win32-2.6\mercurial
copying mercurial\manifest.py -> build\lib.win32-2.6\mercurial
copying mercurial\match.py -> build\lib.win32-2.6\mercurial
copying mercurial\mdiff.py -> build\lib.win32-2.6\mercurial
copying mercurial\merge.py -> build\lib.win32-2.6\mercurial
copying mercurial\node.py -> build\lib.win32-2.6\mercurial
copying mercurial\patch.py -> build\lib.win32-2.6\mercurial
copying mercurial\posix.py -> build\lib.win32-2.6\mercurial
copying mercurial\repair.py -> build\lib.win32-2.6\mercurial
copying mercurial\repo.py -> build\lib.win32-2.6\mercurial
copying mercurial\revlog.py -> build\lib.win32-2.6\mercurial
copying mercurial\simplemerge.py -> build\lib.win32-2.6\mercurial
copying mercurial\sshrepo.py -> build\lib.win32-2.6\mercurial
copying mercurial\sshserver.py -> build\lib.win32-2.6\mercurial
copying mercurial\statichttprepo.py -> build\lib.win32-2.6\mercurial
copying mercurial\store.py -> build\lib.win32-2.6\mercurial
copying mercurial\streamclone.py -> build\lib.win32-2.6\mercurial
copying mercurial\strutil.py -> build\lib.win32-2.6\mercurial
copying mercurial\templatefilters.py -> build\lib.win32-2.6\mercurial
copying mercurial\templater.py -> build\lib.win32-2.6\mercurial
copying mercurial\transaction.py -> build\lib.win32-2.6\mercurial
copying mercurial\ui.py -> build\lib.win32-2.6\mercurial
copying mercurial\url.py -> build\lib.win32-2.6\mercurial
copying mercurial\util.py -> build\lib.win32-2.6\mercurial
copying mercurial\verify.py -> build\lib.win32-2.6\mercurial
copying mercurial\win32.py -> build\lib.win32-2.6\mercurial
copying mercurial\windows.py -> build\lib.win32-2.6\mercurial
copying mercurial\__init__.py -> build\lib.win32-2.6\mercurial
copying mercurial\__version__.py -> build\lib.win32-2.6\mercurial
creating build\lib.win32-2.6\mercurial\hgweb
copying mercurial\hgweb\common.py -> build\lib.win32-2.6\mercurial\hgweb
copying mercurial\hgweb\hgwebdir_mod.py -> build\lib.win32-2.6\mercurial\hgweb
copying mercurial\hgweb\hgweb_mod.py -> build\lib.win32-2.6\mercurial\hgweb
copying mercurial\hgweb\protocol.py -> build\lib.win32-2.6\mercurial\hgweb
copying mercurial\hgweb\request.py -> build\lib.win32-2.6\mercurial\hgweb
copying mercurial\hgweb\server.py -> build\lib.win32-2.6\mercurial\hgweb
copying mercurial\hgweb\webcommands.py -> build\lib.win32-2.6\mercurial\hgweb
copying mercurial\hgweb\webutil.py -> build\lib.win32-2.6\mercurial\hgweb
copying mercurial\hgweb\wsgicgi.py -> build\lib.win32-2.6\mercurial\hgweb
copying mercurial\hgweb\__init__.py -> build\lib.win32-2.6\mercurial\hgweb
creating build\lib.win32-2.6\hgext
copying hgext\acl.py -> build\lib.win32-2.6\hgext
copying hgext\alias.py -> build\lib.win32-2.6\hgext
copying hgext\bookmarks.py -> build\lib.win32-2.6\hgext
copying hgext\bugzilla.py -> build\lib.win32-2.6\hgext
copying hgext\children.py -> build\lib.win32-2.6\hgext
copying hgext\churn.py -> build\lib.win32-2.6\hgext
copying hgext\color.py -> build\lib.win32-2.6\hgext
copying hgext\extdiff.py -> build\lib.win32-2.6\hgext
copying hgext\fetch.py -> build\lib.win32-2.6\hgext
copying hgext\gpg.py -> build\lib.win32-2.6\hgext
copying hgext\graphlog.py -> build\lib.win32-2.6\hgext
copying hgext\hgcia.py -> build\lib.win32-2.6\hgext
copying hgext\hgk.py -> build\lib.win32-2.6\hgext
copying hgext\interhg.py -> build\lib.win32-2.6\hgext
copying hgext\keyword.py -> build\lib.win32-2.6\hgext
copying hgext\mq.py -> build\lib.win32-2.6\hgext
copying hgext\notify.py -> build\lib.win32-2.6\hgext
copying hgext\pager.py -> build\lib.win32-2.6\hgext
copying hgext\parentrevspec.py -> build\lib.win32-2.6\hgext
copying hgext\patchbomb.py -> build\lib.win32-2.6\hgext
copying hgext\purge.py -> build\lib.win32-2.6\hgext
copying hgext\rebase.py -> build\lib.win32-2.6\hgext
copying hgext\record.py -> build\lib.win32-2.6\hgext
copying hgext\transplant.py -> build\lib.win32-2.6\hgext
copying hgext\win32mbcs.py -> build\lib.win32-2.6\hgext
copying hgext\win32text.py -> build\lib.win32-2.6\hgext
copying hgext\__init__.py -> build\lib.win32-2.6\hgext
creating build\lib.win32-2.6\hgext\convert
copying hgext\convert\bzr.py -> build\lib.win32-2.6\hgext\convert
copying hgext\convert\common.py -> build\lib.win32-2.6\hgext\convert
copying hgext\convert\convcmd.py -> build\lib.win32-2.6\hgext\convert
copying hgext\convert\cvs.py -> build\lib.win32-2.6\hgext\convert
copying hgext\convert\cvsps.py -> build\lib.win32-2.6\hgext\convert
copying hgext\convert\darcs.py -> build\lib.win32-2.6\hgext\convert
copying hgext\convert\filemap.py -> build\lib.win32-2.6\hgext\convert
copying hgext\convert\git.py -> build\lib.win32-2.6\hgext\convert
copying hgext\convert\gnuarch.py -> build\lib.win32-2.6\hgext\convert
copying hgext\convert\hg.py -> build\lib.win32-2.6\hgext\convert
copying hgext\convert\monotone.py -> build\lib.win32-2.6\hgext\convert
copying hgext\convert\p4.py -> build\lib.win32-2.6\hgext\convert
copying hgext\convert\subversion.py -> build\lib.win32-2.6\hgext\convert
copying hgext\convert\transport.py -> build\lib.win32-2.6\hgext\convert
copying hgext\convert\__init__.py -> build\lib.win32-2.6\hgext\convert
creating build\lib.win32-2.6\hgext\highlight
copying hgext\highlight\highlight.py -> build\lib.win32-2.6\hgext\highlight
copying hgext\highlight\__init__.py -> build\lib.win32-2.6\hgext\highlight
creating build\lib.win32-2.6\hgext\zeroconf
copying hgext\zeroconf\Zeroconf.py -> build\lib.win32-2.6\hgext\zeroconf
copying hgext\zeroconf\__init__.py -> build\lib.win32-2.6\hgext\zeroconf
running build_ext
building 'mercurial.base85' extension
creating build\temp.win32-2.6
creating build\temp.win32-2.6\Release
creating build\temp.win32-2.6\Release\mercurial
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W
3 /GS- /DNDEBUG -Ic:\python26\include -Ic:\python26\PC /Tcmercurial/base85.c /Fo
build\temp.win32-2.6\Release\mercurial/base85.obj
base85.c
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\link.exe /DLL /nologo /INCRE
MENTAL:NO /LIBPATH:c:\python26\libs /LIBPATH:c:\python26\PCbuild /EXPORT:initbas
e85 build\temp.win32-2.6\Release\mercurial/base85.obj /OUT:build\lib.win32-2.6\m
ercurial\base85.pyd /IMPLIB:build\temp.win32-2.6\Release\mercurial\base85.lib /M
ANIFESTFILE:build\temp.win32-2.6\Release\mercurial\base85.pyd.manifest
   ライブラリ build\temp.win32-2.6\Release\mercurial\base85.lib とオブジェクト b
uild\temp.win32-2.6\Release\mercurial\base85.exp を作成中
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe -nologo -manifest build
\temp.win32-2.6\Release\mercurial\base85.pyd.manifest -outputresource:build\lib.
win32-2.6\mercurial\base85.pyd;2
building 'mercurial.bdiff' extension
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W
3 /GS- /DNDEBUG -Ic:\python26\include -Ic:\python26\PC /Tcmercurial/bdiff.c /Fob
uild\temp.win32-2.6\Release\mercurial/bdiff.obj
bdiff.c
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\link.exe /DLL /nologo /INCRE
MENTAL:NO /LIBPATH:c:\python26\libs /LIBPATH:c:\python26\PCbuild /EXPORT:initbdi
ff build\temp.win32-2.6\Release\mercurial/bdiff.obj /OUT:build\lib.win32-2.6\mer
curial\bdiff.pyd /IMPLIB:build\temp.win32-2.6\Release\mercurial\bdiff.lib /MANIF
ESTFILE:build\temp.win32-2.6\Release\mercurial\bdiff.pyd.manifest
   ライブラリ build\temp.win32-2.6\Release\mercurial\bdiff.lib とオブジェクト bu
ild\temp.win32-2.6\Release\mercurial\bdiff.exp を作成中
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe -nologo -manifest build
\temp.win32-2.6\Release\mercurial\bdiff.pyd.manifest -outputresource:build\lib.w
in32-2.6\mercurial\bdiff.pyd;2
building 'mercurial.diffhelpers' extension
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W
3 /GS- /DNDEBUG -Ic:\python26\include -Ic:\python26\PC /Tcmercurial/diffhelpers.
c /Fobuild\temp.win32-2.6\Release\mercurial/diffhelpers.obj
diffhelpers.c
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\link.exe /DLL /nologo /INCRE
MENTAL:NO /LIBPATH:c:\python26\libs /LIBPATH:c:\python26\PCbuild /EXPORT:initdif
fhelpers build\temp.win32-2.6\Release\mercurial/diffhelpers.obj /OUT:build\lib.w
in32-2.6\mercurial\diffhelpers.pyd /IMPLIB:build\temp.win32-2.6\Release\mercuria
l\diffhelpers.lib /MANIFESTFILE:build\temp.win32-2.6\Release\mercurial\diffhelpe
rs.pyd.manifest
   ライブラリ build\temp.win32-2.6\Release\mercurial\diffhelpers.lib とオブジェ
クト build\temp.win32-2.6\Release\mercurial\diffhelpers.exp を作成中
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe -nologo -manifest build
\temp.win32-2.6\Release\mercurial\diffhelpers.pyd.manifest -outputresource:build
\lib.win32-2.6\mercurial\diffhelpers.pyd;2
building 'mercurial.mpatch' extension
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W
3 /GS- /DNDEBUG -Ic:\python26\include -Ic:\python26\PC /Tcmercurial/mpatch.c /Fo
build\temp.win32-2.6\Release\mercurial/mpatch.obj
mpatch.c
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\link.exe /DLL /nologo /INCRE
MENTAL:NO /LIBPATH:c:\python26\libs /LIBPATH:c:\python26\PCbuild /EXPORT:initmpa
tch build\temp.win32-2.6\Release\mercurial/mpatch.obj /OUT:build\lib.win32-2.6\m
ercurial\mpatch.pyd /IMPLIB:build\temp.win32-2.6\Release\mercurial\mpatch.lib /M
ANIFESTFILE:build\temp.win32-2.6\Release\mercurial\mpatch.pyd.manifest
   ライブラリ build\temp.win32-2.6\Release\mercurial\mpatch.lib とオブジェクト b
uild\temp.win32-2.6\Release\mercurial\mpatch.exp を作成中
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe -nologo -manifest build
\temp.win32-2.6\Release\mercurial\mpatch.pyd.manifest -outputresource:build\lib.
win32-2.6\mercurial\mpatch.pyd;2
building 'mercurial.parsers' extension
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W
3 /GS- /DNDEBUG -Ic:\python26\include -Ic:\python26\PC /Tcmercurial/parsers.c /F
obuild\temp.win32-2.6\Release\mercurial/parsers.obj
parsers.c
mercurial/parsers.c(199) : warning C4018: '>' : signed と unsigned の数値を比較
しようとしました。
mercurial/parsers.c(337) : warning C4018: '<' : signed と unsigned の数値を比較
しようとしました。
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\link.exe /DLL /nologo /INCRE
MENTAL:NO /LIBPATH:c:\python26\libs /LIBPATH:c:\python26\PCbuild /EXPORT:initpar
sers build\temp.win32-2.6\Release\mercurial/parsers.obj /OUT:build\lib.win32-2.6
\mercurial\parsers.pyd /IMPLIB:build\temp.win32-2.6\Release\mercurial\parsers.li
b /MANIFESTFILE:build\temp.win32-2.6\Release\mercurial\parsers.pyd.manifest
   ライブラリ build\temp.win32-2.6\Release\mercurial\parsers.lib とオブジェクト
build\temp.win32-2.6\Release\mercurial\parsers.exp を作成中
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe -nologo -manifest build
\temp.win32-2.6\Release\mercurial\parsers.pyd.manifest -outputresource:build\lib
.win32-2.6\mercurial\parsers.pyd;2
building 'mercurial.osutil' extension
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W
3 /GS- /DNDEBUG -Ic:\python26\include -Ic:\python26\PC /Tcmercurial/osutil.c /Fo
build\temp.win32-2.6\Release\mercurial/osutil.obj
osutil.c
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\link.exe /DLL /nologo /INCRE
MENTAL:NO /LIBPATH:c:\python26\libs /LIBPATH:c:\python26\PCbuild /EXPORT:initosu
til build\temp.win32-2.6\Release\mercurial/osutil.obj /OUT:build\lib.win32-2.6\m
ercurial\osutil.pyd /IMPLIB:build\temp.win32-2.6\Release\mercurial\osutil.lib /M
ANIFESTFILE:build\temp.win32-2.6\Release\mercurial\osutil.pyd.manifest
   ライブラリ build\temp.win32-2.6\Release\mercurial\osutil.lib とオブジェクト b
uild\temp.win32-2.6\Release\mercurial\osutil.exp を作成中
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe -nologo -manifest build
\temp.win32-2.6\Release\mercurial\osutil.pyd.manifest -outputresource:build\lib.
win32-2.6\mercurial\osutil.pyd;2
running build_scripts
creating build\scripts-2.6
copying and adjusting hg -> build\scripts-2.6
copying contrib\win32\hg.bat -> build\scripts-2.6
running build_mo
warning: build_mo: could not find msgfmt executable, no translations will be built

最後のワーニングは何だろう?

C:\work\hg>python setup.py install
(略)

byte-compiling c:\python26\Lib\site-packages\mercurial\sshrepo.py to sshrepo.pyc

byte-compiling c:\python26\Lib\site-packages\mercurial\sshserver.py to sshserver
.pyc
byte-compiling c:\python26\Lib\site-packages\mercurial\statichttprepo.py to stat
ichttprepo.pyc
byte-compiling c:\python26\Lib\site-packages\mercurial\store.py to store.pyc
byte-compiling c:\python26\Lib\site-packages\mercurial\streamclone.py to streamc
lone.pyc
byte-compiling c:\python26\Lib\site-packages\mercurial\strutil.py to strutil.pyc

byte-compiling c:\python26\Lib\site-packages\mercurial\templatefilters.py to tem
platefilters.pyc
byte-compiling c:\python26\Lib\site-packages\mercurial\templater.py to templater
.pyc
byte-compiling c:\python26\Lib\site-packages\mercurial\transaction.py to transac
tion.pyc
byte-compiling c:\python26\Lib\site-packages\mercurial\ui.py to ui.pyc
byte-compiling c:\python26\Lib\site-packages\mercurial\url.py to url.pyc
byte-compiling c:\python26\Lib\site-packages\mercurial\util.py to util.pyc
byte-compiling c:\python26\Lib\site-packages\mercurial\verify.py to verify.pyc
byte-compiling c:\python26\Lib\site-packages\mercurial\win32.py to win32.pyc
byte-compiling c:\python26\Lib\site-packages\mercurial\windows.py to windows.pyc

byte-compiling c:\python26\Lib\site-packages\mercurial\__init__.py to __init__.p
yc
byte-compiling c:\python26\Lib\site-packages\mercurial\__version__.py to __versi
on__.pyc
running install_scripts
creating c:\python26\Scripts
copying build\scripts-2.6\hg -> c:\python26\Scripts
copying build\scripts-2.6\hg.bat -> c:\python26\Scripts
running install_data
creating c:\python26\Lib\site-packages\mercurial\templates
copying templates\map-cmdline.changelog -> c:\python26\Lib\site-packages\mercuri
al\templates
copying templates\map-cmdline.compact -> c:\python26\Lib\site-packages\mercurial
\templates
copying templates\map-cmdline.default -> c:\python26\Lib\site-packages\mercurial
\templates
copying templates\template-vars.txt -> c:\python26\Lib\site-packages\mercurial\t
emplates
creating c:\python26\Lib\site-packages\mercurial\templates\atom
copying templates\atom\changelog.tmpl -> c:\python26\Lib\site-packages\mercurial
\templates\atom
copying templates\atom\changelogentry.tmpl -> c:\python26\Lib\site-packages\merc
urial\templates\atom
copying templates\atom\error.tmpl -> c:\python26\Lib\site-packages\mercurial\tem
plates\atom
copying templates\atom\filelog.tmpl -> c:\python26\Lib\site-packages\mercurial\t
emplates\atom
copying templates\atom\header.tmpl -> c:\python26\Lib\site-packages\mercurial\te
mplates\atom
copying templates\atom\map -> c:\python26\Lib\site-packages\mercurial\templates\
atom
copying templates\atom\tagentry.tmpl -> c:\python26\Lib\site-packages\mercurial\
templates\atom
copying templates\atom\tags.tmpl -> c:\python26\Lib\site-packages\mercurial\temp
lates\atom
creating c:\python26\Lib\site-packages\mercurial\templates\coal
copying templates\coal\header.tmpl -> c:\python26\Lib\site-packages\mercurial\te
mplates\coal
copying templates\coal\map -> c:\python26\Lib\site-packages\mercurial\templates\
coal
creating c:\python26\Lib\site-packages\mercurial\templates\gitweb
copying templates\gitweb\changelog.tmpl -> c:\python26\Lib\site-packages\mercuri
al\templates\gitweb
copying templates\gitweb\changelogentry.tmpl -> c:\python26\Lib\site-packages\me
rcurial\templates\gitweb
copying templates\gitweb\changeset.tmpl -> c:\python26\Lib\site-packages\mercuri
al\templates\gitweb
copying templates\gitweb\error.tmpl -> c:\python26\Lib\site-packages\mercurial\t
emplates\gitweb
copying templates\gitweb\fileannotate.tmpl -> c:\python26\Lib\site-packages\merc
urial\templates\gitweb
copying templates\gitweb\filediff.tmpl -> c:\python26\Lib\site-packages\mercuria
l\templates\gitweb
copying templates\gitweb\filelog.tmpl -> c:\python26\Lib\site-packages\mercurial
\templates\gitweb
copying templates\gitweb\filerevision.tmpl -> c:\python26\Lib\site-packages\merc
urial\templates\gitweb
copying templates\gitweb\footer.tmpl -> c:\python26\Lib\site-packages\mercurial\
templates\gitweb
copying templates\gitweb\graph.tmpl -> c:\python26\Lib\site-packages\mercurial\t
emplates\gitweb
copying templates\gitweb\header.tmpl -> c:\python26\Lib\site-packages\mercurial\
templates\gitweb
copying templates\gitweb\index.tmpl -> c:\python26\Lib\site-packages\mercurial\t
emplates\gitweb
copying templates\gitweb\manifest.tmpl -> c:\python26\Lib\site-packages\mercuria
l\templates\gitweb
copying templates\gitweb\map -> c:\python26\Lib\site-packages\mercurial\template
s\gitweb
copying templates\gitweb\notfound.tmpl -> c:\python26\Lib\site-packages\mercuria
l\templates\gitweb
copying templates\gitweb\search.tmpl -> c:\python26\Lib\site-packages\mercurial\
templates\gitweb
copying templates\gitweb\shortlog.tmpl -> c:\python26\Lib\site-packages\mercuria
l\templates\gitweb
copying templates\gitweb\summary.tmpl -> c:\python26\Lib\site-packages\mercurial
\templates\gitweb
copying templates\gitweb\tags.tmpl -> c:\python26\Lib\site-packages\mercurial\te
mplates\gitweb
creating c:\python26\Lib\site-packages\mercurial\templates\monoblue
copying templates\monoblue\changelog.tmpl -> c:\python26\Lib\site-packages\mercu
rial\templates\monoblue
copying templates\monoblue\changelogentry.tmpl -> c:\python26\Lib\site-packages\
mercurial\templates\monoblue
copying templates\monoblue\changeset.tmpl -> c:\python26\Lib\site-packages\mercu
rial\templates\monoblue
copying templates\monoblue\error.tmpl -> c:\python26\Lib\site-packages\mercurial
\templates\monoblue
copying templates\monoblue\fileannotate.tmpl -> c:\python26\Lib\site-packages\me
rcurial\templates\monoblue
copying templates\monoblue\filediff.tmpl -> c:\python26\Lib\site-packages\mercur
ial\templates\monoblue
copying templates\monoblue\filelog.tmpl -> c:\python26\Lib\site-packages\mercuri
al\templates\monoblue
copying templates\monoblue\filerevision.tmpl -> c:\python26\Lib\site-packages\me
rcurial\templates\monoblue
copying templates\monoblue\footer.tmpl -> c:\python26\Lib\site-packages\mercuria
l\templates\monoblue
copying templates\monoblue\graph.tmpl -> c:\python26\Lib\site-packages\mercurial
\templates\monoblue
copying templates\monoblue\header.tmpl -> c:\python26\Lib\site-packages\mercuria
l\templates\monoblue
copying templates\monoblue\index.tmpl -> c:\python26\Lib\site-packages\mercurial
\templates\monoblue
copying templates\monoblue\manifest.tmpl -> c:\python26\Lib\site-packages\mercur
ial\templates\monoblue
copying templates\monoblue\map -> c:\python26\Lib\site-packages\mercurial\templa
tes\monoblue
copying templates\monoblue\notfound.tmpl -> c:\python26\Lib\site-packages\mercur
ial\templates\monoblue
copying templates\monoblue\search.tmpl -> c:\python26\Lib\site-packages\mercuria
l\templates\monoblue
copying templates\monoblue\shortlog.tmpl -> c:\python26\Lib\site-packages\mercur
ial\templates\monoblue
copying templates\monoblue\summary.tmpl -> c:\python26\Lib\site-packages\mercuri
al\templates\monoblue
copying templates\monoblue\tags.tmpl -> c:\python26\Lib\site-packages\mercurial\
templates\monoblue
creating c:\python26\Lib\site-packages\mercurial\templates\paper
copying templates\paper\changeset.tmpl -> c:\python26\Lib\site-packages\mercuria
l\templates\paper
copying templates\paper\error.tmpl -> c:\python26\Lib\site-packages\mercurial\te
mplates\paper
copying templates\paper\fileannotate.tmpl -> c:\python26\Lib\site-packages\mercu
rial\templates\paper
copying templates\paper\filediff.tmpl -> c:\python26\Lib\site-packages\mercurial
\templates\paper
copying templates\paper\filelog.tmpl -> c:\python26\Lib\site-packages\mercurial\
templates\paper
copying templates\paper\filelogentry.tmpl -> c:\python26\Lib\site-packages\mercu
rial\templates\paper
copying templates\paper\filerevision.tmpl -> c:\python26\Lib\site-packages\mercu
rial\templates\paper
copying templates\paper\footer.tmpl -> c:\python26\Lib\site-packages\mercurial\t
emplates\paper
copying templates\paper\graph.tmpl -> c:\python26\Lib\site-packages\mercurial\te
mplates\paper
copying templates\paper\header.tmpl -> c:\python26\Lib\site-packages\mercurial\t
emplates\paper
copying templates\paper\index.tmpl -> c:\python26\Lib\site-packages\mercurial\te
mplates\paper
copying templates\paper\manifest.tmpl -> c:\python26\Lib\site-packages\mercurial
\templates\paper
copying templates\paper\map -> c:\python26\Lib\site-packages\mercurial\templates
\paper
copying templates\paper\notfound.tmpl -> c:\python26\Lib\site-packages\mercurial
\templates\paper
copying templates\paper\search.tmpl -> c:\python26\Lib\site-packages\mercurial\t
emplates\paper
copying templates\paper\shortlog.tmpl -> c:\python26\Lib\site-packages\mercurial
\templates\paper
copying templates\paper\shortlogentry.tmpl -> c:\python26\Lib\site-packages\merc
urial\templates\paper
copying templates\paper\tags.tmpl -> c:\python26\Lib\site-packages\mercurial\tem
plates\paper
creating c:\python26\Lib\site-packages\mercurial\templates\raw
copying templates\raw\changeset.tmpl -> c:\python26\Lib\site-packages\mercurial\
templates\raw
copying templates\raw\error.tmpl -> c:\python26\Lib\site-packages\mercurial\temp
lates\raw
copying templates\raw\fileannotate.tmpl -> c:\python26\Lib\site-packages\mercuri
al\templates\raw
copying templates\raw\filediff.tmpl -> c:\python26\Lib\site-packages\mercurial\t
emplates\raw
copying templates\raw\index.tmpl -> c:\python26\Lib\site-packages\mercurial\temp
lates\raw
copying templates\raw\manifest.tmpl -> c:\python26\Lib\site-packages\mercurial\t
emplates\raw
copying templates\raw\map -> c:\python26\Lib\site-packages\mercurial\templates\r
aw
copying templates\raw\notfound.tmpl -> c:\python26\Lib\site-packages\mercurial\t
emplates\raw
creating c:\python26\Lib\site-packages\mercurial\templates\rss
copying templates\rss\changelog.tmpl -> c:\python26\Lib\site-packages\mercurial\
templates\rss
copying templates\rss\changelogentry.tmpl -> c:\python26\Lib\site-packages\mercu
rial\templates\rss
copying templates\rss\error.tmpl -> c:\python26\Lib\site-packages\mercurial\temp
lates\rss
copying templates\rss\filelog.tmpl -> c:\python26\Lib\site-packages\mercurial\te
mplates\rss
copying templates\rss\filelogentry.tmpl -> c:\python26\Lib\site-packages\mercuri
al\templates\rss
copying templates\rss\header.tmpl -> c:\python26\Lib\site-packages\mercurial\tem
plates\rss
copying templates\rss\map -> c:\python26\Lib\site-packages\mercurial\templates\r
ss
copying templates\rss\tagentry.tmpl -> c:\python26\Lib\site-packages\mercurial\t
emplates\rss
copying templates\rss\tags.tmpl -> c:\python26\Lib\site-packages\mercurial\templ
ates\rss
creating c:\python26\Lib\site-packages\mercurial\templates\spartan
copying templates\spartan\changelog.tmpl -> c:\python26\Lib\site-packages\mercur
ial\templates\spartan
copying templates\spartan\changelogentry.tmpl -> c:\python26\Lib\site-packages\m
ercurial\templates\spartan
copying templates\spartan\changeset.tmpl -> c:\python26\Lib\site-packages\mercur
ial\templates\spartan
copying templates\spartan\error.tmpl -> c:\python26\Lib\site-packages\mercurial\
templates\spartan
copying templates\spartan\fileannotate.tmpl -> c:\python26\Lib\site-packages\mer
curial\templates\spartan
copying templates\spartan\filediff.tmpl -> c:\python26\Lib\site-packages\mercuri
al\templates\spartan
copying templates\spartan\filelog.tmpl -> c:\python26\Lib\site-packages\mercuria
l\templates\spartan
copying templates\spartan\filelogentry.tmpl -> c:\python26\Lib\site-packages\mer
curial\templates\spartan
copying templates\spartan\filerevision.tmpl -> c:\python26\Lib\site-packages\mer
curial\templates\spartan
copying templates\spartan\footer.tmpl -> c:\python26\Lib\site-packages\mercurial
\templates\spartan
copying templates\spartan\graph.tmpl -> c:\python26\Lib\site-packages\mercurial\
templates\spartan
copying templates\spartan\header.tmpl -> c:\python26\Lib\site-packages\mercurial
\templates\spartan
copying templates\spartan\index.tmpl -> c:\python26\Lib\site-packages\mercurial\
templates\spartan
copying templates\spartan\manifest.tmpl -> c:\python26\Lib\site-packages\mercuri
al\templates\spartan
copying templates\spartan\map -> c:\python26\Lib\site-packages\mercurial\templat
es\spartan
copying templates\spartan\notfound.tmpl -> c:\python26\Lib\site-packages\mercuri
al\templates\spartan
copying templates\spartan\search.tmpl -> c:\python26\Lib\site-packages\mercurial
\templates\spartan
copying templates\spartan\shortlog.tmpl -> c:\python26\Lib\site-packages\mercuri
al\templates\spartan
copying templates\spartan\shortlogentry.tmpl -> c:\python26\Lib\site-packages\me
rcurial\templates\spartan
copying templates\spartan\tags.tmpl -> c:\python26\Lib\site-packages\mercurial\t
emplates\spartan
creating c:\python26\Lib\site-packages\mercurial\templates\static
copying templates\static\background.png -> c:\python26\Lib\site-packages\mercuri
al\templates\static
copying templates\static\coal-file.png -> c:\python26\Lib\site-packages\mercuria
l\templates\static
copying templates\static\coal-folder.png -> c:\python26\Lib\site-packages\mercur
ial\templates\static
copying templates\static\excanvas.js -> c:\python26\Lib\site-packages\mercurial\
templates\static
copying templates\static\graph.js -> c:\python26\Lib\site-packages\mercurial\tem
plates\static
copying templates\static\hgicon.png -> c:\python26\Lib\site-packages\mercurial\t
emplates\static
copying templates\static\hglogo.png -> c:\python26\Lib\site-packages\mercurial\t
emplates\static
copying templates\static\style-coal.css -> c:\python26\Lib\site-packages\mercuri
al\templates\static
copying templates\static\style-gitweb.css -> c:\python26\Lib\site-packages\mercu
rial\templates\static
copying templates\static\style-monoblue.css -> c:\python26\Lib\site-packages\mer
curial\templates\static
copying templates\static\style-paper.css -> c:\python26\Lib\site-packages\mercur
ial\templates\static
copying templates\static\style.css -> c:\python26\Lib\site-packages\mercurial\te
mplates\static
creating c:\python26\Lib\site-packages\mercurial\i18n
copying i18n\da.po -> c:\python26\Lib\site-packages\mercurial\i18n
copying i18n\de.po -> c:\python26\Lib\site-packages\mercurial\i18n
copying i18n\it.po -> c:\python26\Lib\site-packages\mercurial\i18n
copying i18n\ja.po -> c:\python26\Lib\site-packages\mercurial\i18n
copying i18n\pt_BR.po -> c:\python26\Lib\site-packages\mercurial\i18n
copying i18n\zh_CN.po -> c:\python26\Lib\site-packages\mercurial\i18n
running install_egg_info
Writing c:\python26\Lib\site-packages\mercurial-9afef2eba84c-py2.6.egg-info
C:\work\hg>python c:\python26\scripts\hg version
Mercurial Distributed SCM (version 9afef2eba84c)

Copyright (C) 2005-2009 Matt Mackall <mpm@selenic.com> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

だいたい、
http://www.selenic.com/mercurial/wiki/index.cgi/BuildingOnWindows
と似たような感じになってるかな?

Mercurialのビルドができない

Mercurialのビルドができない。
VS2003かMingW32どちらかが必要か?

[環境]
Windows XP Pro. sp3
Visual C++ 2005 Express Editionはインストールされている。

C:\work\hg>python setup.py build
running build
running build_py
creating build
creating build\lib.win32-2.5
creating build\lib.win32-2.5\mercurial
copying mercurial\ancestor.py -> build\lib.win32-2.5\mercurial
copying mercurial\archival.py -> build\lib.win32-2.5\mercurial
copying mercurial\bundlerepo.py -> build\lib.win32-2.5\mercurial
copying mercurial\byterange.py -> build\lib.win32-2.5\mercurial
copying mercurial\changegroup.py -> build\lib.win32-2.5\mercurial
copying mercurial\changelog.py -> build\lib.win32-2.5\mercurial
copying mercurial\cmdutil.py -> build\lib.win32-2.5\mercurial
copying mercurial\commands.py -> build\lib.win32-2.5\mercurial
copying mercurial\config.py -> build\lib.win32-2.5\mercurial
copying mercurial\context.py -> build\lib.win32-2.5\mercurial
copying mercurial\copies.py -> build\lib.win32-2.5\mercurial
copying mercurial\demandimport.py -> build\lib.win32-2.5\mercurial
copying mercurial\dirstate.py -> build\lib.win32-2.5\mercurial
copying mercurial\dispatch.py -> build\lib.win32-2.5\mercurial
copying mercurial\encoding.py -> build\lib.win32-2.5\mercurial
copying mercurial\error.py -> build\lib.win32-2.5\mercurial
copying mercurial\extensions.py -> build\lib.win32-2.5\mercurial
copying mercurial\fancyopts.py -> build\lib.win32-2.5\mercurial
copying mercurial\filelog.py -> build\lib.win32-2.5\mercurial
copying mercurial\filemerge.py -> build\lib.win32-2.5\mercurial
copying mercurial\graphmod.py -> build\lib.win32-2.5\mercurial
copying mercurial\hbisect.py -> build\lib.win32-2.5\mercurial
copying mercurial\help.py -> build\lib.win32-2.5\mercurial
copying mercurial\hg.py -> build\lib.win32-2.5\mercurial
copying mercurial\hook.py -> build\lib.win32-2.5\mercurial
copying mercurial\httprepo.py -> build\lib.win32-2.5\mercurial
copying mercurial\i18n.py -> build\lib.win32-2.5\mercurial
copying mercurial\ignore.py -> build\lib.win32-2.5\mercurial
copying mercurial\keepalive.py -> build\lib.win32-2.5\mercurial
copying mercurial\localrepo.py -> build\lib.win32-2.5\mercurial
copying mercurial\lock.py -> build\lib.win32-2.5\mercurial
copying mercurial\lsprof.py -> build\lib.win32-2.5\mercurial
copying mercurial\lsprofcalltree.py -> build\lib.win32-2.5\mercurial
copying mercurial\mail.py -> build\lib.win32-2.5\mercurial
copying mercurial\manifest.py -> build\lib.win32-2.5\mercurial
copying mercurial\match.py -> build\lib.win32-2.5\mercurial
copying mercurial\mdiff.py -> build\lib.win32-2.5\mercurial
copying mercurial\merge.py -> build\lib.win32-2.5\mercurial
copying mercurial\node.py -> build\lib.win32-2.5\mercurial
copying mercurial\patch.py -> build\lib.win32-2.5\mercurial
copying mercurial\posix.py -> build\lib.win32-2.5\mercurial
copying mercurial\repair.py -> build\lib.win32-2.5\mercurial
copying mercurial\repo.py -> build\lib.win32-2.5\mercurial
copying mercurial\revlog.py -> build\lib.win32-2.5\mercurial
copying mercurial\simplemerge.py -> build\lib.win32-2.5\mercurial
copying mercurial\sshrepo.py -> build\lib.win32-2.5\mercurial
copying mercurial\sshserver.py -> build\lib.win32-2.5\mercurial
copying mercurial\statichttprepo.py -> build\lib.win32-2.5\mercurial
copying mercurial\store.py -> build\lib.win32-2.5\mercurial
copying mercurial\streamclone.py -> build\lib.win32-2.5\mercurial
copying mercurial\strutil.py -> build\lib.win32-2.5\mercurial
copying mercurial\templatefilters.py -> build\lib.win32-2.5\mercurial
copying mercurial\templater.py -> build\lib.win32-2.5\mercurial
copying mercurial\transaction.py -> build\lib.win32-2.5\mercurial
copying mercurial\ui.py -> build\lib.win32-2.5\mercurial
copying mercurial\url.py -> build\lib.win32-2.5\mercurial
copying mercurial\util.py -> build\lib.win32-2.5\mercurial
copying mercurial\verify.py -> build\lib.win32-2.5\mercurial
copying mercurial\win32.py -> build\lib.win32-2.5\mercurial
copying mercurial\windows.py -> build\lib.win32-2.5\mercurial
copying mercurial\__init__.py -> build\lib.win32-2.5\mercurial
copying mercurial\__version__.py -> build\lib.win32-2.5\mercurial
creating build\lib.win32-2.5\mercurial\hgweb
copying mercurial\hgweb\common.py -> build\lib.win32-2.5\mercurial\hgweb
copying mercurial\hgweb\hgwebdir_mod.py -> build\lib.win32-2.5\mercurial\hgweb
copying mercurial\hgweb\hgweb_mod.py -> build\lib.win32-2.5\mercurial\hgweb
copying mercurial\hgweb\protocol.py -> build\lib.win32-2.5\mercurial\hgweb
copying mercurial\hgweb\request.py -> build\lib.win32-2.5\mercurial\hgweb
copying mercurial\hgweb\server.py -> build\lib.win32-2.5\mercurial\hgweb
copying mercurial\hgweb\webcommands.py -> build\lib.win32-2.5\mercurial\hgweb
copying mercurial\hgweb\webutil.py -> build\lib.win32-2.5\mercurial\hgweb
copying mercurial\hgweb\wsgicgi.py -> build\lib.win32-2.5\mercurial\hgweb
copying mercurial\hgweb\__init__.py -> build\lib.win32-2.5\mercurial\hgweb
creating build\lib.win32-2.5\hgext
copying hgext\acl.py -> build\lib.win32-2.5\hgext
copying hgext\alias.py -> build\lib.win32-2.5\hgext
copying hgext\bookmarks.py -> build\lib.win32-2.5\hgext
copying hgext\bugzilla.py -> build\lib.win32-2.5\hgext
copying hgext\children.py -> build\lib.win32-2.5\hgext
copying hgext\churn.py -> build\lib.win32-2.5\hgext
copying hgext\color.py -> build\lib.win32-2.5\hgext
copying hgext\extdiff.py -> build\lib.win32-2.5\hgext
copying hgext\fetch.py -> build\lib.win32-2.5\hgext
copying hgext\gpg.py -> build\lib.win32-2.5\hgext
copying hgext\graphlog.py -> build\lib.win32-2.5\hgext
copying hgext\hgcia.py -> build\lib.win32-2.5\hgext
copying hgext\hgk.py -> build\lib.win32-2.5\hgext
copying hgext\interhg.py -> build\lib.win32-2.5\hgext
copying hgext\keyword.py -> build\lib.win32-2.5\hgext
copying hgext\mq.py -> build\lib.win32-2.5\hgext
copying hgext\notify.py -> build\lib.win32-2.5\hgext
copying hgext\pager.py -> build\lib.win32-2.5\hgext
copying hgext\parentrevspec.py -> build\lib.win32-2.5\hgext
copying hgext\patchbomb.py -> build\lib.win32-2.5\hgext
copying hgext\purge.py -> build\lib.win32-2.5\hgext
copying hgext\rebase.py -> build\lib.win32-2.5\hgext
copying hgext\record.py -> build\lib.win32-2.5\hgext
copying hgext\transplant.py -> build\lib.win32-2.5\hgext
copying hgext\win32mbcs.py -> build\lib.win32-2.5\hgext
copying hgext\win32text.py -> build\lib.win32-2.5\hgext
copying hgext\__init__.py -> build\lib.win32-2.5\hgext
creating build\lib.win32-2.5\hgext\convert
copying hgext\convert\bzr.py -> build\lib.win32-2.5\hgext\convert
copying hgext\convert\common.py -> build\lib.win32-2.5\hgext\convert
copying hgext\convert\convcmd.py -> build\lib.win32-2.5\hgext\convert
copying hgext\convert\cvs.py -> build\lib.win32-2.5\hgext\convert
copying hgext\convert\cvsps.py -> build\lib.win32-2.5\hgext\convert
copying hgext\convert\darcs.py -> build\lib.win32-2.5\hgext\convert
copying hgext\convert\filemap.py -> build\lib.win32-2.5\hgext\convert
copying hgext\convert\git.py -> build\lib.win32-2.5\hgext\convert
copying hgext\convert\gnuarch.py -> build\lib.win32-2.5\hgext\convert
copying hgext\convert\hg.py -> build\lib.win32-2.5\hgext\convert
copying hgext\convert\monotone.py -> build\lib.win32-2.5\hgext\convert
copying hgext\convert\p4.py -> build\lib.win32-2.5\hgext\convert
copying hgext\convert\subversion.py -> build\lib.win32-2.5\hgext\convert
copying hgext\convert\transport.py -> build\lib.win32-2.5\hgext\convert
copying hgext\convert\__init__.py -> build\lib.win32-2.5\hgext\convert
creating build\lib.win32-2.5\hgext\highlight
copying hgext\highlight\highlight.py -> build\lib.win32-2.5\hgext\highlight
copying hgext\highlight\__init__.py -> build\lib.win32-2.5\hgext\highlight
creating build\lib.win32-2.5\hgext\zeroconf
copying hgext\zeroconf\Zeroconf.py -> build\lib.win32-2.5\hgext\zeroconf
copying hgext\zeroconf\__init__.py -> build\lib.win32-2.5\hgext\zeroconf
running build_ext
error: Python was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin installed,
you can try compiling with MingW32, by passing "-c mingw32" to setup.py.

bzr checkoutでエラー

bzr-svnsvnリポジトリからチェックアウトしようとしたが、エラー発生。残念。

ところで、キャッシュファイルを見ると、先頭に"SQLite format 3"の文字列あり。
ふーん、SQLite使っているんやね。

C:\work\test>bzr checkout svn+http://192.168.xx.xx/svn/hogehoge/main_app/t
runk/src
The svn+ syntax is deprecated, use http://192.168.xx.xx/svn/hogehoge/main_
app/trunk/src instead.
Initialising Subversion metadata cache in C:\Documents and Settings\koki\Local S
ettings\Application Data\svn-cache\abce1614-7725-c442-8fbf-ba35716e1cb4
bzr: ERROR: exceptions.MemoryError:

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 716, in exception_to_return_code
  File "bzrlib\commands.pyo", line 911, in run_bzr
  File "bzrlib\commands.pyo", line 547, in run_argv_aliases
  File "bzrlib\builtins.pyo", line 1187, in run
  File "C:/Program Files/Bazaar/plugins\svn\branch.py", line 293, in create_chec
kout
  File "C:/Program Files/Bazaar/plugins\svn\branch.py", line 238, in _create_hea
vyweight_checkout
  File "bzrlib\decorators.pyo", line 192, in write_locked
  File "bzrlib\branch.pyo", line 2207, in pull
  File "bzrlib\decorators.pyo", line 192, in write_locked
  File "bzrlib\branch.pyo", line 2029, in pull
  File "bzrlib\decorators.pyo", line 192, in write_locked
  File "bzrlib\branch.pyo", line 725, in update_revisions
  File "C:/Program Files/Bazaar/plugins\svn\branch.py", line 635, in update_revi
sions
  File "bzrlib\decorators.pyo", line 192, in write_locked
  File "bzrlib\branch.pyo", line 495, in fetch
  File "bzrlib\repository.pyo", line 1133, in fetch
  File "C:/Program Files/Bazaar/plugins\svn\fetch.py", line 1251, in fetch
  File "C:/Program Files/Bazaar/plugins\svn\fetch.py", line 1175, in _fetch_revi
sions
  File "C:/Program Files/Bazaar/plugins\svn\fetch.py", line 1120, in _fetch_revi
sion_switch
  File "C:/Program Files/Bazaar/plugins\svn\errors.py", line 127, in convert
  File "C:/Program Files/Bazaar/plugins\svn\fetch.py", line 906, in report_inven
tory_contents
  File "C:/Program Files/Bazaar/plugins\svn\fetch.py", line 403, in close
  File "C:/Program Files/Bazaar/plugins\svn\fetch.py", line 591, in _close
  File "bzrlib\knit.pyo", line 900, in add_lines
  File "bzrlib\knit.pyo", line 910, in _add
MemoryError

bzr 1.13 on python 2.5.2 (win32)
arguments: ['bzr', 'checkout', 'svn+http://192.168.xx.xx/svn/hogehoge/main
_app/trunk/src']
encoding: 'cp932', fsenc: 'mbcs', lang: None
plugins:
  bzrtools             C:\Program Files\Bazaar\plugins\bzrtools [1.13]
  launchpad            C:\Program Files\Bazaar\plugins\launchpad [unknown]
  netrc_credential_store C:\Program Files\Bazaar\plugins\netrc_credential_store
[unknown]
  qbzr                 C:\Program Files\Bazaar\plugins\qbzr [0.9.8]
  svn                  C:\Program Files\Bazaar\plugins\svn [0.5.3]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

bzr svn-importでエラー

svn-importはブランチに対しては実行できず、リポジトリ全体に対して実行するコマンドらしい。

C:\work\test>bzr svn-import svn+http://192.168.xx.xx/svn/SomeProject/main_app
/trunk/src
The svn+ syntax is deprecated, use http://192.168.xx.xx/svn/SomeProject/main_
app/trunk/src instead.
Initialising Subversion metadata cache in C:\Documents and Settings\koki\Local S
ettings\Application Data\svn-cache\abce1614-7725-c442-8fbf-ba35716e1cb4
bzr: ERROR: The specified path is inside a branch. Specify a different URL or a
different repository layout (see also 'bzr help svn-layout').

C:\work\test>bzr svn-import svn+http://192.168.xx.xx/svn/SomeProject/
The svn+ syntax is deprecated, use http://192.168.xx.xx/svn/SomeProject/ inst
ead.
Using repository layout: trunk1
bzr: ERROR: exceptions.MemoryError:

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 716, in exception_to_return_code
  File "bzrlib\commands.pyo", line 911, in run_bzr
  File "bzrlib\commands.pyo", line 547, in run_argv_aliases
  File "C:/Program Files/Bazaar/plugins\svn\commands.py", line 163, in run
  File "C:/Program Files/Bazaar/plugins\svn\convert.py", line 268, in convert_re
pository
  File "C:/Program Files/Bazaar/plugins\svn\fetch.py", line 1251, in fetch
  File "C:/Program Files/Bazaar/plugins\svn\fetch.py", line 1175, in _fetch_revi
sions
  File "C:/Program Files/Bazaar/plugins\svn\fetch.py", line 1120, in _fetch_revi
sion_switch
  File "C:/Program Files/Bazaar/plugins\svn\errors.py", line 127, in convert
  File "C:/Program Files/Bazaar/plugins\svn\fetch.py", line 906, in report_inven
tory_contents
  File "C:/Program Files/Bazaar/plugins\svn\fetch.py", line 403, in close
  File "C:/Program Files/Bazaar/plugins\svn\fetch.py", line 591, in _close
  File "bzrlib\knit.pyo", line 900, in add_lines
  File "bzrlib\knit.pyo", line 910, in _add
MemoryError

bzr 1.13 on python 2.5.2 (win32)
arguments: ['bzr', 'svn-import', 'svn+http://192.168.xx.xx/svn/SomeProject/']

encoding: 'cp932', fsenc: 'mbcs', lang: None
plugins:
  bzrtools             C:\Program Files\Bazaar\plugins\bzrtools [1.13]
  launchpad            C:\Program Files\Bazaar\plugins\launchpad [unknown]
  netrc_credential_store C:\Program Files\Bazaar\plugins\netrc_credential_store
[unknown]
  qbzr                 C:\Program Files\Bazaar\plugins\qbzr [0.9.8]
  svn                  C:\Program Files\Bazaar\plugins\svn [0.5.3]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

Mercurialリポジトリの取得

C:\work\hg>hg init

C:\work\hg>hg pull http://www.selenic.com/hg/
pulling from http://www.selenic.com/hg/
requesting all changes
adding changesets
adding manifests
adding file changes
added 8211 changesets with 16183 changes to 1188 files
(run 'hg update' to get a working copy)

C:\work\hg>hg update
1020 files updated, 0 files merged, 0 files removed, 0 files unresolved

bzr unit test

Windows
bzr selftest svn
を実行。
bzr 1.13
python 2.52

Ran 1235 tests in 755.157s

FAILED (failures=21, errors=543)
31 tests skipped
Permission denied: unable to remove testing dir testbzr-9cpokd.tmp

ちなみに、

bzr selftest

を実行してみると、

bzr selftest

 -------------------------------------------------------------------------
Ran 17915 tests in 6173.735s

FAILED (failures=63, errors=675, known_failure_count=11)
1586 tests skipped
Missing feature 'FTPServer' skipped 79 tests.
Missing feature '_PyEnchantFeature' skipped 7 tests.
Missing feature '_UTF8Filesystem' skipped 4 tests.
Missing feature 'bzrlib._readdir_pyx' skipped 3 tests.
Missing feature 'case-insensitive filesystem' skipped 1 tests.
Missing feature 'filesystem fifos' skipped 2 tests.
Missing feature 'hardlinks' skipped 11 tests.
Missing feature 'strace' skipped 3 tests.
Missing feature 'symlinks' skipped 342 tests.
Missing feature 'win32com.shell' skipped 4 tests.
Permission denied: unable to remove testing dir testbzr-h6frs6.tmp

エラー、失敗が沢山。具合悪そう。