Work around the fact that subversion only considers files for commit that have an...
[jelmer/subvertpy.git] / FAQ
1 =================================================================
2 Bazaar is using a lot of memory accessing a Subversion repository
3 =================================================================
4 bzr-svn can use a lot of memory cloning big branches. The problem appears to be 
5 caused both by a memory leak in the python-subversion bindings or Subversion
6 (the svn_ra_get_log() function) and the memory overhead from Bazaar.
7
8 Newer versions of Subversion (1.5 especially) use significantly less memory 
9 than older versions (though they still seem to leak).
10
11 The easiest way to work around this problem is to Ctrl+C the branch operation 
12 and restart it.
13
14 More information can be found in the bug report at 
15 https://launchpad.net/bugs/54253
16
17 ==============================================================================
18 I am unable to access a repository that requires user/password authentication.
19 ==============================================================================
20 bzr-svn doesn't support prompting for passwords yet, but it can 
21 use passwords cached by Subversion. Subversion can be forced to cache 
22 the password by accessing the repository using the Subversion command-line 
23 client. For example, try running 'svn info <url>'.
24
25 ==============================================================================
26 Trying to branch into repository gives prints an error about incompatibility.
27 ==============================================================================
28
29 Creating a repository and then trying to clone a Subversion branch into 
30 that repository may cause the following error:
31
32 ::
33
34   bzr: ERROR: Repository KnitRepository is not compatible with repository SvnRepository
35
36 bzr-svn requires a repository format that supports recording root file ids. To 
37 upgrade the repository, run: 
38
39 ::
40
41   $ bzr upgrade --dirstate-with-subtree
42
43 ===========================================================================
44 Pushing a branch that didn't exist in Subversion yet with `bzr push` fails.
45 ===========================================================================
46 At the moment, only `bzr svn-push` can be used to push new branches into 
47 Subversion. 
48
49 More information can be found in the bug report at:
50 https://bugs.launchpad.net/bzr-svn/+bug/127945.
51
52 ==============================================
53 Cloning a large Subversion branch is very slow
54 ==============================================
55 There is no way around this at the moment, because Bazaar has to import all 
56 the history from the Subversion branch as it doesn't support so-called 
57 history horizons yet. 
58
59 More information about history horizons can be found at:
60 http://bazaar-vcs.org/HistoryHorizon
61
62 =====================================================
63 The Bazaar revno's differ from the Subversion revno's
64 =====================================================
65 That's right. Bazaar revision numbers are per-branch, whereas Subversion revno's are per-repository.
66
67 =========================================================================
68 Bazaar reports branches have diverged while pulling, when they haven't
69 =========================================================================
70 As of version 0.4, bzr-svn creates revisions with different revision ids than 
71 previous versions. In other words, existing bzr-svn branches created with 
72 0.3.x can not be used directly with 0.4.0 but will have to be upgraded to 
73 work with 0.4.0 using the "bzr svn-upgrade" command. The bzr-rebase package 
74 has to be installed for this command to work correctly.