howto manage remote tree with no bzr installed?

Asked by Amit Aronovitch

Problem:

Want to work (edit, compile and commit) on a project using a remote machine where there is no bzr installed (a server account with no root access, too old version of python, and limited storage - so installing my own python+bzr is wasteful), but has fast ssh connection to the local machine.

Theoretically this could be easily achieved by typing all the bzr commands on a local terminal, using the sftp: protocol (thats the fun part about having a smart client VCS). However, seems that push refuses to manage remote trees with this protocol. Can not use the update plugin because the server does not have bzr installed.

Is there some other way to do this?

Question information

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

Sorry, we don't support this yet. I agree it would be useful.

--
Martin

Revision history for this message
Amit Aronovitch (aronovitch) said :
#2

In that case, I guess we could write a wrapper script that caches a local tree (maybe in /tmp/) and rsyncs the inventory from/to the server copy before each operation. I might do that if manual syncing turns out to be too annoying.
(Then again, I'm not sure if it would be cost-effective, compared to implementing the missing protocols in bzr...)

Revision history for this message
Amit Aronovitch (aronovitch) said :
#3

Thanks Martin Pool, that solved my question.

Revision history for this message
Vincent Ladeuil (vila) said :
#4

Can't you mount your working tree with sshfs (fuse) in one direction or the other ?
Then you can edit/compile on the server and commit on the client.