Merge lp://staging/~luoyonggang/subvertpy/python3 into lp://staging/~jelmer/subvertpy/python3
Status: | Superseded |
---|---|
Proposed branch: | lp://staging/~luoyonggang/subvertpy/python3 |
Merge into: | lp://staging/~jelmer/subvertpy/python3 |
Diff against target: |
1057 lines (+275/-140) 12 files modified
README (+14/-3) setup.py (+12/-4) subvertpy/__init__.py (+1/-1) subvertpy/_ra.c (+57/-56) subvertpy/_ra_iter_log.c (+1/-1) subvertpy/client.c (+11/-18) subvertpy/editor.c (+1/-1) subvertpy/py_fixup.h (+118/-0) subvertpy/repos.c (+22/-21) subvertpy/util.c (+11/-12) subvertpy/util.h (+1/-0) subvertpy/wc.c (+26/-23) |
To merge this branch: | bzr merge lp://staging/~luoyonggang/subvertpy/python3 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jelmer Vernooij | Pending | ||
Review via email: mp+93128@code.staging.launchpad.net |
This proposal supersedes a proposal from 2012-02-15.
Description of the change
Subvertpy Now can compiled with Python3, both under win and linux.
Python 3.1.2 (release31-maint, Dec 9 2011, 20:59:40)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from subvertpy import client
>>> import subvertpy
>>> print(subvertpy
(1, 6, 12, '')
>>>
Unmerged revisions
- 2489. By Yonggang Luo
-
set sys.path in the right way.
- 2488. By Yonggang Luo
-
use svn_dirent_
internal_ style and svn_dirent_ local_style - 2487. By Yonggang Luo
-
Py_DECREF ret
- 2486. By Yonggang Luo
-
before svn 1.6, there is no svn_dirent_
internal_ style and svn_dirent_ local_style - 2485. By Yonggang Luo
-
Use svn_dirent_
internal_ style and svn_dirent_ local_style instead svn_path_ canonicalize, because under win32
the svn internal path is differ win32 local path,
such as C:\Path\To\Repos,
the win32 local path representation is C:\Path\To\Repos
but the svn internal path representation is C:/Path/To/Repos, so we need
use svn_dirent_internal_ style and svn_dirent_ local_style - 2484. By Yonggang Luo
-
more comments.
- 2483. By Yonggang Luo
-
Directly copy the binary files to build directory.
- 2482. By Yonggang Luo
-
comment update.
- 2481. By Yonggang Luo
-
merge duplicated code.
- 2480. By Yonggang Luo
-
Remove trailling space.
Hi,
Thanks for working on this.
Some comments:
* don't use C++ style comments, they break on some compilers
* can you split the svn 1.7 fixes into a separate branch?
* please merge py_fixup.h into util.c/util.h. At the moment this branch doens't build for me because I get duplicate symbols
* subvertpy is compatible back to python 2.4 - please use "from subvertpy import client" rather than "from . import client"
build/temp. linux-x86_ 64-3.2/ subvertpy/ wc.o: In function `Text_Size': src/subvertpy/ python3/ subvertpy/ py_fixup. h:117: multiple definition of `Text_Size' linux-x86_ 64-3.2/ subvertpy/ client. o:/home/ jelmer/ src/subvertpy/ python3/ subvertpy/ py_fixup. h:117: first defined here
/home/jelmer/
build/temp.