jelmer/subvertpy.git
9 years agoRelease 0.9.2. subvertpy-0.9.2 upstream/0.9.2
Jelmer Vernooij [Sun, 26 Apr 2015 09:12:13 +0000 (09:12 +0000)]
Release 0.9.2.

9 years agoSupport PYDOCTOR_OPTIONS in Makefile.
Jelmer Vernooij [Sun, 26 Apr 2015 09:11:41 +0000 (09:11 +0000)]
Support PYDOCTOR_OPTIONS in Makefile.

9 years agoFix typo: recorded_time -> wcroot_abstime
Steve Ratcliffe [Sat, 3 Jan 2015 13:02:53 +0000 (13:02 +0000)]
Fix typo: recorded_time -> wcroot_abstime

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
9 years agoIn client_info, depth an optional arg, so must be initialised.
Steve Ratcliffe [Sat, 3 Jan 2015 13:43:07 +0000 (13:43 +0000)]
In client_info, depth an optional arg, so must be initialised.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
9 years agoInitialize callback to NULL in get_username_provider.
Steve Ratcliffe [Tue, 6 Jan 2015 22:47:47 +0000 (22:47 +0000)]
Initialize callback to NULL in get_username_provider.

Its possible to get a crash on exit if this provider is used
and the callback field happens to contain junk.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
10 years agoRemove unnecessary compat code.
Jelmer Vernooij [Tue, 28 Jan 2014 03:17:26 +0000 (03:17 +0000)]
Remove unnecessary compat code.

10 years agoRemove unnecessary compat code.
Jelmer Vernooij [Tue, 28 Jan 2014 03:16:17 +0000 (03:16 +0000)]
Remove unnecessary compat code.

10 years agoDocument dropping of support for python < 2.6.
Jelmer Vernooij [Tue, 28 Jan 2014 03:13:41 +0000 (03:13 +0000)]
Document dropping of support for python < 2.6.

10 years agoUse subprocess.Popen() over os.popen3() and check GCC exit status
Jelmer Vernooij [Thu, 21 Nov 2013 02:05:10 +0000 (02:05 +0000)]
Use subprocess.Popen() over os.popen3() and check GCC exit status

The os.popen3() functions is gone in Python 3.

Before this change it looks like is_keychain_provider_available() would
always indicate success, even if the GCC command failed. Python 2’s
os.popen3() function appears to only return normal file objects, whose
close() methods do not return anything.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Patch by Martin Panter.

10 years agoUse exception handler target variable to avoid reference cycle
Jelmer Vernooij [Thu, 21 Nov 2013 02:22:22 +0000 (02:22 +0000)]
Use exception handler target variable to avoid reference cycle

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Patch by Martin Panter.

10 years agoImport TestCase from unittest2, which has addCleanup on python 2.6.
Jelmer Vernooij [Sun, 8 Dec 2013 19:57:50 +0000 (19:57 +0000)]
Import TestCase from unittest2, which has addCleanup on python 2.6.

10 years agoRemove errorring test that apparently also fails with svn 1.6.
Jelmer Vernooij [Sun, 8 Dec 2013 19:53:24 +0000 (19:53 +0000)]
Remove errorring test that apparently also fails with svn 1.6.

10 years agotravis: Install unittest2 for python2.6.
Jelmer Vernooij [Sun, 8 Dec 2013 19:48:19 +0000 (19:48 +0000)]
travis: Install unittest2 for python2.6.

10 years agotravis: Use sudo for apt-get command.
Jelmer Vernooij [Sun, 8 Dec 2013 19:46:36 +0000 (19:46 +0000)]
travis: Use sudo for apt-get command.

10 years agoAdd basic travis config.
Jelmer Vernooij [Sun, 8 Dec 2013 19:41:15 +0000 (19:41 +0000)]
Add basic travis config.

10 years agoHint about how to stop the torrent of deprecation warnings
Jelmer Vernooij [Tue, 3 Sep 2013 02:27:04 +0000 (02:27 +0000)]
Hint about how to stop the torrent of deprecation warnings

Patch by Martin Panter.

10 years agoMake sure trunk path starts with a forward slash.
Jelmer Vernooij [Wed, 30 Oct 2013 01:15:51 +0000 (01:15 +0000)]
Make sure trunk path starts with a forward slash.

Patch by Martin Panter.

10 years agoUse generator expressions rather than list comprehensions
Jelmer Vernooij [Fri, 25 Oct 2013 08:40:14 +0000 (09:40 +0100)]
Use generator expressions rather than list comprehensions

Generator expressions added in Python 2.4

Patch from Martin Panter.

10 years agoUse constant from “errno” module
Jelmer Vernooij [Mon, 26 Aug 2013 16:43:05 +0000 (16:43 +0000)]
Use constant from “errno” module

Patch from Martin Panter.

10 years agoConsistent quote signs in error message
Jelmer Vernooij [Tue, 27 Aug 2013 14:29:24 +0000 (14:29 +0000)]
Consistent quote signs in error message

Patch by Martin Panter.

10 years agoClarify microseconds for timestamp
Jelmer Vernooij [Fri, 23 Aug 2013 08:38:50 +0000 (08:38 +0000)]
Clarify microseconds for timestamp

Patch by Martin Panter.

10 years agoDocument get_log() and iter_log() default arguments
Jelmer Vernooij [Wed, 9 Oct 2013 00:46:05 +0000 (00:46 +0000)]
Document get_log() and iter_log() default arguments

Patch by Martin Panter.

10 years agoMake _ra.CredentialsIter a proper iterator in Python < 3
Jelmer Vernooij [Tue, 27 Aug 2013 14:30:33 +0000 (14:30 +0000)]
Make _ra.CredentialsIter a proper iterator in Python < 3

This allows Python 2.6’s next() built-in function to be used. Previously
only calling the next() method would work.

Patch from Martin Panter.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
10 years agoTest that delta.apply_txdelta_window() and friends work
Jelmer Vernooij [Tue, 27 Aug 2013 03:17:17 +0000 (03:17 +0000)]
Test that delta.apply_txdelta_window() and friends work

Patch from Martin Panter.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
10 years agoGet setup.py can running unittest from build directory.
Yonggang Luo [Mon, 22 Oct 2012 03:26:36 +0000 (11:26 +0800)]
Get setup.py can running unittest from build directory.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
10 years agoFix errors with the contents of changed_paths from a log call
Jelmer Vernooij [Wed, 28 Aug 2013 07:38:16 +0000 (07:38 +0000)]
Fix errors with the contents of changed_paths from a log call

Patch by Martin Panter.

10 years agoUse “key in dict” syntax rather than dict.has_key()
Jelmer Vernooij [Wed, 28 Aug 2013 05:23:00 +0000 (05:23 +0000)]
Use “key in dict” syntax rather than dict.has_key()

Introduced in Python 2.2

Patch by Martin Panter

10 years agoEncode the number of UTF-8 bytes in subvertpy.marshall.marshall()
Jelmer Vernooij [Tue, 27 Aug 2013 08:42:56 +0000 (08:42 +0000)]
Encode the number of UTF-8 bytes in subvertpy.marshall.marshall()

Patch by Martin Panter

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
10 years agoDocument some callback functions, and a RemoteAccess.iter_log() quirk
Martin Panter [Sun, 4 Aug 2013 05:38:12 +0000 (05:38 +0000)]
Document some callback functions, and a RemoteAccess.iter_log() quirk

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
10 years agoDocumentation corrections
Martin Panter [Sun, 4 Aug 2013 04:25:29 +0000 (04:25 +0000)]
Documentation corrections

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
10 years agoFix function name for Reporter.link_path()
Martin Panter [Fri, 2 Aug 2013 07:59:54 +0000 (07:59 +0000)]
Fix function name for Reporter.link_path()

Previously, calling “reporter.link_path()” would say
    TypeError: kink_path() takes at least 4 arguments (0 given)

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
11 years agoSupport failing server certification check.
Mitsuhiro Koga [Wed, 8 May 2013 22:12:29 +0000 (23:12 +0100)]
Support failing server certification check.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
11 years agoStart on 0.9.2.
Jelmer Vernooij [Mon, 6 May 2013 22:55:11 +0000 (23:55 +0100)]
Start on 0.9.2.

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.