How to update a remote branch / checkout?

Asked by Jesse

I'm mirroring the chromium subversion trunk (damn that SVN is HUGE) on my linux laptop, but bazaar would so often OOM. So I started out with a workaround by firing up this on a server with 32G mem:
$ bzr co http://src.chromium.org/svn/trunk bzr+ssh://jesse@jesse-laptop/home/jesse/c2/svnco -v
however, branch/checkout seems to be the only bazaar commands that supports a "where to" argument.
To avoid the huge tree I created a bound branch locally without a working tree.
What I'm trying to do after that is to issue "pull" on my local checkout and it would most often succeed. However I'm really frustrated by the fact that
a) "pull" doesn't support a "where to" argument
b) "update" requires a working tree.

Now that after a few days lagging behind, bazaar would OOM me again on just pulling new changes from Chromium's SVN repo, and now I don't seem to have a way to utilize the 32G server to _incrementally_ update my local branch?
Is there another way other than starting over from bzr co http://svn bzr+ssh://jesse-laptop/somerepo/svn again?

Thanks! Wish you all a merry Christmas

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
Jesse
Solved:
Last query:
Last reply:
Revision history for this message
Jesse (sbjesse) said :
#1

another restriction is that i don't have enough local storage quota on the server with enough ram... so i have to do everything over the network...

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Martin Pool (mbp) said :
#3

Hi,

Sorry, I wasn't answering support questions over Christmas. :-)

The short answer is that 'bzr pull -d DIR' means "do a pull in that directory". The directory can be remote, but bzr never touches remote working trees.

What will probably work, if I understand your constraints correctly, is

 on the server: bzr pull -d LAPTOP_URL SVN_URL
 then on the laptop: bzr update

the first will fetch new data onto the laptop, doing the processing on the server. The second will update the tree.

Revision history for this message
Jesse (sbjesse) said :
#4

thank you martin! that clears my doubts!
merry belated xmas & happy new year!

Revision history for this message
Jesse (sbjesse) said :
#5

i'm no longer able to change the question status to "answered" ...

Revision history for this message
Jesse (sbjesse) said :
#6

i'm no longer able to change the question status to "answered" ...

Revision history for this message
Jesse (sbjesse) said :
#7

oh it needs some text: martin you answered my question ...