jelmer/subvertpy.git
11 years agoRelease 0.9.1. subvertpy-0.9.1 upstream-0.9.1 upstream/0.9.1
Jelmer Vernooij [Mon, 6 May 2013 22:46:09 +0000 (23:46 +0100)]
Release 0.9.1.

11 years agoUpdate NEWS.
Jelmer Vernooij [Mon, 6 May 2013 22:23:59 +0000 (23:23 +0100)]
Update NEWS.

11 years agoUse PyObject_AsFileDescriptor instead of PyFile_AsFile and fileno.
Yonggang Luo [Mon, 6 May 2013 22:18:04 +0000 (23:18 +0100)]
Use PyObject_AsFileDescriptor instead of PyFile_AsFile and fileno.

So that apr_file_from_object works under Win32.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
11 years agoFor the moment, disable subvertpy.wc.WorkingCopy when used with Subversion 1.7.
Jelmer Vernooij [Sat, 4 May 2013 15:39:59 +0000 (16:39 +0100)]
For the moment, disable subvertpy.wc.WorkingCopy when used with Subversion 1.7.
Subversion 1.7 has some significant changes in the behaviour of
the working copy API because of the WC-NG rewrite.

Support for the WC API in newer versions of Subversion will be re-added later
(help welcome), but since most users (bzr-svn is the only I'm aware of)
don't seem to actually rely on it, it seemed better to disable it and
support 1.7 than to prevent use of newer svn versions altogether.

11 years agogitignore: Ignore .pyc and .so files.
Jelmer Vernooij [Sat, 27 Oct 2012 13:56:26 +0000 (05:56 -0800)]
gitignore: Ignore .pyc and .so files.

11 years agoFrom subvertpy import.
Yonggang Luo [Wed, 17 Oct 2012 15:52:52 +0000 (23:52 +0800)]
From subvertpy import.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
11 years agoaddCleanup for file close.
Yonggang Luo [Fri, 19 Oct 2012 12:46:13 +0000 (20:46 +0800)]
addCleanup for file close.

Conflicts:
subvertpy/tests/test_client.py

Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
11 years agoUse self.assertEqual instead self.assertEquals
Yonggang Luo [Fri, 19 Oct 2012 13:27:04 +0000 (21:27 +0800)]
Use self.assertEqual instead self.assertEquals
Use self.assertTrue instead self.assert_

Conflicts:
subvertpy/tests/test_client.py
subvertpy/tests/test_delta.py
subvertpy/tests/test_ra.py
subvertpy/tests/test_repos.py
subvertpy/tests/test_wc.py

Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
11 years agoos.tmpfile need administrator permission on Win7 and Vista
Yonggang Luo [Sat, 20 Oct 2012 21:37:25 +0000 (14:37 -0700)]
os.tmpfile need administrator permission on Win7 and Vista

use tempfile.TemporaryFile instead.
http://stackoverflow.com/questions/7807855/os-tmpfile-doesnt-work-under-windows

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
11 years agoFix running TestClient.test_info against Subversion 1.6.
Jelmer Vernooij [Sat, 20 Oct 2012 21:32:22 +0000 (14:32 -0700)]
Fix running TestClient.test_info against Subversion 1.6.

Bug: https://bugs.launchpad.net/subvertpy/+bug/1062247

11 years agoFix typo in README.
Yonggang Luo [Tue, 16 Oct 2012 12:40:24 +0000 (20:40 +0800)]
Fix typo in README.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
11 years agoAdd git ignore file.
Jelmer Vernooij [Sun, 8 Jul 2012 12:23:49 +0000 (14:23 +0200)]
Add git ignore file.

11 years agoStart on 0.9.1.
Jelmer Vernooij [Sun, 8 Jul 2012 12:18:26 +0000 (14:18 +0200)]
Start on 0.9.1.

11 years agoRelease 0.9.0.
Jelmer Vernooij [Sun, 8 Jul 2012 12:15:01 +0000 (14:15 +0200)]
Release 0.9.0.

12 years agoUpdate FSF address.
Jelmer Vernooij [Sun, 13 May 2012 02:00:36 +0000 (04:00 +0200)]
Update FSF address.

12 years agoFix compilation error.
Jelmer Vernooij [Fri, 4 May 2012 18:36:10 +0000 (20:36 +0200)]
Fix compilation error.

12 years agoAdd working copy example.
Jelmer Vernooij [Thu, 3 May 2012 11:36:46 +0000 (13:36 +0200)]
Add working copy example.

12 years agoIn Client.checkout, default to HEAD revision.
Jelmer Vernooij [Thu, 3 May 2012 11:14:23 +0000 (13:14 +0200)]
In Client.checkout, default to HEAD revision.

12 years agoAdd another docstring.
Jelmer Vernooij [Thu, 3 May 2012 11:13:50 +0000 (13:13 +0200)]
Add another docstring.

12 years agoAdd constant ERR_WC_UPGRADE_REQUIRED.
Jelmer Vernooij [Mon, 26 Mar 2012 09:44:03 +0000 (11:44 +0200)]
Add constant ERR_WC_UPGRADE_REQUIRED.

12 years agoFix compilation against svn 1.7.
Jelmer Vernooij [Mon, 12 Mar 2012 17:27:31 +0000 (18:27 +0100)]
Fix compilation against svn 1.7.

12 years agoMerge fix for test URLs on Windows from Yonggang Luo.
Jelmer Vernooij [Mon, 12 Mar 2012 17:14:35 +0000 (18:14 +0100)]
Merge fix for test URLs on Windows from Yonggang Luo.

12 years agopath to url should call pathname2url, so that the URL is consistent.
Yonggang Luo [Mon, 12 Mar 2012 16:32:02 +0000 (00:32 +0800)]
path to url should call pathname2url, so that the URL is consistent.

12 years agopath to url should call pathname2url, so that the URL is consistent.
Yonggang Luo [Mon, 12 Mar 2012 01:26:46 +0000 (09:26 +0800)]
path to url should call pathname2url, so that the URL is consistent.

12 years agoCreate temp file with correct filename under Windows OS.
Yonggang Luo [Sun, 11 Mar 2012 15:27:06 +0000 (23:27 +0800)]
Create temp file with correct filename under Windows OS.

12 years agoMerge fix from Yonggang Luo for skipping test that requires tzset on Windows.
Jelmer Vernooij [Sun, 11 Mar 2012 03:45:45 +0000 (04:45 +0100)]
Merge fix from Yonggang Luo for skipping test that requires tzset on Windows.

12 years agoInclude .c files in manifest.
Shlomi Fish [Sun, 11 Mar 2012 03:39:57 +0000 (04:39 +0100)]
Include .c files in manifest.

12 years agoMerge some more improvements to Client.{cat,log,info}, compatibility with older svn...
Jelmer Vernooij [Sun, 4 Mar 2012 20:32:19 +0000 (21:32 +0100)]
Merge some more improvements to Client.{cat,log,info}, compatibility with older svn versions.

12 years agoFix Mark's email address in AUTHORS, per his request.
Jelmer Vernooij [Sun, 4 Mar 2012 20:26:37 +0000 (21:26 +0100)]
Fix Mark's email address in AUTHORS, per his request.

12 years agoFixed versioning conditional.
Mark Lee [Sun, 4 Mar 2012 19:09:28 +0000 (11:09 -0800)]
Fixed versioning conditional.

12 years agoRemoved unnecessary dealloc function.
Mark Lee [Sun, 4 Mar 2012 19:08:14 +0000 (11:08 -0800)]
Removed unnecessary dealloc function.

12 years agoMoved a variable declaration to the top, and made sure (via unit test) that it worked...
Mark Lee [Sun, 4 Mar 2012 19:07:25 +0000 (11:07 -0800)]
Moved a variable declaration to the top, and made sure (via unit test) that it worked correctly.

12 years agoRemove trailing whitespace.
Jelmer Vernooij [Sun, 4 Mar 2012 16:58:04 +0000 (17:58 +0100)]
Remove trailing whitespace.

12 years agoRemove trailing whitespace.
Jelmer Vernooij [Sun, 4 Mar 2012 16:57:38 +0000 (17:57 +0100)]
Remove trailing whitespace.

12 years agoThe next release is going to be 0.9.0.
Jelmer Vernooij [Sun, 4 Mar 2012 16:55:37 +0000 (17:55 +0100)]
The next release is going to be 0.9.0.

12 years agoAdd bindings for svn.client.Client.info(), svn.client.Client.log() and
Jelmer Vernooij [Sun, 4 Mar 2012 14:57:55 +0000 (15:57 +0100)]
Add bindings for svn.client.Client.info(), svn.client.Client.log() and
svn.client.Client.cat(). Branch from Mark Lee with some minor tweaks.

12 years agoOn Windows, there is no tzset function, skip on unittest.
Yonggang Luo [Sun, 4 Mar 2012 02:30:23 +0000 (10:30 +0800)]
On Windows, there is no tzset function, skip on unittest.

12 years agoMerge from trunk, r2437.
Mark Lee [Sat, 3 Mar 2012 05:16:34 +0000 (21:16 -0800)]
Merge from trunk, r2437.

12 years agoAdded subvertpy.client.Client.info(), with tests.
Mark Lee [Sat, 3 Mar 2012 05:08:08 +0000 (21:08 -0800)]
Added subvertpy.client.Client.info(), with tests.

12 years agoMerge fix to remove readonly files on Windows.
Jelmer Vernooij [Thu, 1 Mar 2012 21:40:39 +0000 (22:40 +0100)]
Merge fix to remove readonly files on Windows.

12 years agoMerge support for always closing files, with tweaks.
Jelmer Vernooij [Thu, 1 Mar 2012 20:42:06 +0000 (21:42 +0100)]
Merge support for always closing files, with tweaks.

12 years agoOnly use build_with_dlls on windows.
Jelmer Vernooij [Wed, 29 Feb 2012 10:35:57 +0000 (11:35 +0100)]
Only use build_with_dlls on windows.

12 years agoUpdate NEWS.
Jelmer Vernooij [Wed, 29 Feb 2012 10:19:57 +0000 (11:19 +0100)]
Update NEWS.

12 years agoMerge updates to windows documents.
Jelmer Vernooij [Wed, 29 Feb 2012 10:18:05 +0000 (11:18 +0100)]
Merge updates to windows documents.

12 years agoMerge some improvements towards 1.7 support.
Jelmer Vernooij [Wed, 29 Feb 2012 10:17:25 +0000 (11:17 +0100)]
Merge some improvements towards 1.7 support.

12 years agoOn Windows, we need handle read only files to remove it.
Yonggang Luo [Wed, 29 Feb 2012 10:15:22 +0000 (18:15 +0800)]
On Windows, we need handle read only files to remove it.

12 years agoUnder windows, local file system url should be file:///
Yonggang Luo [Wed, 29 Feb 2012 10:13:50 +0000 (18:13 +0800)]
Under windows, local file system url should be file:///

12 years agoThere is one more file need to be closed.
Yonggang Luo [Wed, 29 Feb 2012 10:07:26 +0000 (18:07 +0800)]
There is one more file need to be closed.

12 years agoMerge fix to always close files, with tweak.
Jelmer Vernooij [Wed, 29 Feb 2012 09:44:09 +0000 (10:44 +0100)]
Merge fix to always close files, with tweak.

12 years agoMerge fix from Yonggang Luo for python3 compatibility.
Jelmer Vernooij [Wed, 29 Feb 2012 09:42:28 +0000 (10:42 +0100)]
Merge fix from Yonggang Luo for python3 compatibility.

12 years agoAdd function write_file(self, filename, content) under tests for close file properly.
Yonggang Luo [Wed, 29 Feb 2012 05:53:38 +0000 (13:53 +0800)]
Add function write_file(self, filename, content) under tests for close file properly.

12 years agoUpdate build instructions for Windows.
Yonggang Luo [Wed, 29 Feb 2012 04:58:24 +0000 (12:58 +0800)]
Update build instructions for Windows.

12 years agoGet setup.py can be runned between python 2.4 - 3.x
Yonggang Luo [Wed, 29 Feb 2012 04:46:49 +0000 (12:46 +0800)]
Get setup.py can be runned between python 2.4 - 3.x

12 years agosetup.py:Support for Subverion 1.7.x about BDB.
Yonggang Luo [Tue, 28 Feb 2012 16:02:26 +0000 (00:02 +0800)]
setup.py:Support for Subverion 1.7.x about BDB.

12 years agoSupport config data in custom locations.
Mark Lee [Fri, 24 Feb 2012 06:42:47 +0000 (22:42 -0800)]
Support config data in custom locations.

12 years agoAdded constants for depth.
Mark Lee [Fri, 24 Feb 2012 06:40:23 +0000 (22:40 -0800)]
Added constants for depth.

12 years agoUse assertIsInstance.
Mark Lee [Fri, 24 Feb 2012 05:51:56 +0000 (21:51 -0800)]
Use assertIsInstance.

12 years agoAdded subvertpy.client.Client.log(), with tests.
Mark Lee [Mon, 20 Feb 2012 22:10:46 +0000 (14:10 -0800)]
Added subvertpy.client.Client.log(), with tests.

12 years agoAdded subvertpy.client.Client.cat(), with tests.
Mark Lee [Sun, 12 Feb 2012 20:38:48 +0000 (12:38 -0800)]
Added subvertpy.client.Client.cat(), with tests.

12 years agoIgnore nose ids and apidocs directory.
Jelmer Vernooij [Wed, 1 Feb 2012 12:08:06 +0000 (13:08 +0100)]
Ignore nose ids and apidocs directory.

12 years agoConvert stdbool.h to unix line endings.
Jelmer Vernooij [Mon, 30 Jan 2012 17:28:18 +0000 (18:28 +0100)]
Convert stdbool.h to unix line endings.

12 years agoStart on 0.8.11.
Jelmer Vernooij [Mon, 23 Jan 2012 13:19:14 +0000 (14:19 +0100)]
Start on 0.8.11.

12 years agorelease 0.8.10. subvertpy-0.8.10
Jelmer Vernooij [Mon, 23 Jan 2012 13:17:39 +0000 (14:17 +0100)]
release 0.8.10.

12 years agouse absolute paths in process_committed_queue.
Jelmer Vernooij [Tue, 13 Dec 2011 19:14:03 +0000 (20:14 +0100)]
use absolute paths in process_committed_queue.

12 years agoFix some tests against svn 1.7.
Jelmer Vernooij [Tue, 13 Dec 2011 19:11:27 +0000 (20:11 +0100)]
Fix some tests against svn 1.7.

12 years agoRemove duplicate call.
Jelmer Vernooij [Tue, 13 Dec 2011 19:05:42 +0000 (20:05 +0100)]
Remove duplicate call.

12 years agoRemove bogus test.
Jelmer Vernooij [Tue, 13 Dec 2011 18:49:27 +0000 (19:49 +0100)]
Remove bogus test.

12 years agoAdd 'make check-one'.
Jelmer Vernooij [Tue, 13 Dec 2011 18:49:14 +0000 (19:49 +0100)]
Add 'make check-one'.

12 years agoInclude wc.h in wc.c to fix build issue on NetBSD 5.1/amd64.
Jelmer Vernooij [Tue, 29 Nov 2011 02:13:41 +0000 (03:13 +0100)]
Include wc.h in wc.c to fix build issue on NetBSD 5.1/amd64.

12 years agoMake SvnExtension a proper subclass rather than just a wrapper of Extension.
Jelmer Vernooij [Thu, 17 Nov 2011 00:56:10 +0000 (01:56 +0100)]
Make SvnExtension a proper subclass rather than just a wrapper of Extension.

12 years agoAdd README with build instructions.
Jelmer Vernooij [Thu, 17 Nov 2011 00:35:43 +0000 (01:35 +0100)]
Add README with build instructions.

12 years agoMerge cygwin fixes from Ronald Blaschke.
Jelmer Vernooij [Tue, 8 Nov 2011 15:51:58 +0000 (16:51 +0100)]
Merge cygwin fixes from Ronald Blaschke.

12 years agoEnable Windows auth on Cygwin.
Ronald Blaschke [Tue, 8 Nov 2011 15:03:02 +0000 (16:03 +0100)]
Enable Windows auth on Cygwin.

12 years agoClose objects before deleting temporary files.
Ronald Blaschke [Tue, 8 Nov 2011 14:41:55 +0000 (15:41 +0100)]
Close objects before deleting temporary files.

Open files can't be deleted on Windows.

12 years agoStart on 0.8.10.
Jelmer Vernooij [Wed, 26 Oct 2011 00:24:23 +0000 (17:24 -0700)]
Start on 0.8.10.

12 years agorelease 0.8.9. subvertpy-0.8.9
Jelmer Vernooij [Wed, 26 Oct 2011 00:22:52 +0000 (17:22 -0700)]
release 0.8.9.

12 years agoAdd constant ERR_WC_NODE_KIND_CHANGE.
Jelmer Vernooij [Sun, 16 Oct 2011 17:27:16 +0000 (19:27 +0200)]
Add constant ERR_WC_NODE_KIND_CHANGE.

12 years agoFix compilation with Python 2.4 and 2.5.
Jelmer Vernooij [Tue, 27 Sep 2011 15:35:01 +0000 (17:35 +0200)]
Fix compilation with Python 2.4 and 2.5.

12 years agoStart on 0.8.9.
Jelmer Vernooij [Tue, 27 Sep 2011 12:30:30 +0000 (14:30 +0200)]
Start on 0.8.9.

12 years agorelease 0.8.8. subvertpy-0.8.8
Jelmer Vernooij [Tue, 27 Sep 2011 12:27:19 +0000 (14:27 +0200)]
release 0.8.8.

12 years agoSupport None as property value in WorkingCopy.prop_set(), to remove a property.
Jelmer Vernooij [Sat, 24 Sep 2011 00:53:38 +0000 (02:53 +0200)]
Support None as property value in WorkingCopy.prop_set(), to remove a property.

12 years agoAdd constant ERR_BAD_FILENAME.
Jelmer Vernooij [Sat, 24 Sep 2011 00:51:42 +0000 (02:51 +0200)]
Add constant ERR_BAD_FILENAME.

12 years agoMake sure digests can contain null characters.
Jelmer Vernooij [Sat, 24 Sep 2011 00:03:18 +0000 (02:03 +0200)]
Make sure digests can contain null characters.

12 years agoPyList_SetItem steals.
Jelmer Vernooij [Fri, 23 Sep 2011 23:49:59 +0000 (01:49 +0200)]
PyList_SetItem steals.

12 years agoDeallocate pools on failure.
Jelmer Vernooij [Fri, 23 Sep 2011 23:42:35 +0000 (01:42 +0200)]
Deallocate pools on failure.

12 years agoFix PyList_SetItem check, canonicalize paths in crawl_revisions.
Jelmer Vernooij [Fri, 23 Sep 2011 23:35:49 +0000 (01:35 +0200)]
Fix PyList_SetItem check, canonicalize paths in crawl_revisions.

12 years agoVarious more fixes for potential memory leaks.
Jelmer Vernooij [Tue, 20 Sep 2011 21:18:26 +0000 (23:18 +0200)]
Various more fixes for potential memory leaks.

12 years agowc: Free object in case of OOM.
Jelmer Vernooij [Tue, 20 Sep 2011 21:13:20 +0000 (23:13 +0200)]
wc: Free object in case of OOM.

12 years agoMore return value checking in various places.
Jelmer Vernooij [Mon, 19 Sep 2011 23:00:08 +0000 (01:00 +0200)]
More return value checking in various places.

12 years agoDisable all by global config object.
Jelmer Vernooij [Mon, 19 Sep 2011 21:46:16 +0000 (23:46 +0200)]
Disable all by global config object.

12 years agoVarious fixes for memory leaks/potential error conditions.
Jelmer Vernooij [Mon, 19 Sep 2011 21:42:51 +0000 (23:42 +0200)]
Various fixes for memory leaks/potential error conditions.

12 years agoDrop broken config-from-dict code.
Jelmer Vernooij [Mon, 19 Sep 2011 21:42:24 +0000 (23:42 +0200)]
Drop broken config-from-dict code.

12 years agoFix several more potential memory leaks/error conditions.
Jelmer Vernooij [Mon, 19 Sep 2011 21:38:43 +0000 (23:38 +0200)]
Fix several more potential memory leaks/error conditions.

12 years agoFix several memory leaks and error checks in subvertpy.client
Jelmer Vernooij [Mon, 19 Sep 2011 21:37:27 +0000 (23:37 +0200)]
Fix several memory leaks and error checks in subvertpy.client
pointed out by Barry Warsaw.

12 years agoStart on 0.8.8.
Jelmer Vernooij [Mon, 19 Sep 2011 16:29:13 +0000 (18:29 +0200)]
Start on 0.8.8.

12 years agoFix revnum types in verify_fs, release 0.8.7. subvertpy-0.8.7
Jelmer Vernooij [Mon, 19 Sep 2011 16:27:41 +0000 (18:27 +0200)]
Fix revnum types in verify_fs, release 0.8.7.

12 years agorelease subvertpy 0.8.6. subvertpy-0.8.6
Jelmer Vernooij [Mon, 19 Sep 2011 16:04:09 +0000 (18:04 +0200)]
release subvertpy 0.8.6.

12 years agoFix double free of apr pools from subvertpy.repos.Repos.fs.
Jelmer Vernooij [Mon, 19 Sep 2011 16:01:29 +0000 (18:01 +0200)]
Fix double free of apr pools from subvertpy.repos.Repos.fs.

12 years agoFix memory leak in subvertpy.client.Client.list.
Wez Furlong [Sun, 18 Sep 2011 17:40:07 +0000 (19:40 +0200)]
Fix memory leak in subvertpy.client.Client.list.

12 years agoAdd pack_fs method.
Jelmer Vernooij [Tue, 13 Sep 2011 11:15:18 +0000 (13:15 +0200)]
Add pack_fs method.