Creating svn branch with history starting from the specified svn revision

Asked by Andrew Smolko

I want to use bzr-svn with our quite large svn repository but bzr branch takes too much time to fetch the whole history.
Is it possible to fetch history starting from the specified svn revision?

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Subversion Plugin Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jelmer Vernooij (jelmer) said :
#1

It's not possible at the moment to fetch only a part of the history (bzr doesn't support stacking on non-native branches).

If it's the "fetching revision info" step that is taking a long time, then you can probably speed the process up by setting the use-cache variable in ~/.bazaar/subversion.conf for the relevant repository to False.

Revision history for this message
Andrew Smolko (andrewsmolko) said :
#2

Now I got bzr error: out of memory.
If I don't need the history before some revision, would it be possible to begin fetch from it like if it was revision 1?

Revision history for this message
Jelmer Vernooij (jelmer) said :
#3

No, that's not possible at the moment.

Are you branching from the actual branch, or perhaps from the repository root? If the latter, then please use "bzr svn-import".

Revision history for this message
Andrew Smolko (andrewsmolko) said :
#4

I'm braching from trunk, not from the root.

Is it possible to implement this feature? Or there are some architectural difficulties?
Maybe if you pointed me the necessary places in bzr-svn sources, I could implement it myself.

Revision history for this message
Jelmer Vernooij (jelmer) said :
#5

Are you sure that the amount of memory used is actually caused by the fact that the history is this big?

In general, bzr-svn should just take longer for larger histories, it shouldn't be using more memory.

Does the branch perhaps contain very large files?

It requires a significant amount of work (mostly in bzr itself, not bzr-svn) to support partial history.

Revision history for this message
Andrew Smolko (andrewsmolko) said :
#6

Yeah, there are some large files of size about 200-300 mb.
Need 64bit bzr...

Revision history for this message
Jelmer Vernooij (jelmer) said :
#7

It should be much easier to get a hold of a 64-bit bzr than to support partial fetches.

Can you help with this problem?

Provide an answer of your own, or ask Andrew Smolko for more information if necessary.

To post a message you must log in.