jelmer/subvertpy.git
17 years agoWork around a strange bug in the subversion code that will report an
Jelmer Vernooij [Tue, 26 Dec 2006 02:35:40 +0000 (03:35 +0100)]
Work around a strange bug in the subversion code that will report an
add without a delete when an is being replaced and has the same filename and
origin.

17 years agoUse Option() magic.
Jelmer Vernooij [Tue, 26 Dec 2006 00:51:09 +0000 (01:51 +0100)]
Use Option() magic.

17 years agoAdd --scheme option to svn-import command.
Jelmer Vernooij [Tue, 26 Dec 2006 00:43:54 +0000 (01:43 +0100)]
Add --scheme option to svn-import command.

17 years agoWarn when noticing directories being upgraded to branches, as that'll most likely...
Jelmer Vernooij [Tue, 26 Dec 2006 00:27:08 +0000 (01:27 +0100)]
Warn when noticing directories being upgraded to branches, as that'll most likely create trouble.

17 years agoAdd more tests demonstrating weird behaviour in the subversion libraries.
Jelmer Vernooij [Tue, 26 Dec 2006 00:12:31 +0000 (01:12 +0100)]
Add more tests demonstrating weird behaviour in the subversion libraries.

17 years agoUse more pools.
Jelmer Vernooij [Mon, 25 Dec 2006 23:31:46 +0000 (00:31 +0100)]
Use more pools.

17 years agoSupport conversions with branching schemes other than trunk-0
Jelmer Vernooij [Mon, 25 Dec 2006 23:09:33 +0000 (00:09 +0100)]
Support conversions with branching schemes other than trunk-0

17 years agoUse pools to try to reduce the memory consumption.
Jelmer Vernooij [Mon, 25 Dec 2006 23:05:18 +0000 (00:05 +0100)]
Use pools to try to reduce the memory consumption.

17 years agoAdd backwards compatibility when get_dir2() isn't available
Jelmer Vernooij [Mon, 25 Dec 2006 17:12:14 +0000 (18:12 +0100)]
Add backwards compatibility when get_dir2() isn't available
(Python-subversion < 1.4)

17 years agoProperly recognize discontinued branches. Fixes #76823.
Jelmer Vernooij [Mon, 25 Dec 2006 16:20:19 +0000 (17:20 +0100)]
Properly recognize discontinued branches. Fixes #76823.

17 years agoAdd test case demonstrating a weird bug in the file id generation code.
Jelmer Vernooij [Mon, 25 Dec 2006 04:43:45 +0000 (05:43 +0100)]
Add test case demonstrating a weird bug in the file id generation code.

17 years agoFix matching formats.
Jelmer Vernooij [Mon, 25 Dec 2006 02:32:49 +0000 (03:32 +0100)]
Fix matching formats.

17 years agosvn_ra_dav seems to not be able to set dirent.kind correctly. Appears to fix #56647.
Jelmer Vernooij [Mon, 25 Dec 2006 01:51:53 +0000 (02:51 +0100)]
svn_ra_dav seems to not be able to set dirent.kind correctly. Appears to fix #56647.

17 years agoUpdate documentation.
Jelmer Vernooij [Mon, 25 Dec 2006 01:49:59 +0000 (02:49 +0100)]
Update documentation.

17 years agoMore efficient implementation of find_children().
Jelmer Vernooij [Mon, 25 Dec 2006 00:21:58 +0000 (01:21 +0100)]
More efficient implementation of find_children().
Make sure calls to get_dir2() never start with a slash, as that
causes strange errors over ra_dav.

17 years agoAdd test that demonstrates a bug in the http_webdav implementation of
Jelmer Vernooij [Sun, 24 Dec 2006 23:19:54 +0000 (00:19 +0100)]
Add test that demonstrates a bug in the http_webdav implementation of
svn.ra.get_dir2().

17 years agoCouple of minor performance improvements.
Jelmer Vernooij [Sun, 24 Dec 2006 22:23:32 +0000 (23:23 +0100)]
Couple of minor performance improvements.

17 years agoFix corner cases in get_previous().
Jelmer Vernooij [Sun, 24 Dec 2006 00:25:17 +0000 (01:25 +0100)]
Fix corner cases in get_previous().

17 years agoAdd get_property_diff() function, another helper function in the logwalker and some...
Jelmer Vernooij [Sat, 23 Dec 2006 22:56:57 +0000 (23:56 +0100)]
Add get_property_diff() function, another helper function in the logwalker and some speed optimizations.

17 years agoOptimize touches_path()
Jelmer Vernooij [Sat, 23 Dec 2006 22:21:53 +0000 (23:21 +0100)]
Optimize touches_path()

17 years agoFix unicode issue.
Jelmer Vernooij [Sat, 23 Dec 2006 22:13:23 +0000 (23:13 +0100)]
Fix unicode issue.

17 years agoOptimize find_latest_change() implementation
Jelmer Vernooij [Sat, 23 Dec 2006 22:05:42 +0000 (23:05 +0100)]
Optimize find_latest_change() implementation

17 years agoMove tracking branch properties to a separate class.
Jelmer Vernooij [Sat, 23 Dec 2006 21:38:26 +0000 (22:38 +0100)]
Move tracking branch properties to a separate class.

17 years agoRemove unused functions.
Jelmer Vernooij [Sat, 23 Dec 2006 19:54:16 +0000 (20:54 +0100)]
Remove unused functions.

17 years agoappend_revision() needs to be implemented
Jelmer Vernooij [Fri, 22 Dec 2006 19:54:05 +0000 (20:54 +0100)]
append_revision() needs to be implemented

17 years agoAdd some more tests.
Jelmer Vernooij [Fri, 22 Dec 2006 19:14:38 +0000 (20:14 +0100)]
Add some more tests.

17 years agoAdd some tests for the escape functions.
Jelmer Vernooij [Thu, 21 Dec 2006 23:18:52 +0000 (00:18 +0100)]
Add some tests for the escape functions.

17 years agoUse sqlite for branch property cache, no more dbshelve (should fix #74798)
Jelmer Vernooij [Wed, 20 Dec 2006 21:42:17 +0000 (22:42 +0100)]
Use sqlite for branch property cache, no more dbshelve (should fix #74798)

Fix regression.

17 years agoUse sqlite for the logwalker.
Jelmer Vernooij [Wed, 20 Dec 2006 19:58:05 +0000 (20:58 +0100)]
Use sqlite for the logwalker.

17 years agoFix test.
Jelmer Vernooij [Wed, 20 Dec 2006 13:50:17 +0000 (14:50 +0100)]
Fix test.

17 years agoAdd test for follow_history(_, 0)
Jelmer Vernooij [Wed, 20 Dec 2006 11:43:36 +0000 (12:43 +0100)]
Add test for follow_history(_, 0)

17 years agoRespect no_working_trees setting in repository when copying a branch.
Jelmer Vernooij [Tue, 19 Dec 2006 23:50:15 +0000 (00:50 +0100)]
Respect no_working_trees setting in repository when copying a branch.

17 years agoAdd two more tests.
Jelmer Vernooij [Tue, 19 Dec 2006 23:32:43 +0000 (00:32 +0100)]
Add two more tests.

17 years agoSupport resuming an abandoned conversion.
Jelmer Vernooij [Tue, 19 Dec 2006 21:45:25 +0000 (22:45 +0100)]
Support resuming an abandoned conversion.

17 years agoRemove support for branching from dumpfiles.
Jelmer Vernooij [Tue, 19 Dec 2006 21:23:21 +0000 (22:23 +0100)]
Remove support for branching from dumpfiles.

There are two reasons for this:

 * All files that were being opened by BzrDir.open() were being scanned
   to see if they were SVN dump files. This slowed bazaar down.

 * Since dumpfiles by themselves are always for full repositories, can be
   incremental and need to be loaded (can take anywhere from 10 seconds to
   a few hours) they aren't really convenient for short bazaar commands.

Dumpfiles are still supported when used with the svn-import command.

17 years agoAdd some more tests for find_branches(), fix bug in find_branches().
Jelmer Vernooij [Tue, 19 Dec 2006 21:21:41 +0000 (22:21 +0100)]
Add some more tests for find_branches(), fix bug in find_branches().

17 years agoAllow continuing with an existing repository.
Jelmer Vernooij [Tue, 19 Dec 2006 18:59:06 +0000 (19:59 +0100)]
Allow continuing with an existing repository.

17 years agoTrim todo (already implemented)
Jelmer Vernooij [Tue, 19 Dec 2006 17:57:18 +0000 (18:57 +0100)]
Trim todo (already implemented)

17 years agoAdd information about dependency on sqlite.
Jelmer Vernooij [Tue, 19 Dec 2006 02:05:43 +0000 (03:05 +0100)]
Add information about dependency on sqlite.

17 years agoImplement SvnRaTransport.list_dir()
Jelmer Vernooij [Mon, 18 Dec 2006 16:32:10 +0000 (17:32 +0100)]
Implement SvnRaTransport.list_dir()

17 years agoRename import-svn -> svn-import, for consistency (bzrtools has "baz-import")
Jelmer Vernooij [Mon, 18 Dec 2006 15:48:23 +0000 (16:48 +0100)]
Rename import-svn -> svn-import, for consistency (bzrtools has "baz-import")

17 years agoFix #76280 and add some docstrings.
Jelmer Vernooij [Mon, 18 Dec 2006 15:02:47 +0000 (16:02 +0100)]
Fix #76280 and add some docstrings.

17 years agoIndex on revision ids (thanks John!)
Jelmer Vernooij [Mon, 18 Dec 2006 12:18:13 +0000 (13:18 +0100)]
Index on revision ids (thanks John!)

17 years agoAdd trivial test for SvnRaTransport.reparent()
Jelmer Vernooij [Mon, 18 Dec 2006 03:55:03 +0000 (04:55 +0100)]
Add trivial test for SvnRaTransport.reparent()

17 years agoDon't reopen connection a lot of times.
Jelmer Vernooij [Mon, 18 Dec 2006 03:52:09 +0000 (04:52 +0100)]
Don't reopen connection a lot of times.

17 years agoStore file ids in sqlite database. Significantly reduces disk usage.
Jelmer Vernooij [Mon, 18 Dec 2006 03:51:25 +0000 (04:51 +0100)]
Store file ids in sqlite database. Significantly reduces disk usage.

17 years agoChange base member in reparent()
Jelmer Vernooij [Mon, 18 Dec 2006 03:50:13 +0000 (04:50 +0100)]
Change base member in reparent()

17 years agoDon't reparent until necessary.
Jelmer Vernooij [Mon, 18 Dec 2006 02:15:08 +0000 (03:15 +0100)]
Don't reparent until necessary.

17 years agoUse built-in ra callbacks from Subversion (fixes #64816)
Jelmer Vernooij [Sun, 17 Dec 2006 02:31:37 +0000 (03:31 +0100)]
Use built-in ra callbacks from Subversion (fixes #64816)

Implement SvnRaTransport.mkdir(). (fixes #65138)

17 years agoDeal with new parameter passed by bzr.
Jelmer Vernooij [Sun, 17 Dec 2006 02:23:02 +0000 (03:23 +0100)]
Deal with new parameter passed by bzr.

17 years agoRequire 0.14
Jelmer Vernooij [Sat, 16 Dec 2006 22:52:08 +0000 (23:52 +0100)]
Require 0.14

17 years agoRemove rename support inside the repository object.
Jelmer Vernooij [Sat, 16 Dec 2006 22:46:15 +0000 (23:46 +0100)]
Remove rename support inside the repository object.

17 years agoMerge local commit.
Jelmer Vernooij [Sat, 16 Dec 2006 12:14:20 +0000 (13:14 +0100)]
Merge local commit.

17 years agoFix two small tests.
Jelmer Vernooij [Fri, 15 Dec 2006 19:44:10 +0000 (20:44 +0100)]
Fix two small tests.

17 years agoAvoid raising SubversionException's for non-subversion directories.
Jelmer Vernooij [Fri, 15 Dec 2006 02:59:21 +0000 (03:59 +0100)]
Avoid raising SubversionException's for non-subversion directories.

17 years agoUse existing transports and wrap them rather than registering new transports.
Jelmer Vernooij [Fri, 15 Dec 2006 02:56:03 +0000 (03:56 +0100)]
Use existing transports and wrap them rather than registering new transports.

17 years agoRemove requirement for svn+ prefix (#75751)
Jelmer Vernooij [Thu, 14 Dec 2006 23:39:31 +0000 (00:39 +0100)]
Remove requirement for svn+ prefix (#75751)

17 years agoFix test.
Jelmer Vernooij [Thu, 14 Dec 2006 23:06:15 +0000 (00:06 +0100)]
Fix test.

17 years agoRemove svn_to_bzr_url() function.
Jelmer Vernooij [Thu, 14 Dec 2006 15:41:44 +0000 (16:41 +0100)]
Remove svn_to_bzr_url() function.

17 years ago0.13 is actually already out. bzr-svn-0.2
Jelmer Vernooij [Thu, 14 Dec 2006 01:59:17 +0000 (02:59 +0100)]
0.13 is actually already out.

17 years agobzr-svn requires bazaar 0.13.
Jelmer Vernooij [Thu, 14 Dec 2006 01:34:30 +0000 (02:34 +0100)]
bzr-svn requires bazaar 0.13.

17 years agoFix checkouts (#65220)
Jelmer Vernooij [Thu, 14 Dec 2006 01:24:40 +0000 (02:24 +0100)]
Fix checkouts (#65220)

17 years agoDon't fetch revision info until necessary (#64850)
Jelmer Vernooij [Wed, 13 Dec 2006 16:27:15 +0000 (17:27 +0100)]
Don't fetch revision info until necessary (#64850)

17 years agoDon't try to open remote checkouts. Fixes #67281
Jelmer Vernooij [Wed, 13 Dec 2006 12:20:27 +0000 (13:20 +0100)]
Don't try to open remote checkouts. Fixes #67281

17 years agoMerge control character fixes.
Jelmer Vernooij [Tue, 12 Dec 2006 21:58:29 +0000 (22:58 +0100)]
Merge control character fixes.

17 years agoEscape control codes in commit messages (#54736)
Jelmer Vernooij [Tue, 12 Dec 2006 19:01:22 +0000 (20:01 +0100)]
Escape control codes in commit messages (#54736)

17 years agoMerge upstream fixes.
Jelmer Vernooij [Tue, 12 Dec 2006 16:35:24 +0000 (17:35 +0100)]
Merge upstream fixes.

17 years agoAdd repository format.
Jelmer Vernooij [Tue, 12 Dec 2006 16:34:30 +0000 (17:34 +0100)]
Add repository format.

17 years agoMerge upstream changes.
Jelmer Vernooij [Tue, 12 Dec 2006 16:04:22 +0000 (17:04 +0100)]
Merge upstream changes.

17 years agoDon't depend on directory being named 'svn'
Jelmer Vernooij [Tue, 12 Dec 2006 16:01:31 +0000 (17:01 +0100)]
Don't depend on directory being named 'svn'

17 years agoBring back caching without reintroducing bug #64831.
Jelmer Vernooij [Thu, 7 Dec 2006 02:12:12 +0000 (03:12 +0100)]
Bring back caching without reintroducing bug #64831.

17 years agoMake create cache function global.
Jelmer Vernooij [Thu, 7 Dec 2006 01:48:31 +0000 (02:48 +0100)]
Make create cache function global.

17 years agoDisable cache for now (slower, but fixes #64831)
Jelmer Vernooij [Thu, 7 Dec 2006 00:04:27 +0000 (01:04 +0100)]
Disable cache for now (slower, but fixes #64831)

17 years agoMove ra context handling into SvnRaTransport to make sure the same ra context
Jelmer Vernooij [Wed, 6 Dec 2006 23:25:50 +0000 (00:25 +0100)]
Move ra context handling into SvnRaTransport to make sure the same ra context
isn't used simultaneously.

17 years agoWarn about incompatible Bazaar versions. Check based on similar code in bzrtools.
Jelmer Vernooij [Wed, 6 Dec 2006 14:46:49 +0000 (15:46 +0100)]
Warn about incompatible Bazaar versions. Check based on similar code in bzrtools.

17 years agoFix compatibility with Bazaar 0.13.
Jelmer Vernooij [Wed, 6 Dec 2006 14:40:27 +0000 (15:40 +0100)]
Fix compatibility with Bazaar 0.13.

17 years agoFix usage with current bzr.dev
Jelmer Vernooij [Thu, 2 Nov 2006 15:05:54 +0000 (16:05 +0100)]
Fix usage with current bzr.dev

17 years agoInitial work on utf8 test
Jelmer Vernooij [Sun, 29 Oct 2006 00:27:53 +0000 (02:27 +0200)]
Initial work on utf8 test

17 years agoAdd note about revprops
Jelmer Vernooij [Mon, 16 Oct 2006 13:34:57 +0000 (15:34 +0200)]
Add note about revprops

17 years agoBump version number to 2, making testsuite version-number-agnostic.
Jelmer Vernooij [Mon, 16 Oct 2006 11:59:48 +0000 (13:59 +0200)]
Bump version number to 2, making testsuite version-number-agnostic.

17 years agoUpdate mapping document for v2
Jelmer Vernooij [Mon, 16 Oct 2006 11:22:14 +0000 (13:22 +0200)]
Update mapping document for v2

17 years agoSet up for 0.2
Jelmer Vernooij [Mon, 16 Oct 2006 10:38:22 +0000 (12:38 +0200)]
Set up for 0.2

17 years agoFix compatibility with bzr.dev after ROOT_ID changes. bzr-svn-0.1
Jelmer Vernooij [Mon, 16 Oct 2006 10:29:38 +0000 (12:29 +0200)]
Fix compatibility with bzr.dev after ROOT_ID changes.

17 years agoDon't warn about bzr properties.
Jelmer Vernooij [Thu, 12 Oct 2006 23:14:32 +0000 (01:14 +0200)]
Don't warn about bzr properties.

17 years agoFix root being added twice (fixes #54131).
Jelmer Vernooij [Wed, 11 Oct 2006 22:15:21 +0000 (00:15 +0200)]
Fix root being added twice (fixes #54131).

17 years agoFix creating branches.
Jelmer Vernooij [Tue, 10 Oct 2006 11:07:15 +0000 (13:07 +0200)]
Fix creating branches.

17 years agoMake sure top-level .bazaar directory exists, update thanks list.
Jelmer Vernooij [Mon, 9 Oct 2006 13:07:53 +0000 (15:07 +0200)]
Make sure top-level .bazaar directory exists, update thanks list.

17 years agoFix test_fetch_replace() test.
Jelmer Vernooij [Mon, 9 Oct 2006 02:51:21 +0000 (04:51 +0200)]
Fix test_fetch_replace() test.

17 years agoFix test_commit_parents() test.
Jelmer Vernooij [Sun, 8 Oct 2006 22:18:52 +0000 (00:18 +0200)]
Fix test_commit_parents() test.

17 years agoAllow None as argument to Repository.has_revision().
Jelmer Vernooij [Sun, 8 Oct 2006 22:18:04 +0000 (00:18 +0200)]
Allow None as argument to Repository.has_revision().

17 years agoFix imports in convert code. Patch by Jan Nieuwenhuizen <janneke@gnu.org>.
Jelmer Vernooij [Sun, 8 Oct 2006 12:46:07 +0000 (14:46 +0200)]
Fix imports in convert code. Patch by Jan Nieuwenhuizen <janneke@gnu.org>.

17 years agoFix deprecation warning.
Jelmer Vernooij [Wed, 23 Aug 2006 19:42:31 +0000 (21:42 +0200)]
Fix deprecation warning.

17 years agoDon't try to create a weave for ROOT_ID.
Jelmer Vernooij [Sun, 13 Aug 2006 12:16:15 +0000 (14:16 +0200)]
Don't try to create a weave for ROOT_ID.

17 years agoUpdate for bzr 0.10
Jelmer Vernooij [Sun, 13 Aug 2006 01:28:14 +0000 (03:28 +0200)]
Update for bzr 0.10

17 years agoAdd UTF-8 issues.
Jelmer Vernooij [Sun, 30 Jul 2006 14:21:23 +0000 (16:21 +0200)]
Add UTF-8 issues.

17 years agoFix what was left of #54350
Jelmer Vernooij [Sun, 30 Jul 2006 13:20:39 +0000 (15:20 +0200)]
Fix what was left of #54350

17 years agoAllow use by versions that don't have svn.ra.reparent()
Jelmer Vernooij [Sun, 30 Jul 2006 12:49:54 +0000 (14:49 +0200)]
Allow use by versions that don't have svn.ra.reparent()

17 years agoAdd test that demonstrates bug in the fetch code (bug #54350).
Jelmer Vernooij [Sun, 30 Jul 2006 12:24:31 +0000 (14:24 +0200)]
Add test that demonstrates bug in the fetch code (bug #54350).

17 years agoDeal with copied branches better (partially fixes #54350).
Jelmer Vernooij [Sun, 30 Jul 2006 12:06:07 +0000 (14:06 +0200)]
Deal with copied branches better (partially fixes #54350).
Add test to check history is kept.

17 years agoFix bug in TrunkBranchingScheme.unprefix() - 'branches' was recognized as a branch.
Jelmer Vernooij [Sun, 30 Jul 2006 11:56:36 +0000 (13:56 +0200)]
Fix bug in TrunkBranchingScheme.unprefix() - 'branches' was recognized as a branch.